19 #ifndef _IDENTIFYDLG_H_
20 #define _IDENTIFYDLG_H_
29 #define SYMBOL_IDENTIFYDIALOG_STYLE wxCAPTION|wxRESIZE_BORDER|wxSYSTEM_MENU|wxCLOSE_BOX
30 #define SYMBOL_IDENTIFYDIALOG_TITLE _("Identify Dialog")
31 #define SYMBOL_IDENTIFYDIALOG_IDNAME 10000
32 #define SYMBOL_IDENTIFYDIALOG_SIZE wxSize(500, 100)
33 #define SYMBOL_IDENTIFYDIALOG_POSITION wxDefaultPosition
34 #define ID_IDENT_LISTBOX 10001
35 #define ID_IDENT_HIDE 10002
36 #define ID_IDENT_UPDATE 10003
40 #define wxCLOSE_BOX 0x1000
42 #ifndef wxFIXED_MINSIZE
43 #define wxFIXED_MINSIZE 0
57 IdentifyDialog( wxWindow* parent, wxWindowID
id = SYMBOL_IDENTIFYDIALOG_IDNAME,
const wxString& caption = SYMBOL_IDENTIFYDIALOG_TITLE,
const wxPoint& pos = SYMBOL_IDENTIFYDIALOG_POSITION,
const wxSize& size = SYMBOL_IDENTIFYDIALOG_SIZE,
long style =
SYMBOL_IDENTIFYDIALOG_STYLE );
62 bool Create( wxWindow* parent, wxWindowID
id = SYMBOL_IDENTIFYDIALOG_IDNAME,
const wxString& caption = SYMBOL_IDENTIFYDIALOG_TITLE,
const wxPoint& pos = SYMBOL_IDENTIFYDIALOG_POSITION,
const wxSize& size = SYMBOL_IDENTIFYDIALOG_SIZE,
long style =
SYMBOL_IDENTIFYDIALOG_STYLE );
71 void hide( wxCommandEvent& );
72 void OnCloseWindow( wxCloseEvent& event );
73 void Update( wxCommandEvent& );
74 void OnActivate( wxActivateEvent& windowevent );
78 void OnSize( wxSizeEvent& WXUNUSED( event ) );
91 wxListBox* m_objectsList;
98 #endif // _IDENTIFYDLG_H_
IdentifyDialog()
Constructors.
bool Create(wxWindow *parent, wxWindowID id=SYMBOL_IDENTIFYDIALOG_IDNAME, const wxString &caption=SYMBOL_IDENTIFYDIALOG_TITLE, const wxPoint &pos=SYMBOL_IDENTIFYDIALOG_POSITION, const wxSize &size=SYMBOL_IDENTIFYDIALOG_SIZE, long style=SYMBOL_IDENTIFYDIALOG_STYLE)
Creation.
void Init(a2dCanvasObject *showObject)
selected child objects with this as parent will be shown
static bool ShowToolTips()
Should we show tooltips?
The base class for all drawable objects in a a2dCanvasDocument.
wxBitmap GetBitmapResource(const wxString &name)
Retrieves bitmap resources.
a2dCanvasObject is the base class for Canvas Objects.
wxIcon GetIconResource(const wxString &name)
Retrieves icon resources.
void CreateControls()
Creates the controls and sizers.
a2dCanvasObject * m_showObject
selected child objects with this as parent will be shown
#define SYMBOL_IDENTIFYDIALOG_STYLE
Event sent to a2dCommandProcessor.