Code::Blocks  SVN r11506
Public Member Functions | Public Attributes | Protected Types | Protected Member Functions | Protected Attributes | Private Member Functions | Private Attributes | List of all members
MainFrame Class Reference

#include <main.h>

Inheritance diagram for MainFrame:
Collaboration diagram for MainFrame:

Public Member Functions

MainFrameoperator= (cb_unused const MainFrame &rhs)
 
 MainFrame (wxWindow *parent=(wxWindow *) NULL)
 CloseFullScreen event handling. More...
 
 ~MainFrame ()
 
bool Open (const wxString &filename, bool addToHistory=true)
 
bool OnDropFiles (wxCoord x, wxCoord y, const wxArrayString &filenames)
 
void ShowTips (bool forceShow=false)
 
wxScrollingDialogGetBatchBuildDialog ()
 
wxString ShowOpenFileDialog (const wxString &caption, const wxString &filter)
 
bool OpenGeneric (const wxString &filename, bool addToHistory=true)
 
void StartupDone ()
 
cbProjectManagerUIGetProjectManagerUI ()
 

Public Attributes

wxAcceleratorTablem_pAccel
 

Protected Types

enum  { Installed, Uninstalled, Unloaded }
 
typedef std::map< int, const wxStringMenuIDToScript
 

Protected Member Functions

void CreateIDE ()
 
void CreateMenubar ()
 
void CreateToolbars ()
 
void ScanForPlugins ()
 
void AddToolbarItem (int id, const wxString &title, const wxString &shortHelp, const wxString &longHelp, const wxString &image)
 
void RecreateMenuBar ()
 
void RegisterEvents ()
 
void SetupGUILogging ()
 
void SetupDebuggerUI ()
 
void RegisterScriptFunctions ()
 
void RunStartupScripts ()
 
void PluginsUpdated (cbPlugin *plugin, int status)
 
void DoAddPlugin (cbPlugin *plugin)
 
ToolbarInfo DoAddPluginToolbar (cbPlugin *plugin)
 
void DoAddPluginStatusField (cbPlugin *plugin)
 
void AddPluginInPluginsMenu (cbPlugin *plugin)
 
void AddPluginInHelpPluginsMenu (cbPlugin *plugin)
 
wxMenuItemAddPluginInMenus (wxMenu *menu, cbPlugin *plugin, wxObjectEventFunction callback, int pos=-1, bool checkable=false)
 
void LoadViewLayout (const wxString &name, bool isTemp=false)
 
void SaveViewLayout (const wxString &name, const wxString &layout, const wxString &layoutMP, bool select=false)
 
void DoSelectLayout (const wxString &name)
 
void DoFixToolbarsLayout ()
 
bool DoCheckCurrentLayoutForChanges (bool canCancel=true)
 
void AddEditorInWindowMenu (const wxString &filename, const wxString &title)
 
void RemoveEditorFromWindowMenu (const wxString &filename)
 
int IsEditorInWindowMenu (const wxString &filename)
 
wxString GetEditorDescription (EditorBase *eb)
 
bool DoCloseCurrentWorkspace ()
 
bool DoOpenProject (const wxString &filename, bool addToHistory=true)
 
bool DoOpenFile (const wxString &filename, bool addToHistory=true)
 
void DoOnFileOpen (bool bProject=false)
 
void DoCreateStatusBar ()
 
void DoUpdateStatusBar ()
 
void DoUpdateAppTitle ()
 
void DoUpdateLayout ()
 
void DoUpdateLayoutColours ()
 
void DoUpdateEditorStyle ()
 
void DoUpdateEditorStyle (cbAuiNotebook *target, const wxString &prefix, long defaultStyle)
 
void ShowHideStartPage (bool forceHasProject=false, int forceState=0)
 
void ShowHideScriptConsole ()
 
void LoadWindowState ()
 
void SaveWindowState ()
 
void LoadWindowSize ()
 
void InitializeRecentFilesHistory ()
 
void TerminateRecentFilesHistory ()
 
wxStatusBarOnCreateStatusBar (int number, long style, wxWindowID id, const wxString &name) override
 

Protected Attributes

RecentItemsList m_filesHistory
 
RecentItemsList m_projectsHistory
 
wxButtonm_pCloseFullScreenBtn
 "Close FullScreen" button. Only shown when in FullScreen view More...
 
EditorManagerm_pEdMan
 
ProjectManagerm_pPrjMan
 
cbProjectManagerUIm_pPrjManUI
 
LogManagerm_pLogMan
 
InfoPanem_pInfoPane
 
wxToolBarm_pToolbar
 
PluginToolbarsMap m_PluginsTools
 
PluginIDsMap m_PluginIDsMap
 
wxMenum_ToolsMenu
 
wxMenum_PluginsMenu
 
wxMenum_HelpPluginsMenu
 
bool m_ScanningForPlugins
 
bool m_SmallToolBar
 
bool m_StartupDone
 
bool m_InitiatedShutdown
 
int m_AutoHideLockCounter
 
int m_LastCtrlAltTabWindow
 Last window focussed in the cycle 1 = Mgmt. panel, 2 = Editor, 3 = Logs & others. More...
 
wxString m_PreviousLayoutName
 
wxString m_LastLayoutName
 
wxString m_LastLayoutData
 
wxString m_LastMessagePaneLayoutData
 
bool m_LastLayoutIsTemp
 
wxWindowm_pScriptConsole
 
MenuIDToScript m_MenuIDToScript
 
wxScrollingDialogm_pBatchBuildDialog
 
wxButtonm_pHighlightButton
 
DebuggerMenuHandlerm_debuggerMenuHandler
 
DebuggerToolbarHandlerm_debuggerToolbarHandler
 
FindReplace m_findReplace
 

Private Member Functions

 MainFrame (cb_unused const MainFrame &rhs)
 
bool LayoutDifferent (const wxString &layout1, const wxString &layout2, const wxString &delimiter=_("|"))
 
bool LayoutMessagePaneDifferent (const wxString &layout1, const wxString &layout2, bool checkSelection=false)
 
void OnEraseBackground (wxEraseEvent &event)
 
void OnSize (wxSizeEvent &event)
 
void OnApplicationClose (wxCloseEvent &event)
 
void OnMouseRightUp (wxMouseEvent &event)
 
void OnToolBarRightClick (wxCommandEvent &event)
 
void PopupToggleToolbarMenu ()
 
void SetChecksForViewToolbarsMenu (wxMenu &menu)
 
void OnFileNewWhat (wxCommandEvent &event)
 
void OnFileNew (wxCommandEvent &event)
 
void OnFileOpen (wxCommandEvent &event)
 
void OnFileReopenProject (wxCommandEvent &event)
 
void OnFileOpenRecentProjectClearHistory (wxCommandEvent &event)
 
void OnFileReopen (wxCommandEvent &event)
 
void OnFileOpenRecentClearHistory (wxCommandEvent &event)
 
void OnFileImportProjectDevCpp (wxCommandEvent &event)
 
void OnFileImportProjectMSVC (wxCommandEvent &event)
 
void OnFileImportProjectMSVCWksp (wxCommandEvent &event)
 
void OnFileImportProjectMSVS (wxCommandEvent &event)
 
void OnFileImportProjectMSVSWksp (wxCommandEvent &event)
 
void OnFileSave (wxCommandEvent &event)
 
void OnFileSaveAs (wxCommandEvent &event)
 
void OnFileSaveProject (wxCommandEvent &event)
 
void OnFileSaveProjectAs (wxCommandEvent &event)
 
