27 m_pOldEditor(old_editor),
33 m_pProject(event.m_pProject),
34 m_pEditor(event.m_pEditor),
35 m_pOldEditor(event.m_pOldEditor),
36 m_pPlugin(event.m_pPlugin),
53 int GetX()
const {
return m_X; }
54 void SetX(
int x) { m_X = x; }
56 int GetY()
const {
return m_Y; }
57 void SetY(
int y) { m_Y = y; }
100 desiredSize(100, 100),
101 floatingSize(150, 150),
103 floatingPos(200, 150),
104 dockSide(dsUndefined),
118 pWindow(rhs.pWindow),
119 desiredSize(rhs.desiredSize),
120 floatingSize(rhs.floatingSize),
121 minimumSize(rhs.minimumSize),
122 floatingPos(rhs.floatingPos),
123 dockSide(rhs.dockSide),
127 stretch(rhs.stretch),
128 hideable(rhs.hideable),
166 :
wxEvent(rhs), layout(rhs.layout)
221 SetString(GetString().c_str());
236 #define CodeBlocksThreadEventHandler(func) \ 237 (wxObjectEventFunction)(wxEventFunction) \ 238 wxStaticCastEvent(CodeblocksThreadEventFunction, &func) 241 #define EVT_CODEBLOCKS_THREAD(id, fn) \ 242 DECLARE_EVENT_TABLE_ENTRY(wxEVT_COMMAND_MENU_SELECTED, id, wxID_ANY, \ 243 (wxObjectEventFunction) (wxEventFunction) (CodeblocksThreadEventFunction) \ 244 wxStaticCastEvent( ThreadEventFunction, & fn ), (wxObject *) NULL ), 252 #define EVT_APP_STARTUP_DONE(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_APP_STARTUP_DONE, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 254 #define EVT_APP_START_SHUTDOWN(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_APP_START_SHUTDOWN, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 256 #define EVT_APP_ACTIVATED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_APP_ACTIVATED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 258 #define EVT_APP_DEACTIVATED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_APP_DEACTIVATED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 260 #define EVT_APP_CMDLINE(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_APP_CMDLINE, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 265 #define EVT_PLUGIN_ATTACHED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PLUGIN_ATTACHED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 267 #define EVT_PLUGIN_RELEASED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PLUGIN_RELEASED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 269 #define EVT_PLUGIN_INSTALLED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PLUGIN_INSTALLED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 271 #define EVT_PLUGIN_UNINSTALLED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PLUGIN_UNINSTALLED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 273 #define EVT_PLUGIN_LOADING_COMPLETE(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PLUGIN_LOADING_COMPLETE, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 277 #define EVT_EDITOR_CLOSE(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_EDITOR_CLOSE, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 279 #define EVT_EDITOR_OPEN(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_EDITOR_OPEN, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 281 #define EVT_EDITOR_SWITCHED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_EDITOR_SWITCHED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 283 #define EVT_EDITOR_ACTIVATED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_EDITOR_ACTIVATED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 285 #define EVT_EDITOR_DEACTIVATED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_EDITOR_DEACTIVATED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 287 #define EVT_EDITOR_BEFORE_SAVE(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_EDITOR_BEFORE_SAVE, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 289 #define EVT_EDITOR_SAVE(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_EDITOR_SAVE, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 291 #define EVT_EDITOR_MODIFIED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_EDITOR_MODIFIED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 293 #define EVT_EDITOR_TOOLTIP(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_EDITOR_TOOLTIP, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 295 #define EVT_EDITOR_TOOLTIP_CANCEL(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_EDITOR_TOOLTIP_CANCEL, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 297 #define EVT_EDITOR_SPLIT(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_EDITOR_SPLIT, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 299 #define EVT_EDITOR_UNSPLIT(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_EDITOR_UNSPLIT, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 301 #define EVT_EDITOR_UPDATE_UI(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_EDITOR_UPDATE_UI, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 304 #define EVT_EDITOR_CC_DONE(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_EDITOR_CC_DONE, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 308 #define EVT_PROJECT_NEW(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PROJECT_NEW, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 310 #define EVT_PROJECT_CLOSE(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PROJECT_CLOSE, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 312 #define EVT_PROJECT_OPEN(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PROJECT_OPEN, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 314 #define EVT_PROJECT_SAVE(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PROJECT_SAVE, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 316 #define EVT_PROJECT_ACTIVATE(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PROJECT_ACTIVATE, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 318 #define EVT_PROJECT_BEGIN_ADD_FILES(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PROJECT_BEGIN_ADD_FILES, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 320 #define EVT_PROJECT_END_ADD_FILES(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PROJECT_END_ADD_FILES, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 322 #define EVT_PROJECT_BEGIN_REMOVE_FILES(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PROJECT_BEGIN_REMOVE_FILES, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 324 #define EVT_PROJECT_END_REMOVE_FILES(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PROJECT_END_REMOVE_FILES, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 326 #define EVT_PROJECT_FILE_ADDED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PROJECT_FILE_ADDED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 328 #define EVT_PROJECT_FILE_REMOVED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PROJECT_FILE_REMOVED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 330 #define EVT_PROJECT_FILE_CHANGED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PROJECT_FILE_CHANGED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 332 #define EVT_PROJECT_POPUP_MENU(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PROJECT_POPUP_MENU, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 334 #define EVT_PROJECT_TARGETS_MODIFIED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PROJECT_TARGETS_MODIFIED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 336 #define EVT_PROJECT_RENAMED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PROJECT_RENAMED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 338 #define EVT_PROJECT_OPTIONS_CHANGED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PROJECT_OPTIONS_CHANGED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 340 #define EVT_WORKSPACE_CHANGED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_WORKSPACE_CHANGED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 342 #define EVT_WORKSPACE_LOADING_COMPLETE(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_WORKSPACE_LOADING_COMPLETE, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 344 #define EVT_WORKSPACE_CLOSING_BEGIN(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_WORKSPACE_CLOSING_BEGIN, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 346 #define EVT_WORKSPACE_CLOSING_COMPLETE(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_WORKSPACE_CLOSING_COMPLETE, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 350 #define EVT_BUILDTARGET_ADDED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_BUILDTARGET_ADDED, -1, -1, (wxObjectEventFunction) (wxEventFunction) (CodeBlocksEventFunction) & fn, (wxObject *) NULL ), 352 #define EVT_BUILDTARGET_REMOVED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_BUILDTARGET_REMOVED, -1, -1, (wxObjectEventFunction) (wxEventFunction) (CodeBlocksEventFunction) & fn, (wxObject *) NULL ), 354 #define EVT_BUILDTARGET_RENAMED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_BUILDTARGET_RENAMED, -1, -1, (wxObjectEventFunction) (wxEventFunction) (CodeBlocksEventFunction) & fn, (wxObject *) NULL ), 356 #define EVT_BUILDTARGET_SELECTED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_BUILDTARGET_SELECTED, -1, -1, (wxObjectEventFunction) (wxEventFunction) (CodeBlocksEventFunction) & fn, (wxObject *) NULL ), 360 #define EVT_PIPEDPROCESS_STDOUT(id, fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PIPEDPROCESS_STDOUT, id, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) & fn, (wxObject *) NULL ), 361 #define EVT_PIPEDPROCESS_STDOUT_RANGE(id, id1, fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PIPEDPROCESS_STDOUT, id, id1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) & fn, (wxObject *) NULL ), 363 #define EVT_PIPEDPROCESS_STDERR(id, fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PIPEDPROCESS_STDERR, id, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) & fn, (wxObject *) NULL ), 364 #define EVT_PIPEDPROCESS_STDERR_RANGE(id, id1, fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PIPEDPROCESS_STDERR, id, id1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) & fn, (wxObject *) NULL ), 366 #define EVT_PIPEDPROCESS_TERMINATED(id, fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PIPEDPROCESS_TERMINATED, id, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) (wxNotifyEventFunction) (CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 367 #define EVT_PIPEDPROCESS_TERMINATED_RANGE(id, id1, fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_PIPEDPROCESS_TERMINATED, id, id1, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) & fn, (wxObject *) NULL ), 371 #define EVT_THREADTASK_STARTED(id, fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_THREADTASK_STARTED, id, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) & fn, (wxObject *) NULL ), 373 #define EVT_THREADTASK_ENDED(id, fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_THREADTASK_ENDED, id, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) & fn, (wxObject *) NULL ), 375 #define EVT_THREADTASK_ALLDONE(id, fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_THREADTASK_ALLDONE, id, wxID_ANY, (wxObjectEventFunction) (wxEventFunction) (wxCommandEventFunction) & fn, (wxObject *) NULL ), 379 #define EVT_ADD_DOCK_WINDOW(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_ADD_DOCK_WINDOW, -1, -1, (wxObjectEventFunction) (wxEventFunction) (CodeBlocksDockEventFunction) & fn, (wxObject *) NULL ), 382 #define EVT_REMOVE_DOCK_WINDOW(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_REMOVE_DOCK_WINDOW, -1, -1, (wxObjectEventFunction) (wxEventFunction) (CodeBlocksDockEventFunction) & fn, (wxObject *) NULL ), 385 #define EVT_SHOW_DOCK_WINDOW(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_SHOW_DOCK_WINDOW, -1, -1, (wxObjectEventFunction) (wxEventFunction) (CodeBlocksDockEventFunction) & fn, (wxObject *) NULL ), 388 #define EVT_HIDE_DOCK_WINDOW(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_HIDE_DOCK_WINDOW, -1, -1, (wxObjectEventFunction) (wxEventFunction) (CodeBlocksDockEventFunction) & fn, (wxObject *) NULL ), 392 #define EVT_DOCK_WINDOW_VISIBILITY(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_DOCK_WINDOW_VISIBILITY, -1, -1, (wxObjectEventFunction) (wxEventFunction) (CodeBlocksDockEventFunction) & fn, (wxObject *) NULL ), 395 #define EVT_UPDATE_VIEW_LAYOUT(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_UPDATE_VIEW_LAYOUT, -1, -1, (wxObjectEventFunction) (wxEventFunction) (CodeBlocksLayoutEventFunction) & fn, (wxObject *) NULL ), 398 #define EVT_QUERY_VIEW_LAYOUT(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_QUERY_VIEW_LAYOUT, -1, -1, (wxObjectEventFunction) (wxEventFunction) (CodeBlocksLayoutEventFunction) & fn, (wxObject *) NULL ), 401 #define EVT_SWITCH_VIEW_LAYOUT(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_SWITCH_VIEW_LAYOUT, -1, -1, (wxObjectEventFunction) (wxEventFunction) (CodeBlocksLayoutEventFunction) & fn, (wxObject *) NULL ), 404 #define EVT_SWITCHED_VIEW_LAYOUT(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_SWITCHED_VIEW_LAYOUT, -1, -1, (wxObjectEventFunction) (wxEventFunction) (CodeBlocksLayoutEventFunction) & fn, (wxObject *) NULL ), 407 #define EVT_MENUBAR_CREATE_BEGIN(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_MENUBAR_CREATE_BEGIN, -1, -1, (wxObjectEventFunction) (wxEventFunction) (CodeBlocksEventFunction) & fn, (wxObject *) NULL ), 410 #define EVT_MENUBAR_CREATE_END(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_MENUBAR_CREATE_END, -1, -1, (wxObjectEventFunction) (wxEventFunction) (CodeBlocksEventFunction) & fn, (wxObject *) NULL ), 414 #define EVT_COMPILER_STARTED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_COMPILER_STARTED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 416 #define EVT_COMPILER_FINISHED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_COMPILER_FINISHED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 418 #define EVT_COMPILER_SET_BUILD_OPTIONS(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_COMPILER_SET_BUILD_OPTIONS, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 420 #define EVT_CLEAN_PROJECT_STARTED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_CLEAN_PROJECT_STARTED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 422 #define EVT_CLEAN_WORKSPACE_STARTED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_CLEAN_WORKSPACE_STARTED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 424 #define EVT_COMPILER_SETTINGS_CHANGED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_COMPILER_SETTINGS_CHANGED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 428 #define EVT_COMPILE_FILE_REQUEST(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_COMPILE_FILE_REQUEST, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 432 #define EVT_DEBUGGER_STARTED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_DEBUGGER_STARTED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 434 #define EVT_DEBUGGER_PAUSED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_DEBUGGER_PAUSED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 436 #define EVT_DEBUGGER_FINISHED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_DEBUGGER_FINISHED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 442 #define EVT_ADD_LOG_WINDOW(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_ADD_LOG_WINDOW, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksLogEventFunction)&fn, (wxObject *) NULL ), 445 #define EVT_REMOVE_LOG_WINDOW(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_REMOVE_LOG_WINDOW, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksLogEventFunction)&fn, (wxObject *) NULL ), 448 #define EVT_HIIDE_LOG_WINDOW(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_HIDE_LOG_WINDOW, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksLogEventFunction)&fn, (wxObject *) NULL ), 451 #define EVT_SWITCH_TO_LOG_WINDOW(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_SWITCH_TO_LOG_WINDOW, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksLogEventFunction)&fn, (wxObject *) NULL ), 454 #define EVT_GET_ACTIVE_LOG_WINDOW(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_GET_ACTIVE_LOG_WINDOW, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksLogEventFunction)&fn, (wxObject *) NULL ), 457 #define EVT_SHOW_LOG_MANAGER(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_SHOW_LOG_MANAGER, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksLogEventFunction)&fn, (wxObject *) NULL ), 460 #define EVT_HIDE_LOG_MANAGER(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_HIDE_LOG_MANAGER, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksLogEventFunction)&fn, (wxObject *) NULL ), 463 #define EVT_LOCK_LOG_MANAGER(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_LOCK_LOG_MANAGER, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksLogEventFunction)&fn, (wxObject *) NULL ), 466 #define EVT_UNLOCK_LOG_MANAGER(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_UNLOCK_LOG_MANAGER, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksLogEventFunction)&fn, (wxObject *) NULL ), 471 #define EVT_CBAUIBOOK_LEFT_DCLICK(winid, fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_CBAUIBOOK_LEFT_DCLICK, winid, -1, (wxObjectEventFunction)(wxEventFunction)(wxMouseEventFunction)&fn, (wxObject *) NULL ), 475 #define EVT_COMPLETE_CODE(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_COMPLETE_CODE, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 477 #define EVT_SHOW_CALL_TIP(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_SHOW_CALL_TIP, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 494 #define EVT_SETTINGS_CHANGED(fn) DECLARE_EVENT_TABLE_ENTRY( cbEVT_SETTINGS_CHANGED, -1, -1, (wxObjectEventFunction)(wxEventFunction)(CodeBlocksEventFunction)&fn, (wxObject *) NULL ), 496 #endif // SDK_EVENTS_H wxString name
Dock's name. Must be unique. If empty, a unique name will be assigned.
CodeBlocksLayoutEvent(const CodeBlocksLayoutEvent &rhs)
const wxString & GetOldBuildTargetName() const
EVTIMPORT const wxEventType cbEVT_BUILDTARGET_RENAMED
EVTIMPORT const wxEventType cbEVT_PROJECT_FILE_ADDED
EVTIMPORT const wxEventType cbEVT_WORKSPACE_CLOSING_COMPLETE
EVTIMPORT const wxEventType cbEVT_PROJECT_END_ADD_FILES
EVTIMPORT const wxEventType cbEVT_PROJECT_RENAMED
EVTIMPORT const wxEventType cbEVT_EDITOR_CC_DONE
EVTIMPORT const wxEventType cbEVT_PROJECT_NEW
EVTIMPORT const wxEventType cbEVT_UNLOCK_LOG_MANAGER
int row
The row to dock it.
EVTIMPORT const wxEventType cbEVT_APP_START_SHUTDOWN
EVTIMPORT const wxEventType cbEVT_HIDE_DOCK_WINDOW
wxString title
Dock's title.
wxWindow * window
A non-logger window. Needed at least by cbEVT_REMOVE_LOG_WINDOW.
void(wxEvtHandler::* CodeBlocksDockEventFunction)(CodeBlocksDockEvent &)
EVTIMPORT const wxEventType cbEVT_SWITCH_VIEW_LAYOUT
CodeBlocksThreadEvent(const CodeBlocksThreadEvent &event)
void SetBuildTargetName(const wxString &target)
EVTIMPORT const wxEventType cbEVT_COMPILER_FINISHED
EVTIMPORT const wxEventType cbEVT_CLEAN_PROJECT_STARTED
EVTIMPORT const wxEventType cbEVT_WORKSPACE_CLOSING_BEGIN
wxString layout
Layout's name.
EVTIMPORT const wxEventType cbEVT_PLUGIN_ATTACHED
EVTIMPORT const wxEventType cbEVT_HIDE_LOG_WINDOW
CodeBlocksThreadEvent(wxEventType eventType=wxEVT_NULL, int id=wxID_ANY)
wxWindow * pWindow
The window to dock.
EVTIMPORT const wxEventType cbEVT_PIPEDPROCESS_STDOUT
EVTIMPORT const wxEventType cbEVT_ADD_DOCK_WINDOW
void SetPlugin(cbPlugin *plugin)
EVTIMPORT const wxEventType cbEVT_BUILDTARGET_SELECTED
wxPoint floatingPos
The desired floating position.
wxEvent * Clone() const override
EVTIMPORT const wxEventType cbEVT_COMPILER_SETTINGS_CHANGED
EVTIMPORT const wxEventType cbEVT_PLUGIN_RELEASED
EVTIMPORT const wxEventType cbEVT_PROJECT_ACTIVATE
Event used to request from the main app to add a log.
Event used to request from the main app to add a window to the docking system.
EVTIMPORT const wxEventType cbEVT_UPDATE_VIEW_LAYOUT
EVTIMPORT const wxEventType cbEVT_SETTINGS_CHANGED
EVTIMPORT const wxEventType cbEVT_DEBUGGER_STARTED
cbProject * GetProject() const
cbPlugin * GetPlugin() const
wxSize minimumSize
The minimum allowed size.
EVTIMPORT const wxEventType cbEVT_PROJECT_BEGIN_ADD_FILES
The base class for all kinds of loggers, see loggers.h for its derived classes.
void(wxEvtHandler::* CodeBlocksEventFunction)(CodeBlocksEvent &)
bool asTab
Add this window as a tab of an existing docked window (NOT IMPLEMENTED).
void(wxEvtHandler::* CodeBlocksLayoutEventFunction)(CodeBlocksLayoutEvent &)
EVTIMPORT const wxEventType cbEVT_PROJECT_OPTIONS_CHANGED
EVTIMPORT const wxEventType cbEVT_PROJECT_SAVE
EVTIMPORT const wxEventType cbEVT_EDITOR_SPLIT
EVTIMPORT const wxEventType cbEVT_APP_CMDLINE
EVTIMPORT const wxEventType cbEVT_PIPEDPROCESS_TERMINATED
EditorBase * GetEditor() const
EVTIMPORT const wxEventType cbEVT_THREADTASK_ALLDONE
wxEvent * Clone() const override
EditorBase * GetOldEditor() const
EVTIMPORT const wxEventType cbEVT_SHOW_CALL_TIP
EVTIMPORT const wxEventType cbEVT_COMPILER_SET_BUILD_OPTIONS
CodeBlocksDockEvent(const CodeBlocksDockEvent &rhs)
EVTIMPORT const wxEventType cbEVT_PROJECT_FILE_CHANGED
DockSide dockSide
The side to dock it.
EVTIMPORT const wxEventType cbEVT_CLEAN_WORKSPACE_STARTED
wxSize floatingSize
The desired floating size.
A generic Code::Blocks event.
wxEvent * Clone() const override
void(wxEvtHandler::* CodeblocksThreadEventFunction)(CodeBlocksThreadEvent &)
EVTIMPORT const wxEventType cbEVT_REMOVE_DOCK_WINDOW
EVTIMPORT const wxEventType cbEVT_COMPILE_FILE_REQUEST
EVTIMPORT const wxEventType cbEVT_EDITOR_CLOSE
wxBitmap * icon
The logger's icon. Valid only for cbEVT_ADD_LOG_WINDOW.
Represents a Code::Blocks project.
EVTIMPORT const wxEventType cbEVT_DOCK_WINDOW_VISIBILITY
EVTIMPORT const wxEventType cbEVT_WORKSPACE_LOADING_COMPLETE
EVTIMPORT const wxEventType cbEVT_ADD_LOG_WINDOW
EVTIMPORT const wxEventType cbEVT_PLUGIN_LOADING_COMPLETE
EVTIMPORT const wxEventType cbEVT_REMOVE_LOG_WINDOW
EVTIMPORT const wxEventType cbEVT_PROJECT_BEGIN_REMOVE_FILES
EVTIMPORT const wxEventType cbEVT_EDITOR_SWITCHED
EVTIMPORT const wxEventType cbEVT_APP_DEACTIVATED
EVTIMPORT const wxEventType cbEVT_DEBUGGER_PAUSED
EVTIMPORT const wxEventType cbEVT_APP_ACTIVATED
EVTIMPORT const wxEventType cbEVT_HIDE_LOG_MANAGER
Base class that all "editors" should inherit from.
EVTIMPORT const wxEventType cbEVT_SWITCH_TO_LOG_WINDOW
EVTIMPORT const wxEventType cbEVT_EDITOR_UPDATE_UI
EVTIMPORT const wxEventType cbEVT_BUILDTARGET_REMOVED
EVTIMPORT const wxEventType cbEVT_SWITCHED_VIEW_LAYOUT
CodeBlocksEvent(wxEventType commandType=wxEVT_NULL, int id=0, cbProject *project=nullptr, EditorBase *editor=nullptr, cbPlugin *plugin=nullptr, EditorBase *old_editor=nullptr)
EVTIMPORT const wxEventType cbEVT_GET_ACTIVE_LOG_WINDOW
EVTIMPORT const wxEventType cbEVT_THREADTASK_ENDED
EVTIMPORT const wxEventType cbEVT_EDITOR_DEACTIVATED
EVTIMPORT const wxEventType cbEVT_COMPLETE_CODE
EVTIMPORT const wxEventType cbEVT_CBAUIBOOK_LEFT_DCLICK
EVTIMPORT const wxEventType cbEVT_DEBUGGER_FINISHED
EVTIMPORT const wxEventType cbEVT_PROJECT_TARGETS_MODIFIED
bool stretch
If true, the dock will stretch to fill the dockSide.
const wxString & _(const wxString &string)
EVTIMPORT const wxEventType cbEVT_THREADTASK_STARTED
EditorBase * m_pOldEditor
EVTIMPORT const wxEventType cbEVT_PROJECT_END_REMOVE_FILES
wxEvent * Clone() const override
wxString bitmap
The bitmap to use.
wxString title
The logger's title. Valid only for cbEVT_ADD_LOG_WINDOW.
EVTIMPORT const wxEventType cbEVT_APP_STARTUP_DONE
Logger * logger
The logger.
EVTIMPORT const wxEventType cbEVT_QUERY_VIEW_LAYOUT
EVTIMPORT const wxEventType cbEVT_PLUGIN_UNINSTALLED
EVTIMPORT const wxEventType cbEVT_EDITOR_ACTIVATED
bool hideable
If true, the dock will be allowed to be closed by the user.
void SetEditor(EditorBase *editor)
void SetOldBuildTargetName(const wxString &target)
EVTIMPORT const wxEventType cbEVT_LOCK_LOG_MANAGER
EVTIMPORT const wxEventType cbEVT_COMPILER_STARTED
void SetProject(cbProject *project)
CodeBlocksEvent(const CodeBlocksEvent &event)
EVTIMPORT const wxEventType cbEVT_SHOW_DOCK_WINDOW
EVTIMPORT const wxEventType cbEVT_EDITOR_BEFORE_SAVE
wxEvent * Clone() const override
const wxString & GetBuildTargetName() const
EVTIMPORT const wxEventType cbEVT_WORKSPACE_CHANGED
CodeBlocksLayoutEvent(wxEventType commandType=wxEVT_NULL, const wxString &layout_name=wxEmptyString)
EVTIMPORT const wxEventType cbEVT_PROJECT_OPEN
void(wxEvtHandler::* CodeBlocksLogEventFunction)(CodeBlocksLogEvent &)
EVTIMPORT const wxEventType cbEVT_PROJECT_CLOSE
bool shown
If true, initially shown.
EVTIMPORT const wxEventType cbEVT_EDITOR_OPEN
EVTIMPORT const wxEventType cbEVT_PROJECT_FILE_REMOVED
int logIndex
The logger's index.
int column
The column to dock it.
EVTIMPORT const wxEventType cbEVT_BUILDTARGET_ADDED
wxSize desiredSize
The desired size.
EVTIMPORT const wxEventType cbEVT_EDITOR_UNSPLIT
EVTIMPORT const wxEventType cbEVT_EDITOR_SAVE
EVTIMPORT const wxEventType cbEVT_PLUGIN_INSTALLED
void SetOldEditor(EditorBase *editor)
CodeBlocksDockEvent(wxEventType commandType=wxEVT_NULL, int id=0)
EVTIMPORT const wxEventType cbEVT_PIPEDPROCESS_STDERR
EVTIMPORT const wxEventType cbEVT_EDITOR_MODIFIED
EVTIMPORT const wxEventType cbEVT_SHOW_LOG_MANAGER
Event used to request from the main app to manage the view layouts.