|
| | a2dEditorFrame () |
| | this makes dynamic creation possible ( e.g. a derived a2dEditorFrame ) More...
|
| |
|
| a2dEditorFrame (bool isParent, wxFrame *parent, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE) |
| |
|
bool | Create (bool createCanvas, bool isParent, wxFrame *parent, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE) |
| | delayed creation of window.
|
| |
|
void | Init () |
| | initialize
|
| |
|
void | Theme (const wxString &themeName=wxT("default")) |
| | setup menu
|
| |
|
virtual void | CreateStatusBarThemed (const wxString &themeName=wxT("default")) |
| |
|
void | SetupToolbar () |
| |
|
wxMenu * | GetEditMenu () |
| | return edit menu to set Undo and Redo commands
|
| |
|
void | Update () |
| |
|
void | ConnectDocument (a2dCanvasDocument *doc, a2dCanvasView *drawer=NULL) |
| |
|
a2dDrawingPart * | GetDrawingPart () |
| |
|
void | SetDrawingPart (a2dDrawingPart *part) |
| |
|
a2dStToolContr * | GetToolController () |
| | get active controller set on a a2dCanvasView in this frame
|
| |
|
void | SetToolController (a2dStToolContr *contr) |
| | set active controller set on a a2dCanvasView in this frame
|
| |
| void | AddFunctionToMenu (int id, wxMenu *parentMenu, const wxString &text, const wxString &helpString, wxObjectEventFunctionM func, bool check=false) |
| | add a menu which executes a function More...
|
| |
|
void | RemoveFromMenu (int id, wxMenu *parentMenu, wxObjectEventFunctionM func) |
| |
|
void | SetToolDragingMode (wxCommandEvent &event) |
| |
|
void | SetToolDrawingMode (wxCommandEvent &event) |
| |
|
void | OnUndoEvent (a2dCommandProcessorEvent &event) |
| |
|
void | OnDoEvent (a2dCommandProcessorEvent &event) |
| |
|
void | OnActivate (wxActivateEvent &event) |
| | intercepted to initialize redo and undo menu's
|
| |
|
void | OnSetmenuStrings (a2dCommandProcessorEvent &event) |
| | handler for event to set undo redo menustrings
|
| |
|
void | OnCloseWindow (wxCloseEvent &event) |
| | called on Close window
|
| |
|
void | OnComEvent (a2dComEvent &event) |
| |
|
void | OnUndo (wxCommandEvent &event) |
| |
|
void | OnRedo (wxCommandEvent &event) |
| |
|
void | Quit (wxCommandEvent &event) |
| |
|
void | OnAbout (wxCommandEvent &event) |
| |
|
void | ShowLibs (wxCommandEvent &event) |
| |
|
void | PlaceFromLibByRef () |
| |
|
void | PlaceFromLibByCopy () |
| |
|
void | OnMenu (wxCommandEvent &event) |
| |
|
void | CreateThemeTest () |
| |
|
void | CreateThemeDefault () |
| |
|
void | CreateThemeXRC () |
| |
|
| a2dDocumentFrame () |
| | Constructor for two step creation, call a2dDocumentFrame::Create later.
|
| |
| | a2dDocumentFrame (bool parentFrame, wxWindow *frame, a2dView *view=NULL, wxWindowID id=-1, const wxString &title=wxT("a2dDocumentFrame"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxT("frame")) |
| | constructor More...
|
| |
|
| a2dDocumentFrame (wxWindow *frame, wxWindowID id=-1, const wxString &title=wxT("a2dDocumentFrame"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxT("frame")) |
| | wxFrame compatible constructor
|
| |
| bool | Create (bool parentFrame, wxWindow *frame, a2dView *view=NULL, wxWindowID id=-1, const wxString &title=wxT("a2dDocumentFrame"), const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_FRAME_STYLE, const wxString &name=wxT("frame")) |
| | Constructor for two-step-creation (2nd step) More...
|
| |
|
| ~a2dDocumentFrame () |
| | destructor
|
| |
|
void | SetDestroyOnCloseView (bool destroyOnCloseView) |
| |
| void | SetView (a2dView *view) |
| | set a pointer to a a2dView to sent view events to. More...
|
| |
|
a2dView * | GetView () |
| | get the pointer to a a2dView to which view events are sent
|
| |
| bool | ProcessEvent (wxEvent &event) |
| | Modified event handler to also sent event to a2dView or wxDocviewCommonEvents. More...
|
| |
|
bool | ProcessConnectedEvent (wxEvent &event) |
| |
|
void | ConnectEvent (wxEventType type, wxEvtHandler *evtObject) |
| |
|
bool | DisconnectEvent (wxEventType type, wxEvtHandler *evtObject) |
| |
|
bool | GetIsParentFrame () |
| |
|
void | SetIsParentFrame (bool parentFrame) |
| |
| virtual void | OnDraw (wxDC &dc) |
| | Override this function to draw the graphic (or just process EVT_PAINT) More...
|
| |
|
void | AddCmdToToolbar (const a2dMenuIdItem &cmdId) |
| | add items to toolbar using a predefined command ID.
|
| |
|
void | ConnectCmdId (const a2dMenuIdItem &cmdId) |
| |
| void | AddCmdMenu (wxMenu *parentMenu, const a2dMenuIdItem &cmdId) |
| | add a menu to the parent menu, and connect it to the eventhandler of the frame More...
|
| |
| void | AddCmdMenu (wxMenu *parentMenu, wxMenuItem *item) |
| |
| void | RemoveCmdMenu (wxMenu *parentMenu, const a2dMenuIdItem &cmdId) |
| | remove a command menu from the parent menu. More...
|
| |
| void | OnExecuteCommand (wxCommandEvent &event) |
| |
| void | OnCmdMenuId (wxCommandEvent &event) |
| |
sepcialized Frame for editor of a2dCanvas
Definition at line 117 of file canedit.h.