void OnFileSaveProjectTemplate (wxCommandEvent &event)
 
void OnFileOpenDefWorkspace (wxCommandEvent &event)
 
void OnFileSaveWorkspace (wxCommandEvent &event)
 
void OnFileSaveWorkspaceAs (wxCommandEvent &event)
 
void OnFileSaveAll (wxCommandEvent &event)
 
void OnFileCloseWorkspace (wxCommandEvent &event)
 
void OnFileClose (wxCommandEvent &event)
 
void OnFileCloseAll (wxCommandEvent &event)
 
void OnFileCloseProject (wxCommandEvent &event)
 
void OnFilePrintSetup (wxCommandEvent &event)
 
void OnFilePrint (wxCommandEvent &event)
 
void OnFileQuit (wxCommandEvent &event)
 
void OnFileNext (wxCommandEvent &event)
 
void OnFilePrev (wxCommandEvent &event)
 
void OnEditUndo (wxCommandEvent &event)
 
void OnEditRedo (wxCommandEvent &event)
 
void OnEditClearHistory (wxCommandEvent &event)
 
void OnEditCopy (wxCommandEvent &event)
 
void OnEditCut (wxCommandEvent &event)
 
void OnEditPaste (wxCommandEvent &event)
 
void OnEditSwapHeaderSource (wxCommandEvent &event)
 
void OnEditGotoMatchingBrace (wxCommandEvent &event)
 
void OnEditHighlightMode (wxCommandEvent &event)
 
void OnEditFoldAll (wxCommandEvent &event)
 
void OnEditUnfoldAll (wxCommandEvent &event)
 
void OnEditToggleAllFolds (wxCommandEvent &event)
 
void OnEditFoldBlock (wxCommandEvent &event)
 
void OnEditUnfoldBlock (wxCommandEvent &event)
 
void OnEditToggleFoldBlock (wxCommandEvent &event)
 
void OnEditEOLMode (wxCommandEvent &event)
 
void OnEditEncoding (wxCommandEvent &event)
 
void OnEditParaUp (wxCommandEvent &event)
 
void OnEditParaUpExtend (wxCommandEvent &event)
 
void OnEditParaDown (wxCommandEvent &event)
 
void OnEditParaDownExtend (wxCommandEvent &event)
 
void OnEditWordPartLeft (wxCommandEvent &event)
 
void OnEditWordPartLeftExtend (wxCommandEvent &event)
 
void OnEditWordPartRight (wxCommandEvent &event)
 
void OnEditWordPartRightExtend (wxCommandEvent &event)
 
void OnEditZoomIn (wxCommandEvent &event)
 
void OnEditZoomOut (wxCommandEvent &event)
 
void OnEditZoomReset (wxCommandEvent &event)
 
void OnEditLineCut (wxCommandEvent &event)
 
void OnEditLineDelete (wxCommandEvent &event)
 
void OnEditLineDuplicate (wxCommandEvent &event)
 
void OnEditLineTranspose (wxCommandEvent &event)
 
void OnEditLineCopy (wxCommandEvent &event)
 
void OnEditLinePaste (wxCommandEvent &event)
 
void OnEditLineMove (wxCommandEvent &event)
 
void OnEditUpperCase (wxCommandEvent &event)
 
void OnEditLowerCase (wxCommandEvent &event)
 
void OnEditInsertNewLine (wxCommandEvent &event)
 
void OnEditGotoLineEnd (wxCommandEvent &event)
 
void OnEditInsertNewLineBelow (wxCommandEvent &event)
 
void OnEditInsertNewLineAbove (wxCommandEvent &event)
 
void OnEditSelectAll (wxCommandEvent &event)
 
void OnEditSelectNext (wxCommandEvent &event)
 
void OnEditSelectNextSkip (wxCommandEvent &event)
 
void OnEditCommentSelected (wxCommandEvent &event)
 
void OnEditUncommentSelected (wxCommandEvent &event)
 
void OnEditToggleCommentSelected (wxCommandEvent &event)
 
void OnEditStreamCommentSelected (wxCommandEvent &event)
 
void OnEditBoxCommentSelected (wxCommandEvent &event)
 
void OnEditShowCallTip (wxCommandEvent &event)
 
void OnEditCompleteCode (wxCommandEvent &event)
 
void OnEditBookmarksToggle (wxCommandEvent &event)
 
void OnEditBookmarksNext (wxCommandEvent &event)
 
void OnEditBookmarksPrevious (wxCommandEvent &event)
 
void OnEditBookmarksClearAll (wxCommandEvent &event)
 
void OnViewLayout (wxCommandEvent &event)
 
void OnViewLayoutSave (wxCommandEvent &event)
 
void OnViewLayoutDelete (wxCommandEvent &event)
 
void OnViewScriptConsole (wxCommandEvent &event)
 
void OnViewHideEditorTabs (wxCommandEvent &event)
 
void OnSearchFind (wxCommandEvent &event)
 
void OnSearchFindNext (wxCommandEvent &event)
 
void OnSearchFindNextSelected (wxCommandEvent &event)
 
void OnSearchReplace (wxCommandEvent &event)
 
void OnSearchGotoLine (wxCommandEvent &event)
 
void OnSearchGotoNextChanged (wxCommandEvent &event)
 
void OnSearchGotoPrevChanged (wxCommandEvent &event)
 
void OnPluginsExecuteMenu (wxCommandEvent &event)
 
void OnSettingsEnvironment (wxCommandEvent &event)
 
void OnSettingsKeyBindings (wxCommandEvent &event)
 
void OnGlobalUserVars (wxCommandEvent &event)
 
void OnSettingsEditor (wxCommandEvent &event)
 
void OnSettingsCompiler (wxCommandEvent &event)
 
void OnSettingsDebugger (wxCommandEvent &event)
 
void OnSettingsPlugins (wxCommandEvent &event)
 
void OnSettingsScripting (wxCommandEvent &event)
 
void OnHelpAbout (wxCommandEvent &event)
 
void OnHelpTips (wxCommandEvent &event)
 
void OnHelpPluginMenu (wxCommandEvent &event)
 
void OnViewToolbarsFit (wxCommandEvent &event)
 
void OnViewToolbarsOptimize (wxCommandEvent &event)
 
void OnToggleBar (wxCommandEvent &event)
 
void OnToggleStatusBar (wxCommandEvent &event)
 
void OnFocusEditor (wxCommandEvent &event)
 
void OnFocusManagement (wxCommandEvent &event)
 
void OnFocusLogsAndOthers (wxCommandEvent &event)
 
void OnSwitchTabs (wxCommandEvent &event)
 
void OnToggleFullScreen (wxCommandEvent &event)
 
void OnToggleStartPage (wxCommandEvent &event)
 
void OnPluginLoaded (CodeBlocksEvent &event)
 
void OnPluginUnloaded (CodeBlocksEvent &event)
 
void OnPluginInstalled (CodeBlocksEvent &event)
 
void OnPluginUninstalled (CodeBlocksEvent &event)
 
void OnEditorUpdateUI (CodeBlocksEvent &event)
 
void OnFileMenuUpdateUI (wxUpdateUIEvent &event)
 
void OnEditMenuUpdateUI (wxUpdateUIEvent &event)
 
void OnViewMenuUpdateUI (wxUpdateUIEvent &event)
 
void OnSearchMenuUpdateUI (wxUpdateUIEvent &event)
 
void OnProjectMenuUpdateUI (wxUpdateUIEvent &event)
 
void OnProjectActivated (CodeBlocksEvent &event)
 
