KiCad PCB EDA Suite
dialog_annotate.cpp File Reference

Annotation dialog functions. More...

#include <fctsys.h>
#include <schframe.h>
#include <class_drawpanel.h>
#include <bitmaps.h>
#include <invoke_sch_dialog.h>
#include <dialog_annotate_base.h>
#include <kiface_i.h>

Go to the source code of this file.

Macros

#define KEY_ANNOTATE_SORT_OPTION   wxT( "AnnotateSortOption" )
 
#define KEY_ANNOTATE_ALGO_OPTION   wxT( "AnnotateAlgoOption" )
 
#define KEY_ANNOTATE_KEEP_OPEN_OPTION   wxT( "AnnotateKeepOpenOption" )
 
#define KEY_ANNOTATE_ASK_FOR_CONFIRMATION   wxT( "AnnotateRequestConfirmation" )
 

Functions

int InvokeDialogAnnotate (SCH_EDIT_FRAME *aCaller, wxString message)
 Create and show DIALOG_ANNOTATE and return whatever DIALOG_ANNOTATE::ShowModal() returns. More...
 

Detailed Description

Annotation dialog functions.

Definition in file dialog_annotate.cpp.

Macro Definition Documentation

#define KEY_ANNOTATE_ALGO_OPTION   wxT( "AnnotateAlgoOption" )

Definition at line 41 of file dialog_annotate.cpp.

#define KEY_ANNOTATE_ASK_FOR_CONFIRMATION   wxT( "AnnotateRequestConfirmation" )

Definition at line 43 of file dialog_annotate.cpp.

#define KEY_ANNOTATE_KEEP_OPEN_OPTION   wxT( "AnnotateKeepOpenOption" )

Definition at line 42 of file dialog_annotate.cpp.

#define KEY_ANNOTATE_SORT_OPTION   wxT( "AnnotateSortOption" )

Definition at line 40 of file dialog_annotate.cpp.

Function Documentation

int InvokeDialogAnnotate ( SCH_EDIT_FRAME aCaller,
wxString  message = "" 
)

Create and show DIALOG_ANNOTATE and return whatever DIALOG_ANNOTATE::ShowModal() returns.

Definition at line 316 of file dialog_annotate.cpp.

Referenced by SCH_EDIT_FRAME::OnAnnotate(), and SCH_EDIT_FRAME::prepareForNetlist().

317 {
318  DIALOG_ANNOTATE dlg( aCaller, message );
319 
320  return dlg.ShowModal();
321 }