void OnProjectOpened (CodeBlocksEvent &event)
 
void OnProjectClosed (CodeBlocksEvent &event)
 
void OnRequestDockWindow (CodeBlocksDockEvent &event)
 
void OnRequestUndockWindow (CodeBlocksDockEvent &event)
 
void OnRequestShowDockWindow (CodeBlocksDockEvent &event)
 
void OnRequestHideDockWindow (CodeBlocksDockEvent &event)
 
void OnDockWindowVisibility (CodeBlocksDockEvent &event)
 
void OnLayoutUpdate (CodeBlocksLayoutEvent &event)
 
void OnLayoutQuery (CodeBlocksLayoutEvent &event)
 
void OnLayoutSwitch (CodeBlocksLayoutEvent &event)
 
void OnAddLogWindow (CodeBlocksLogEvent &event)
 
void OnRemoveLogWindow (CodeBlocksLogEvent &event)
 
void OnHideLogWindow (CodeBlocksLogEvent &event)
 
void OnSwitchToLogWindow (CodeBlocksLogEvent &event)
 
void OnGetActiveLogWindow (CodeBlocksLogEvent &event)
 
void OnShowLogManager (CodeBlocksLogEvent &event)
 
void OnHideLogManager (CodeBlocksLogEvent &event)
 
void OnLockLogManager (CodeBlocksLogEvent &event)
 
void OnUnlockLogManager (CodeBlocksLogEvent &event)
 
void OnEditorOpened (CodeBlocksEvent &event)
 
void OnEditorActivated (CodeBlocksEvent &event)
 
void OnEditorClosed (CodeBlocksEvent &event)
 
void OnEditorSaved (CodeBlocksEvent &event)
 
void OnEditorModified (CodeBlocksEvent &event)
 
void OnPageChanged (wxNotebookEvent &event)
 
void OnShiftTab (wxCommandEvent &event)
 
void OnCtrlAltTab (wxCommandEvent &event)
 
void OnNotebookDoubleClick (CodeBlocksEvent &event)
 
void OnHighlightMenu (wxCommandEvent &event)
 

Private Attributes

wxAuiManager m_LayoutManager
 
LayoutViewsMap m_LayoutViews
 
LayoutViewsMap m_LayoutMessagePane
 

Detailed Description

Definition at line 60 of file main.h.

Member Typedef Documentation

◆ MenuIDToScript

typedef std::map<int, const wxString> MainFrame::MenuIDToScript
protected

Definition at line 396 of file main.h.

Member Enumeration Documentation

◆ anonymous enum

anonymous enum
protected
Enumerator
Installed 
Uninstalled 
Unloaded 

Definition at line 314 of file main.h.

Constructor & Destructor Documentation

◆ MainFrame() [1/2]

MainFrame::MainFrame ( cb_unused const MainFrame rhs)
private

◆ MainFrame() [2/2]

MainFrame::MainFrame ( wxWindow parent = (wxWindow*)NULL)

◆ ~MainFrame()

MainFrame::~MainFrame ( )

Definition at line 663 of file main.cpp.

References DeInitPrinting(), and wxNullAcceleratorTable.

Member Function Documentation

◆ AddEditorInWindowMenu()

void MainFrame::AddEditorInWindowMenu ( const wxString filename,
const wxString title 
)
protected

◆ AddPluginInHelpPluginsMenu()

void MainFrame::AddPluginInHelpPluginsMenu ( cbPlugin plugin)
protected

Definition at line 1266 of file main.cpp.

References OnHelpPluginMenu().

◆ AddPluginInMenus()

wxMenuItem * MainFrame::AddPluginInMenus ( wxMenu menu,
cbPlugin plugin,
wxObjectEventFunction  callback,
int  pos = -1,
bool  checkable = false 
)
protected

◆ AddPluginInPluginsMenu()

void MainFrame::AddPluginInPluginsMenu ( cbPlugin plugin)
protected

Definition at line 1251 of file main.cpp.

References _T, OnPluginsExecuteMenu(), and wxID_SEPARATOR.

◆ AddToolbarItem()

void MainFrame::AddToolbarItem ( int  id,
const wxString title,
const wxString shortHelp,
const wxString longHelp,
const wxString image 
)
protected

Definition at line 1176 of file main.cpp.

References cbLoadBitmap(), and wxBITMAP_TYPE_PNG.

◆ CreateIDE()

void MainFrame::CreateIDE ( )
protected

◆ CreateMenubar()

void MainFrame::CreateMenubar ( )
protected

◆ CreateToolbars()

void MainFrame::CreateToolbars ( )
protected

◆ DoAddPlugin()

void MainFrame::DoAddPlugin ( cbPlugin plugin)
protected

◆ DoAddPluginStatusField()

void MainFrame::DoAddPluginStatusField ( cbPlugin plugin)
protected

Definition at line 1600 of file main.cpp.

References cbStatusBar::AdjustFieldsSize(), and cbPlugin::CreateStatusField().

◆ DoAddPluginToolbar()

ToolbarInfo MainFrame::DoAddPluginToolbar ( cbPlugin plugin)
protected

◆ DoCheckCurrentLayoutForChanges()

bool MainFrame::DoCheckCurrentLayoutForChanges ( bool  canCancel = true)
protected

◆ DoCloseCurrentWorkspace()

bool MainFrame::DoCloseCurrentWorkspace ( )
protected

◆ DoCreateStatusBar()

void MainFrame::DoCreateStatusBar ( )
protected

◆ DoFixToolbarsLayout()

void MainFrame::DoFixToolbarsLayout ( )
protected

Definition at line 1562 of file main.cpp.

References wxDefaultSize.

◆ DoOnFileOpen()

void MainFrame::DoOnFileOpen ( bool  bProject = false)
protected

◆ DoOpenFile()

bool MainFrame::DoOpenFile ( const wxString filename,
bool  addToHistory = true 
)
protected

◆ DoOpenProject()

bool MainFrame::DoOpenProject ( const wxString filename,
bool  addToHistory = true 
)
protected

◆ DoSelectLayout()

void MainFrame::DoSelectLayout ( const wxString name)
protected

◆ DoUpdateAppTitle()

void MainFrame::DoUpdateAppTitle ( )
protected

◆ DoUpdateEditorStyle() [1/2]

void MainFrame::DoUpdateEditorStyle ( )
protected

◆ DoUpdateEditorStyle() [2/2]

void MainFrame::DoUpdateEditorStyle ( cbAuiNotebook target,
const wxString prefix,
long  defaultStyle 
)
protected

◆ DoUpdateLayout()

void MainFrame::DoUpdateLayout ( )
protected

Definition at line 2101 of file main.cpp.

◆ DoUpdateLayoutColours()

void MainFrame::DoUpdateLayoutColours ( )
protected

◆ DoUpdateStatusBar()

void MainFrame::DoUpdateStatusBar ( )
protected

◆ GetBatchBuildDialog()

wxScrollingDialog* MainFrame::GetBatchBuildDialog ( )
inline

Definition at line 86 of file main.h.

◆ GetEditorDescription()

wxString MainFrame::GetEditorDescription ( EditorBase eb)
protected

◆ GetProjectManagerUI()

cbProjectManagerUI* MainFrame::GetProjectManagerUI ( )
inline

Definition at line 95 of file main.h.

◆ InitializeRecentFilesHistory()

void MainFrame::InitializeRecentFilesHistory ( )
protected

Definition at line 2242 of file main.cpp.

◆ IsEditorInWindowMenu()

int MainFrame::IsEditorInWindowMenu ( const wxString filename)
protected

◆ LayoutDifferent()

bool MainFrame::LayoutDifferent ( const wxString layout1,
const wxString layout2,
const wxString delimiter = _("|") 
)
private

◆ LayoutMessagePaneDifferent()

bool MainFrame::LayoutMessagePaneDifferent ( const wxString layout1,
const wxString layout2,
bool  checkSelection = false 
)
private

◆ LoadViewLayout()

void MainFrame::LoadViewLayout ( const wxString name,
bool  isTemp = false 
)
protected

◆ LoadWindowSize()

void MainFrame::LoadWindowSize ( )
protected

◆ LoadWindowState()

void MainFrame::LoadWindowState ( )
protected

◆ OnAddLogWindow()

void MainFrame::OnAddLogWindow ( CodeBlocksLogEvent event)
private

◆ OnApplicationClose()

void MainFrame::OnApplicationClose ( wxCloseEvent event)
private

◆ OnCreateStatusBar()

wxStatusBar * MainFrame::OnCreateStatusBar ( int  number,
long  style,
wxWindowID  id,
const wxString name 
)
overrideprotected

Definition at line 5131 of file main.cpp.

References wxStatusBar::SetFieldsCount().

◆ OnCtrlAltTab()

void MainFrame::OnCtrlAltTab ( wxCommandEvent event)
private

Definition at line 4883 of file main.cpp.

◆ OnDockWindowVisibility()

void MainFrame::OnDockWindowVisibility ( CodeBlocksDockEvent event)
private

Definition at line 4974 of file main.cpp.

Referenced by RegisterEvents().

◆ OnDropFiles()

bool MainFrame::OnDropFiles ( wxCoord  x,
wxCoord  y,
const wxArrayString filenames 
)

◆ OnEditBookmarksClearAll()

void MainFrame::OnEditBookmarksClearAll ( wxCommandEvent event)
private

◆ OnEditBookmarksNext()

void MainFrame::OnEditBookmarksNext ( wxCommandEvent event)
private

◆ OnEditBookmarksPrevious()

void MainFrame::OnEditBookmarksPrevious ( wxCommandEvent event)
private

◆ OnEditBookmarksToggle()

void MainFrame::OnEditBookmarksToggle ( wxCommandEvent event)
private

◆ OnEditBoxCommentSelected()

void MainFrame::OnEditBoxCommentSelected ( wxCommandEvent event)
private

◆ OnEditClearHistory()

void MainFrame::OnEditClearHistory ( wxCommandEvent event)
private

◆ OnEditCommentSelected()

void MainFrame::OnEditCommentSelected ( wxCommandEvent event)
private

◆ OnEditCompleteCode()

void MainFrame::OnEditCompleteCode ( wxCommandEvent event)
private

Definition at line 3714 of file main.cpp.

References cbEVT_COMPLETE_CODE, Manager::Get(), and Manager::ProcessEvent().

◆ OnEditCopy()

void MainFrame::OnEditCopy ( wxCommandEvent event)
private

◆ OnEditCut()

void MainFrame::OnEditCut ( wxCommandEvent event)
private

◆ OnEditEncoding()

void MainFrame::OnEditEncoding ( wxCommandEvent event)
private

◆ OnEditEOLMode()

void MainFrame::OnEditEOLMode ( wxCommandEvent event)
private

◆ OnEditFoldAll()

void MainFrame::OnEditFoldAll ( wxCommandEvent event)
private

◆ OnEditFoldBlock()

void MainFrame::OnEditFoldBlock ( wxCommandEvent event)
private

◆ OnEditGotoLineEnd()

void MainFrame::OnEditGotoLineEnd ( wxCommandEvent event)
private

◆ OnEditGotoMatchingBrace()

void MainFrame::OnEditGotoMatchingBrace ( wxCommandEvent event)
private

◆ OnEditHighlightMode()

void MainFrame::OnEditHighlightMode ( wxCommandEvent event)
private

◆ OnEditInsertNewLine()

void MainFrame::OnEditInsertNewLine ( wxCommandEvent event)
private

◆ OnEditInsertNewLineAbove()

void MainFrame::OnEditInsertNewLineAbove ( wxCommandEvent event)
private

Definition at line 3174 of file main.cpp.

References InsertNewLine().

◆ OnEditInsertNewLineBelow()

void MainFrame::OnEditInsertNewLineBelow ( wxCommandEvent event)
private

Definition at line 3169 of file main.cpp.

References InsertNewLine().

◆ OnEditLineCopy()

void MainFrame::OnEditLineCopy ( wxCommandEvent event)
private

◆ OnEditLineCut()

void MainFrame::OnEditLineCut ( wxCommandEvent event)
private

◆ OnEditLineDelete()

void MainFrame::OnEditLineDelete ( wxCommandEvent event)
private

◆ OnEditLineDuplicate()

void MainFrame::OnEditLineDuplicate ( wxCommandEvent event)
private

◆ OnEditLineMove()

void MainFrame::OnEditLineMove ( wxCommandEvent event)
private

◆ OnEditLinePaste()

void MainFrame::OnEditLinePaste ( wxCommandEvent event)
private

◆ OnEditLineTranspose()

void MainFrame::OnEditLineTranspose ( wxCommandEvent event)
private

◆ OnEditLowerCase()

void MainFrame::OnEditLowerCase ( wxCommandEvent event)
private

◆ OnEditMenuUpdateUI()

void MainFrame::OnEditMenuUpdateUI ( wxUpdateUIEvent event)
private

Definition at line 4121 of file main.cpp.

References _T, EditorBase::CanPaste(), EditorBase::CanRedo(), EditorBase::CanSelectAll(), EditorBase::CanUndo(), wxMenuBar::Check(), wxMenuBar::Enable(), wxMenuBar::FindItem(), wxMenu::FindItem(), Manager::Get(), EditorManager::GetActiveEditor(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetColourSet(), cbEditor::GetControl(), Manager::GetEditorManager(), cbEditor::GetEncoding(), wxScintilla::GetEOLMode(), cbEditor::GetLanguage(), EditorColourSet::GetLanguageName(), wxLocale::GetSystemEncoding(), cbEditor::GetUseBom(), EditorBase::HasSelection(), idEditBookmarks, idEditBoxCommentSelected, idEditClearHistory, idEditCommentSelected, idEditCompleteCode, idEditCopy, idEditCut, idEditEncoding, idEditEncodingAscii, idEditEncodingDefault, idEditEncodingUnicode, idEditEncodingUnicode16BE, idEditEncodingUnicode16LE, idEditEncodingUnicode32BE, idEditEncodingUnicode32LE, idEditEncodingUseBom, idEditEncodingUtf16, idEditEncodingUtf32, idEditEncodingUtf7, idEditEncodingUtf8, idEditEOLCR, idEditEOLCRLF, idEditEOLLF, idEditEOLMode, idEditFolding, idEditGotoMatchingBrace, idEditHighlightMode, idEditHighlightModeText, idEditPaste, idEditRedo, idEditSelectAll, idEditSelectNext, idEditSelectNextSkip, idEditShowCallTip, idEditSpecialCommands, idEditSpecialCommandsCase, idEditStreamCommentSelected, idEditSwapHeaderSource, idEditToggleCommentSelected, idEditUncommentSelected, idEditUndo, Manager::IsAppShuttingDown(), EditorBase::IsReadOnly(), NULL, wxFONTENCODING_ISO8859_1, wxFONTENCODING_SYSTEM, wxFONTENCODING_UNICODE, wxFONTENCODING_UTF16, wxFONTENCODING_UTF16BE, wxFONTENCODING_UTF16LE, wxFONTENCODING_UTF32, wxFONTENCODING_UTF32BE, wxFONTENCODING_UTF32LE, wxFONTENCODING_UTF7, wxFONTENCODING_UTF8, wxNOT_FOUND, wxSCI_EOL_CR, wxSCI_EOL_CRLF, and wxSCI_EOL_LF.

◆ OnEditorActivated()

void MainFrame::OnEditorActivated ( CodeBlocksEvent event)
private

◆ OnEditorClosed()

void MainFrame::OnEditorClosed ( CodeBlocksEvent event)
private

Definition at line 4844 of file main.cpp.

Referenced by RegisterEvents().

◆ OnEditorModified()

void MainFrame::OnEditorModified ( CodeBlocksEvent event)
private

Definition at line 4857 of file main.cpp.

Referenced by RegisterEvents().

◆ OnEditorOpened()

void MainFrame::OnEditorOpened ( CodeBlocksEvent event)
private

Definition at line 4818 of file main.cpp.

Referenced by RegisterEvents().

◆ OnEditorSaved()

void MainFrame::OnEditorSaved ( CodeBlocksEvent event)
private

Definition at line 4851 of file main.cpp.

Referenced by RegisterEvents().

◆ OnEditorUpdateUI()

void MainFrame::OnEditorUpdateUI ( CodeBlocksEvent event)
private

◆ OnEditParaDown()

void MainFrame::OnEditParaDown ( wxCommandEvent event)
private

◆ OnEditParaDownExtend()

void MainFrame::OnEditParaDownExtend ( wxCommandEvent event)
private

◆ OnEditParaUp()

void MainFrame::OnEditParaUp ( wxCommandEvent event)
private

◆ OnEditParaUpExtend()

void MainFrame::OnEditParaUpExtend ( wxCommandEvent event)
private

◆ OnEditPaste()

void MainFrame::OnEditPaste ( wxCommandEvent event)
private

◆ OnEditRedo()

void MainFrame::OnEditRedo ( wxCommandEvent event)
private

◆ OnEditSelectAll()

void MainFrame::OnEditSelectAll ( wxCommandEvent event)
private

◆ OnEditSelectNext()

void MainFrame::OnEditSelectNext ( wxCommandEvent event)
private

◆ OnEditSelectNextSkip()

void MainFrame::OnEditSelectNextSkip ( wxCommandEvent event)
private

◆ OnEditShowCallTip()

void MainFrame::OnEditShowCallTip ( wxCommandEvent event)
private

Definition at line 3708 of file main.cpp.

References cbEVT_SHOW_CALL_TIP, Manager::Get(), and Manager::ProcessEvent().

◆ OnEditStreamCommentSelected()

void MainFrame::OnEditStreamCommentSelected ( wxCommandEvent event)
private

◆ OnEditSwapHeaderSource()

void MainFrame::OnEditSwapHeaderSource ( wxCommandEvent event)
private

◆ OnEditToggleAllFolds()

void MainFrame::OnEditToggleAllFolds ( wxCommandEvent event)
private

◆ OnEditToggleCommentSelected()

void MainFrame::OnEditToggleCommentSelected ( wxCommandEvent event)
private

◆ OnEditToggleFoldBlock()

void MainFrame::OnEditToggleFoldBlock ( wxCommandEvent event)
private

◆ OnEditUncommentSelected()

void MainFrame::OnEditUncommentSelected ( wxCommandEvent event)
private

◆ OnEditUndo()

void MainFrame::OnEditUndo ( wxCommandEvent event)
private

◆ OnEditUnfoldAll()

void MainFrame::OnEditUnfoldAll ( wxCommandEvent event)
private

◆ OnEditUnfoldBlock()

void MainFrame::OnEditUnfoldBlock ( wxCommandEvent event)
private

◆ OnEditUpperCase()

void MainFrame::OnEditUpperCase ( wxCommandEvent event)
private

◆ OnEditWordPartLeft()

void MainFrame::OnEditWordPartLeft ( wxCommandEvent event)
private

◆ OnEditWordPartLeftExtend()

void MainFrame::OnEditWordPartLeftExtend ( wxCommandEvent event)
private

◆ OnEditWordPartRight()

void MainFrame::OnEditWordPartRight ( wxCommandEvent event)
private

◆ OnEditWordPartRightExtend()

void MainFrame::OnEditWordPartRightExtend ( wxCommandEvent event)
private

◆ OnEditZoomIn()

void MainFrame::OnEditZoomIn ( wxCommandEvent event)
private

◆ OnEditZoomOut()

void MainFrame::OnEditZoomOut ( wxCommandEvent event)
private

◆ OnEditZoomReset()

void MainFrame::OnEditZoomReset ( wxCommandEvent event)
private

◆ OnEraseBackground()

void MainFrame::OnEraseBackground ( wxEraseEvent event)
private

Definition at line 2693 of file main.cpp.

◆ OnFileClose()

void MainFrame::OnFileClose ( wxCommandEvent event)
private

◆ OnFileCloseAll()

void MainFrame::OnFileCloseAll ( wxCommandEvent event)
private

Definition at line 2662 of file main.cpp.

References EditorManager::CloseAll(), Manager::Get(), and Manager::GetEditorManager().

◆ OnFileCloseProject()

void MainFrame::OnFileCloseProject ( wxCommandEvent event)
private

◆ OnFileCloseWorkspace()

void MainFrame::OnFileCloseWorkspace ( wxCommandEvent event)
private

Definition at line 2650 of file main.cpp.

◆ OnFileImportProjectDevCpp()

void MainFrame::OnFileImportProjectDevCpp ( wxCommandEvent event)
private

Definition at line 2600 of file main.cpp.

References _(), _T, FileFilters::DEVCPP_EXT, and FileFilters::GetFilterString().

◆ OnFileImportProjectMSVC()

void MainFrame::OnFileImportProjectMSVC ( wxCommandEvent event)
private

Definition at line 2605 of file main.cpp.

References _(), _T, FileFilters::GetFilterString(), and FileFilters::MSVC6_EXT.

◆ OnFileImportProjectMSVCWksp()

void MainFrame::OnFileImportProjectMSVCWksp ( wxCommandEvent event)
private

Definition at line 2610 of file main.cpp.

References _(), _T, FileFilters::GetFilterString(), and FileFilters::MSVC6_WORKSPACE_EXT.

◆ OnFileImportProjectMSVS()

void MainFrame::OnFileImportProjectMSVS ( wxCommandEvent event)
private

Definition at line 2615 of file main.cpp.

References _(), _T, FileFilters::GetFilterString(), and FileFilters::MSVC7_EXT.

◆ OnFileImportProjectMSVSWksp()

void MainFrame::OnFileImportProjectMSVSWksp ( wxCommandEvent event)
private

Definition at line 2620 of file main.cpp.

References _(), _T, FileFilters::GetFilterString(), and FileFilters::MSVC7_WORKSPACE_EXT.

◆ OnFileMenuUpdateUI()

void MainFrame::OnFileMenuUpdateUI ( wxUpdateUIEvent event)
private

◆ OnFileNew()

void MainFrame::OnFileNew ( wxCommandEvent event)
private

Definition at line 2425 of file main.cpp.

References CopyMenu(), wxMenuBar::FindItem(), and idFileNewProject.

◆ OnFileNewWhat()

void MainFrame::OnFileNewWhat ( wxCommandEvent event)
private

◆ OnFileNext()

void MainFrame::OnFileNext ( wxCommandEvent event)
private

◆ OnFileOpen()

void MainFrame::OnFileOpen ( wxCommandEvent event)
private

Definition at line 2498 of file main.cpp.

◆ OnFileOpenDefWorkspace()

void MainFrame::OnFileOpenDefWorkspace ( wxCommandEvent event)
private

◆ OnFileOpenRecentClearHistory()

void MainFrame::OnFileOpenRecentClearHistory ( wxCommandEvent event)
private

Definition at line 2524 of file main.cpp.

◆ OnFileOpenRecentProjectClearHistory()

void MainFrame::OnFileOpenRecentProjectClearHistory ( wxCommandEvent event)
private

Definition at line 2511 of file main.cpp.

◆ OnFilePrev()

void MainFrame::OnFilePrev ( wxCommandEvent event)
private

◆ OnFilePrint()

void MainFrame::OnFilePrint ( wxCommandEvent event)
private

◆ OnFilePrintSetup()

void MainFrame::OnFilePrintSetup ( wxCommandEvent event)
private

◆ OnFileQuit()

void MainFrame::OnFileQuit ( wxCommandEvent event)
private

Definition at line 2688 of file main.cpp.

◆ OnFileReopen()

void MainFrame::OnFileReopen ( wxCommandEvent event)
private

Definition at line 2516 of file main.cpp.

References wxID_CBFILE01.

◆ OnFileReopenProject()

void MainFrame::OnFileReopenProject ( wxCommandEvent event)
private

Definition at line 2503 of file main.cpp.

References wxID_CBFILE17.

◆ OnFileSave()

void MainFrame::OnFileSave ( wxCommandEvent event)
private

Definition at line 2529 of file main.cpp.

References _(), cbMessageBox(), Manager::Get(), wxString::Printf(), and wxICON_ERROR.

◆ OnFileSaveAll()

void MainFrame::OnFileSaveAll ( wxCommandEvent event)
private

◆ OnFileSaveAs()

void MainFrame::OnFileSaveAs ( wxCommandEvent event)
private

◆ OnFileSaveProject()

void MainFrame::OnFileSaveProject ( wxCommandEvent event)
private

◆ OnFileSaveProjectAs()

void MainFrame::OnFileSaveProjectAs ( wxCommandEvent event)
private

◆ OnFileSaveProjectTemplate()

void MainFrame::OnFileSaveProjectTemplate ( wxCommandEvent event)
private

◆ OnFileSaveWorkspace()

void MainFrame::OnFileSaveWorkspace ( wxCommandEvent event)
private

◆ OnFileSaveWorkspaceAs()

void MainFrame::OnFileSaveWorkspaceAs ( wxCommandEvent event)
private

◆ OnFocusEditor()

void MainFrame::OnFocusEditor ( wxCommandEvent event)
private

◆ OnFocusLogsAndOthers()

void MainFrame::OnFocusLogsAndOthers ( wxCommandEvent event)
private

Definition at line 4549 of file main.cpp.

◆ OnFocusManagement()

void MainFrame::OnFocusManagement ( wxCommandEvent event)
private

Definition at line 4542 of file main.cpp.

References cbAuiNotebook::FocusActiveTabCtrl().

◆ OnGetActiveLogWindow()

void MainFrame::OnGetActiveLogWindow ( CodeBlocksLogEvent event)
private

Definition at line 5039 of file main.cpp.

Referenced by RegisterEvents().

◆ OnGlobalUserVars()

void MainFrame::OnGlobalUserVars ( wxCommandEvent event)
private

◆ OnHelpAbout()

void MainFrame::OnHelpAbout ( wxCommandEvent event)
private

Definition at line 4046 of file main.cpp.

References pdlHead, PlaceWindow(), and wxDialog::ShowModal().

◆ OnHelpPluginMenu()

void MainFrame::OnHelpPluginMenu ( wxCommandEvent event)
private

◆ OnHelpTips()

void MainFrame::OnHelpTips ( wxCommandEvent event)
private

Definition at line 4053 of file main.cpp.

◆ OnHideLogManager()

void MainFrame::OnHideLogManager ( CodeBlocksLogEvent event)
private

Definition at line 5062 of file main.cpp.

References _T, and Manager::Get().

Referenced by RegisterEvents().

◆ OnHideLogWindow()

void MainFrame::OnHideLogWindow ( CodeBlocksLogEvent event)
private

Definition at line 5023 of file main.cpp.

References CodeBlocksLogEvent::logger, and CodeBlocksLogEvent::window.

Referenced by RegisterEvents().

◆ OnHighlightMenu()

void MainFrame::OnHighlightMenu ( wxCommandEvent event)
private

◆ OnLayoutQuery()

void MainFrame::OnLayoutQuery ( CodeBlocksLayoutEvent event)
private

Definition at line 4986 of file main.cpp.

References gDefaultLayout.

Referenced by RegisterEvents().

◆ OnLayoutSwitch()

void MainFrame::OnLayoutSwitch ( CodeBlocksLayoutEvent event)
private

Definition at line 4992 of file main.cpp.

References CodeBlocksLayoutEvent::layout.

Referenced by RegisterEvents().

◆ OnLayoutUpdate()

void MainFrame::OnLayoutUpdate ( CodeBlocksLayoutEvent event)
private

Definition at line 4980 of file main.cpp.

Referenced by RegisterEvents().

◆ OnLockLogManager()

void MainFrame::OnLockLogManager ( CodeBlocksLogEvent event)
private

Definition at line 5072 of file main.cpp.

References _T, and Manager::Get().

Referenced by RegisterEvents().

◆ OnMouseRightUp()

void MainFrame::OnMouseRightUp ( wxMouseEvent event)
private

Definition at line 5140 of file main.cpp.

◆ OnNotebookDoubleClick()

void MainFrame::OnNotebookDoubleClick ( CodeBlocksEvent event)
private

◆ OnPageChanged()

void MainFrame::OnPageChanged ( wxNotebookEvent &  event)
private

Definition at line 4869 of file main.cpp.

◆ OnPluginInstalled()

void MainFrame::OnPluginInstalled ( CodeBlocksEvent event)
private

Definition at line 4661 of file main.cpp.

References CodeBlocksEvent::GetPlugin().

Referenced by RegisterEvents().

◆ OnPluginLoaded()

void MainFrame::OnPluginLoaded ( CodeBlocksEvent event)
private

◆ OnPluginsExecuteMenu()

void MainFrame::OnPluginsExecuteMenu ( wxCommandEvent event)
private

◆ OnPluginUninstalled()

void MainFrame::OnPluginUninstalled ( CodeBlocksEvent event)
private

Definition at line 4666 of file main.cpp.

References CodeBlocksEvent::GetPlugin(), and Manager::IsAppShuttingDown().

Referenced by RegisterEvents().

◆ OnPluginUnloaded()

void MainFrame::OnPluginUnloaded ( CodeBlocksEvent event)
private

◆ OnProjectActivated()

void MainFrame::OnProjectActivated ( CodeBlocksEvent event)
private

Definition at line 4806 of file main.cpp.

Referenced by RegisterEvents().

◆ OnProjectClosed()

void MainFrame::OnProjectClosed ( CodeBlocksEvent event)
private

Definition at line 4863 of file main.cpp.

Referenced by RegisterEvents().

◆ OnProjectMenuUpdateUI()

void MainFrame::OnProjectMenuUpdateUI ( wxUpdateUIEvent event)
private

◆ OnProjectOpened()

void MainFrame::OnProjectOpened ( CodeBlocksEvent event)
private

Definition at line 4812 of file main.cpp.

Referenced by RegisterEvents().

◆ OnRemoveLogWindow()

void MainFrame::OnRemoveLogWindow ( CodeBlocksLogEvent event)
private

◆ OnRequestDockWindow()

void MainFrame::OnRequestDockWindow ( CodeBlocksDockEvent event)
private

◆ OnRequestHideDockWindow()

void MainFrame::OnRequestHideDockWindow ( CodeBlocksDockEvent event)
private

◆ OnRequestShowDockWindow()

void MainFrame::OnRequestShowDockWindow ( CodeBlocksDockEvent event)
private

◆ OnRequestUndockWindow()

void MainFrame::OnRequestUndockWindow ( CodeBlocksDockEvent event)
private

Definition at line 4944 of file main.cpp.

References wxAuiPaneInfo::IsOk(), and CodeBlocksDockEvent::pWindow.

Referenced by RegisterEvents().

◆ OnSearchFind()

void MainFrame::OnSearchFind ( wxCommandEvent event)
private

◆ OnSearchFindNext()

void MainFrame::OnSearchFindNext ( wxCommandEvent event)
private

Definition at line 3984 of file main.cpp.

References idSearchFindPrevious.

◆ OnSearchFindNextSelected()

void MainFrame::OnSearchFindNextSelected ( wxCommandEvent event)
private

Definition at line 3990 of file main.cpp.

References idSearchFindSelectedPrevious.

◆ OnSearchGotoLine()

void MainFrame::OnSearchGotoLine ( wxCommandEvent event)
private
Remarks
We use wxGetText instead of wxGetNumber because wxGetNumber must provide an initial line number...which doesn't make sense, and just keeps the user deleting the initial line number everytime he instantiates the dialog. However, this is just a temporary hack, because the default dialog used isn't that suitable either.

Definition at line 4004 of file main.cpp.

References _(), _T, cbGetTextFromUser(), wxString::Format(), Manager::Get(), EditorManager::GetBuiltinActiveEditor(), cbEditor::GetControl(), Manager::GetEditorManager(), wxScintilla::GetLength(), cbEditor::GotoLine(), wxScintilla::LineFromPosition(), wxString::ToLong(), and cbEditor::UnfoldBlockFromLine().

◆ OnSearchGotoNextChanged()

void MainFrame::OnSearchGotoNextChanged ( wxCommandEvent event)
private

◆ OnSearchGotoPrevChanged()

void MainFrame::OnSearchGotoPrevChanged ( wxCommandEvent event)
private

◆ OnSearchMenuUpdateUI()

void MainFrame::OnSearchMenuUpdateUI ( wxUpdateUIEvent event)
private

◆ OnSearchReplace()

void MainFrame::OnSearchReplace ( wxCommandEvent event)
private

◆ OnSettingsCompiler()

void MainFrame::OnSettingsCompiler ( wxCommandEvent event)
private

◆ OnSettingsDebugger()

void MainFrame::OnSettingsDebugger ( wxCommandEvent event)
private

◆ OnSettingsEditor()

void MainFrame::OnSettingsEditor ( wxCommandEvent event)
private

◆ OnSettingsEnvironment()

void MainFrame::OnSettingsEnvironment ( wxCommandEvent event)
private

◆ OnSettingsKeyBindings()

void MainFrame::OnSettingsKeyBindings ( wxCommandEvent event)
private

◆ OnSettingsPlugins()

void MainFrame::OnSettingsPlugins ( wxCommandEvent event)
private

◆ OnSettingsScripting()

void MainFrame::OnSettingsScripting ( wxCommandEvent event)
private

Definition at line 4799 of file main.cpp.

References wxDialog::ShowModal(), and wxID_OK.

◆ OnShiftTab()

void MainFrame::OnShiftTab ( wxCommandEvent event)
private

◆ OnShowLogManager()

void MainFrame::OnShowLogManager ( CodeBlocksLogEvent event)
private

Definition at line 5053 of file main.cpp.

References _T, and Manager::Get().

Referenced by RegisterEvents().

◆ OnSize()

void MainFrame::OnSize ( wxSizeEvent event)
private

Definition at line 2699 of file main.cpp.

References wxRect::GetPosition(), wxRect::GetSize(), and wxRect::SetPosition().

Referenced by cbStatusBar::cbStatusBar().

◆ OnStartHereLink()

void MainFrame::OnStartHereLink ( wxCommandEvent event)
private

◆ OnSwitchTabs()

void MainFrame::OnSwitchTabs ( wxCommandEvent event)
private

◆ OnSwitchToLogWindow()

void MainFrame::OnSwitchToLogWindow ( CodeBlocksLogEvent event)
private

Definition at line 5031 of file main.cpp.

References CodeBlocksLogEvent::logger, and CodeBlocksLogEvent::window.

Referenced by RegisterEvents().

◆ OnToggleBar()

void MainFrame::OnToggleBar ( wxCommandEvent event)
private

◆ OnToggleFullScreen()

void MainFrame::OnToggleFullScreen ( wxCommandEvent event)
private

◆ OnToggleStartPage()

void MainFrame::OnToggleStartPage ( wxCommandEvent event)
private

Definition at line 4625 of file main.cpp.

References g_StartHereTitle, Manager::Get(), and NULL.

◆ OnToggleStatusBar()

void MainFrame::OnToggleStatusBar ( wxCommandEvent event)
private

◆ OnToolBarRightClick()

void MainFrame::OnToolBarRightClick ( wxCommandEvent event)
private

Definition at line 5146 of file main.cpp.

Referenced by CreateToolbars(), DoAddPlugin(), OnApplicationClose(), and OnPluginUnloaded().

◆ OnUnlockLogManager()

void MainFrame::OnUnlockLogManager ( CodeBlocksLogEvent event)
private

Definition at line 5079 of file main.cpp.

References _T, and Manager::Get().

Referenced by RegisterEvents().

◆ OnViewHideEditorTabs()

void MainFrame::OnViewHideEditorTabs ( wxCommandEvent event)
private

◆ OnViewLayout()

void MainFrame::OnViewLayout ( wxCommandEvent event)
private

Definition at line 3855 of file main.cpp.

Referenced by SaveViewLayout().

◆ OnViewLayoutDelete()

void MainFrame::OnViewLayoutDelete ( wxCommandEvent event)
private

◆ OnViewLayoutSave()

void MainFrame::OnViewLayoutSave ( wxCommandEvent event)
private

◆ OnViewMenuUpdateUI()

void MainFrame::OnViewMenuUpdateUI ( wxUpdateUIEvent event)
private

◆ OnViewScriptConsole()

void MainFrame::OnViewScriptConsole ( wxCommandEvent event)
private

Definition at line 3955 of file main.cpp.

◆ OnViewToolbarsFit()

void MainFrame::OnViewToolbarsFit ( wxCommandEvent event)
private

Definition at line 4462 of file main.cpp.

◆ OnViewToolbarsOptimize()

void MainFrame::OnViewToolbarsOptimize ( wxCommandEvent event)
private

Definition at line 4468 of file main.cpp.

◆ Open()

bool MainFrame::Open ( const wxString filename,
bool  addToHistory = true 
)

◆ OpenGeneric()

bool MainFrame::OpenGeneric ( const wxString filename,
bool  addToHistory = true 
)

◆ operator=()

MainFrame& MainFrame::operator= ( cb_unused const MainFrame rhs)
inline

Definition at line 64 of file main.h.

References _T, and cbThrow.

◆ PluginsUpdated()

void MainFrame::PluginsUpdated ( cbPlugin plugin,
int  status 
)
protected

◆ PopupToggleToolbarMenu()

void MainFrame::PopupToggleToolbarMenu ( )
private

◆ RecreateMenuBar()

void MainFrame::RecreateMenuBar ( )
protected

Definition at line 939 of file main.cpp.

◆ RegisterEvents()

void MainFrame::RegisterEvents ( )
protected

◆ RegisterScriptFunctions()

void MainFrame::RegisterScriptFunctions ( )
protected

Definition at line 852 of file main.cpp.

References Open().

◆ RemoveEditorFromWindowMenu()

void MainFrame::RemoveEditorFromWindowMenu ( const wxString filename)
protected

◆ RunStartupScripts()

void MainFrame::RunStartupScripts ( )
protected

◆ SaveViewLayout()

void MainFrame::SaveViewLayout ( const wxString name,
const wxString layout,
const wxString layoutMP,
bool  select = false 
)
protected

◆ SaveWindowState()

void MainFrame::SaveWindowState ( )
protected

◆ ScanForPlugins()

void MainFrame::ScanForPlugins ( )
protected

◆ SetChecksForViewToolbarsMenu()

void MainFrame::SetChecksForViewToolbarsMenu ( wxMenu menu)
private

◆ SetupDebuggerUI()

void MainFrame::SetupDebuggerUI ( )
protected

◆ SetupGUILogging()

void MainFrame::SetupGUILogging ( )
protected

◆ ShowHideScriptConsole()

void MainFrame::ShowHideScriptConsole ( )
protected

◆ ShowHideStartPage()

void MainFrame::ShowHideStartPage ( bool  forceHasProject = false,
int  forceState = 0 
)
protected

◆ ShowOpenFileDialog()

wxString MainFrame::ShowOpenFileDialog ( const wxString caption,
const wxString filter 
)

◆ ShowTips()

void MainFrame::ShowTips ( bool  forceShow = false)

◆ StartupDone()

void MainFrame::StartupDone ( )

Definition at line 5125 of file main.cpp.

Referenced by CodeBlocksApp::OnInit().

◆ TerminateRecentFilesHistory()

void MainFrame::TerminateRecentFilesHistory ( )
protected

Definition at line 2248 of file main.cpp.

Member Data Documentation

◆ m_AutoHideLockCounter

int MainFrame::m_AutoHideLockCounter
protected

Definition at line 385 of file main.h.

◆ m_debuggerMenuHandler

DebuggerMenuHandler* MainFrame::m_debuggerMenuHandler
protected

Definition at line 402 of file main.h.

◆ m_debuggerToolbarHandler

DebuggerToolbarHandler* MainFrame::m_debuggerToolbarHandler
protected

Definition at line 403 of file main.h.

◆ m_filesHistory

RecentItemsList MainFrame::m_filesHistory
protected

Definition at line 361 of file main.h.

◆ m_findReplace

FindReplace MainFrame::m_findReplace
protected

Definition at line 405 of file main.h.

◆ m_HelpPluginsMenu

wxMenu* MainFrame::m_HelpPluginsMenu
protected

Definition at line 378 of file main.h.

◆ m_InitiatedShutdown

bool MainFrame::m_InitiatedShutdown
protected

Definition at line 383 of file main.h.

◆ m_LastCtrlAltTabWindow

int MainFrame::m_LastCtrlAltTabWindow
protected

Last window focussed in the cycle 1 = Mgmt. panel, 2 = Editor, 3 = Logs & others.

Definition at line 386 of file main.h.

◆ m_LastLayoutData

wxString MainFrame::m_LastLayoutData
protected

Definition at line 390 of file main.h.

◆ m_LastLayoutIsTemp

bool MainFrame::m_LastLayoutIsTemp
protected

Definition at line 392 of file main.h.

◆ m_LastLayoutName

wxString MainFrame::m_LastLayoutName
protected

Definition at line 389 of file main.h.

◆ m_LastMessagePaneLayoutData

wxString MainFrame::m_LastMessagePaneLayoutData
protected

Definition at line 391 of file main.h.

◆ m_LayoutManager

wxAuiManager MainFrame::m_LayoutManager
private

Definition at line 72 of file main.h.

◆ m_LayoutMessagePane

LayoutViewsMap MainFrame::m_LayoutMessagePane
private

Definition at line 74 of file main.h.

◆ m_LayoutViews

LayoutViewsMap MainFrame::m_LayoutViews
private

Definition at line 73 of file main.h.

◆ m_MenuIDToScript

MenuIDToScript MainFrame::m_MenuIDToScript
protected

Definition at line 397 of file main.h.

◆ m_pAccel

wxAcceleratorTable* MainFrame::m_pAccel

Definition at line 78 of file main.h.

◆ m_pBatchBuildDialog

wxScrollingDialog* MainFrame::m_pBatchBuildDialog
protected

Definition at line 399 of file main.h.

◆ m_pCloseFullScreenBtn

wxButton* MainFrame::m_pCloseFullScreenBtn
protected

"Close FullScreen" button. Only shown when in FullScreen view

Definition at line 364 of file main.h.

◆ m_pEdMan

EditorManager* MainFrame::m_pEdMan
protected

Definition at line 366 of file main.h.

◆ m_pHighlightButton

wxButton* MainFrame::m_pHighlightButton
protected

Definition at line 400 of file main.h.

◆ m_pInfoPane

InfoPane* MainFrame::m_pInfoPane
protected

Definition at line 370 of file main.h.

◆ m_pLogMan

LogManager* MainFrame::m_pLogMan
protected

Definition at line 369 of file main.h.

◆ m_PluginIDsMap

PluginIDsMap MainFrame::m_PluginIDsMap
protected

Definition at line 375 of file main.h.

◆ m_PluginsMenu

wxMenu* MainFrame::m_PluginsMenu
protected

Definition at line 377 of file main.h.

◆ m_PluginsTools

PluginToolbarsMap MainFrame::m_PluginsTools
protected

Definition at line 373 of file main.h.

◆ m_pPrjMan

ProjectManager* MainFrame::m_pPrjMan
protected

Definition at line 367 of file main.h.

◆ m_pPrjManUI

cbProjectManagerUI* MainFrame::m_pPrjManUI
protected

Definition at line 368 of file main.h.

◆ m_PreviousLayoutName

wxString MainFrame::m_PreviousLayoutName
protected

Definition at line 388 of file main.h.

◆ m_projectsHistory

RecentItemsList MainFrame::m_projectsHistory
protected

Definition at line 361 of file main.h.

◆ m_pScriptConsole

wxWindow* MainFrame::m_pScriptConsole
protected

Definition at line 394 of file main.h.

◆ m_pToolbar

wxToolBar* MainFrame::m_pToolbar
protected

Definition at line 372 of file main.h.

◆ m_ScanningForPlugins

bool MainFrame::m_ScanningForPlugins
protected

Definition at line 379 of file main.h.

◆ m_SmallToolBar

bool MainFrame::m_SmallToolBar
protected

Definition at line 381 of file main.h.

◆ m_StartupDone

bool MainFrame::m_StartupDone
protected

Definition at line 382 of file main.h.

◆ m_ToolsMenu

wxMenu* MainFrame::m_ToolsMenu
protected

Definition at line 376 of file main.h.


The documentation for this class was generated from the following files: