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

#include <editorconfigurationdlg.h>

Inheritance diagram for EditorConfigurationDlg:
Collaboration diagram for EditorConfigurationDlg:

Classes

struct  MenuItemLanguageOptionID
 

Public Member Functions

 EditorConfigurationDlg (wxWindow *parent)
 
 ~EditorConfigurationDlg ()
 
- Public Member Functions inherited from wxScrollingDialog
 wxScrollingDialog ()
 
 wxScrollingDialog (wxWindow *parent, int id=wxID_ANY, const wxString &title=wxEmptyString, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxDEFAULT_DIALOG_STYLE, const wxString &name=_("dialogBox"))
 
- Public Member Functions inherited from wxDialog
virtual int ShowModal ()
 

Private Types

typedef std::map< long, MenuItemLanguageOptionIDMenuIDToLanguageOption
 

Private Member Functions

void OnChooseFont (wxCommandEvent &event)
 
void OnChooseColour (wxCommandEvent &event)
 
void OnSetDefaultColour (wxCommandEvent &event)
 
void OnBoldItalicUline (wxCommandEvent &event)
 
void OnColourTheme (wxCommandEvent &event)
 
void OnAddColourTheme (wxCommandEvent &event)
 
void OnDeleteColourTheme (wxCommandEvent &event)
 
void OnRenameColourTheme (wxCommandEvent &event)
 
void OnColourComponent (wxCommandEvent &event)
 
void OnColoursReset (wxCommandEvent &event)
 
void OnColoursCopyFrom (wxCommandEvent &event)
 
void OnMenuColoursCopyFrom (wxCommandEvent &event)
 
void OnColoursCopyAllFrom (wxCommandEvent &event)
 
void OnMenuColoursCopyAllFrom (wxCommandEvent &event)
 
void OnEditKeywords (wxCommandEvent &event)
 
void OnEditFilemasks (wxCommandEvent &event)
 
void OnChangeLang (wxCommandEvent &event)
 
void OnChangeDefCodeFileType (wxCommandEvent &event)
 
void OnDynamicCheck (wxCommandEvent &event)
 
void OnHighlightOccurrences (wxCommandEvent &event)
 
void OnMultipleSelections (wxCommandEvent &event)
 
void UpdateSampleFont (bool askForNewFont)
 
void OnCaretStyle (wxCommandEvent &event)
 
void EndModal (int retCode)
 
void OnPageChanged (wxListbookEvent &event)
 
void AddPluginPanels ()
 
void LoadListbookImages ()
 
void UpdateListbookImages ()
 
void CreateColoursSample ()
 
void ApplyColours ()
 
void FillColourComponents ()
 
void ReadColours ()
 
void WriteColours ()
 
void LoadThemes ()
 
void ChangeTheme ()
 
bool AskToSaveTheme ()
 
void UpdateColourControls (const OptionColour *opt)
 

Private Attributes

cbStyledTextCtrlm_TextColourControl
 
EditorColourSetm_Theme
 
HighlightLanguage m_Lang
 
int m_DefCodeFileType
 
wxArrayString m_DefaultCode
 will store the default code during configuration for each type More...
 
bool m_ThemeModified
 
ConfigurationPanelsArray m_PluginPanels
 
wxString m_FontString
 
bool m_EnableChangebar
 
bool m_EnableScrollWidthTracking
 
MenuIDToLanguageOption m_MenuIDToLanguageOption
 
wxImageListm_pImageList
 

Detailed Description

Definition at line 19 of file editorconfigurationdlg.h.


Class Documentation

◆ EditorConfigurationDlg::MenuItemLanguageOptionID

struct EditorConfigurationDlg::MenuItemLanguageOptionID

Definition at line 66 of file editorconfigurationdlg.h.

Collaboration diagram for EditorConfigurationDlg::MenuItemLanguageOptionID:
Class Members
int index
wxString langID

Member Typedef Documentation

◆ MenuIDToLanguageOption

Definition at line 71 of file editorconfigurationdlg.h.

Constructor & Destructor Documentation

◆ EditorConfigurationDlg()

EditorConfigurationDlg::EditorConfigurationDlg ( wxWindow parent)

◆ ~EditorConfigurationDlg()

EditorConfigurationDlg::~EditorConfigurationDlg ( )

Definition at line 279 of file editorconfigurationdlg.cpp.

References m_pImageList, m_TextColourControl, and m_Theme.

Member Function Documentation

◆ AddPluginPanels()

void EditorConfigurationDlg::AddPluginPanels ( )
private

◆ ApplyColours()

void EditorConfigurationDlg::ApplyColours ( )
private

◆ AskToSaveTheme()

bool EditorConfigurationDlg::AskToSaveTheme ( )
private

◆ ChangeTheme()

void EditorConfigurationDlg::ChangeTheme ( )
private

◆ CreateColoursSample()

void EditorConfigurationDlg::CreateColoursSample ( )
private

◆ EndModal()

void EditorConfigurationDlg::EndModal ( int  retCode)
private

◆ FillColourComponents()

void EditorConfigurationDlg::FillColourComponents ( )
private

◆ LoadListbookImages()

void EditorConfigurationDlg::LoadListbookImages ( )
private

◆ LoadThemes()

void EditorConfigurationDlg::LoadThemes ( )
private

◆ OnAddColourTheme()

void EditorConfigurationDlg::OnAddColourTheme ( wxCommandEvent event)
private

◆ OnBoldItalicUline()

void EditorConfigurationDlg::OnBoldItalicUline ( wxCommandEvent event)
private

Definition at line 983 of file editorconfigurationdlg.cpp.

References WriteColours().

◆ OnCaretStyle()

void EditorConfigurationDlg::OnCaretStyle ( wxCommandEvent event)
private

Definition at line 554 of file editorconfigurationdlg.cpp.

References wxSCI_CARETSTYLE_LINE.

◆ OnChangeDefCodeFileType()

void EditorConfigurationDlg::OnChangeDefCodeFileType ( wxCommandEvent event)
private

Definition at line 928 of file editorconfigurationdlg.cpp.

References m_DefaultCode, and m_DefCodeFileType.

◆ OnChangeLang()

void EditorConfigurationDlg::OnChangeLang ( wxCommandEvent event)
private

◆ OnChooseColour()

void EditorConfigurationDlg::OnChooseColour ( wxCommandEvent event)
private

◆ OnChooseFont()

void EditorConfigurationDlg::OnChooseFont ( wxCommandEvent event)
private

Definition at line 973 of file editorconfigurationdlg.cpp.

References UpdateSampleFont().

◆ OnColourComponent()

void EditorConfigurationDlg::OnColourComponent ( wxCommandEvent event)
private

Definition at line 978 of file editorconfigurationdlg.cpp.

References ReadColours().

◆ OnColoursCopyAllFrom()

void EditorConfigurationDlg::OnColoursCopyAllFrom ( wxCommandEvent event)
private

◆ OnColoursCopyFrom()

void EditorConfigurationDlg::OnColoursCopyFrom ( wxCommandEvent event)
private

◆ OnColoursReset()

void EditorConfigurationDlg::OnColoursReset ( wxCommandEvent event)
private

◆ OnColourTheme()

void EditorConfigurationDlg::OnColourTheme ( wxCommandEvent event)
private

◆ OnDeleteColourTheme()

void EditorConfigurationDlg::OnDeleteColourTheme ( wxCommandEvent event)
private

◆ OnDynamicCheck()

void EditorConfigurationDlg::OnDynamicCheck ( wxCommandEvent event)
private

Definition at line 988 of file editorconfigurationdlg.cpp.

◆ OnEditFilemasks()

void EditorConfigurationDlg::OnEditFilemasks ( wxCommandEvent event)
private

◆ OnEditKeywords()

void EditorConfigurationDlg::OnEditKeywords ( wxCommandEvent event)
private

◆ OnHighlightOccurrences()

void EditorConfigurationDlg::OnHighlightOccurrences ( wxCommandEvent event)
private

◆ OnMenuColoursCopyAllFrom()

void EditorConfigurationDlg::OnMenuColoursCopyAllFrom ( wxCommandEvent event)
private

◆ OnMenuColoursCopyFrom()

void EditorConfigurationDlg::OnMenuColoursCopyFrom ( wxCommandEvent event)
private

◆ OnMultipleSelections()

void EditorConfigurationDlg::OnMultipleSelections ( wxCommandEvent event)
private

Definition at line 1193 of file editorconfigurationdlg.cpp.

◆ OnPageChanged()

void EditorConfigurationDlg::OnPageChanged ( wxListbookEvent &  event)
private

Definition at line 364 of file editorconfigurationdlg.cpp.

References UpdateListbookImages().

◆ OnRenameColourTheme()

void EditorConfigurationDlg::OnRenameColourTheme ( wxCommandEvent event)
private

◆ OnSetDefaultColour()

void EditorConfigurationDlg::OnSetDefaultColour ( wxCommandEvent event)
private

◆ ReadColours()

void EditorConfigurationDlg::ReadColours ( )
private

◆ UpdateColourControls()

void EditorConfigurationDlg::UpdateColourControls ( const OptionColour opt)
private

◆ UpdateListbookImages()

void EditorConfigurationDlg::UpdateListbookImages ( )
private

◆ UpdateSampleFont()

void EditorConfigurationDlg::UpdateSampleFont ( bool  askForNewFont)
private

◆ WriteColours()

void EditorConfigurationDlg::WriteColours ( )
private

Member Data Documentation

◆ m_DefaultCode

wxArrayString EditorConfigurationDlg::m_DefaultCode
private

will store the default code during configuration for each type

Definition at line 77 of file editorconfigurationdlg.h.

Referenced by EndModal(), and OnChangeDefCodeFileType().

◆ m_DefCodeFileType

int EditorConfigurationDlg::m_DefCodeFileType
private

Definition at line 76 of file editorconfigurationdlg.h.

Referenced by OnChangeDefCodeFileType().

◆ m_EnableChangebar

bool EditorConfigurationDlg::m_EnableChangebar
private

Definition at line 81 of file editorconfigurationdlg.h.

Referenced by EndModal().

◆ m_EnableScrollWidthTracking

bool EditorConfigurationDlg::m_EnableScrollWidthTracking
private

Definition at line 82 of file editorconfigurationdlg.h.

◆ m_FontString

wxString EditorConfigurationDlg::m_FontString
private

Definition at line 80 of file editorconfigurationdlg.h.

Referenced by UpdateSampleFont().

◆ m_Lang

HighlightLanguage EditorConfigurationDlg::m_Lang
private

◆ m_MenuIDToLanguageOption

MenuIDToLanguageOption EditorConfigurationDlg::m_MenuIDToLanguageOption
private

◆ m_pImageList

wxImageList* EditorConfigurationDlg::m_pImageList
private

◆ m_PluginPanels

ConfigurationPanelsArray EditorConfigurationDlg::m_PluginPanels
private

Definition at line 79 of file editorconfigurationdlg.h.

Referenced by AddPluginPanels(), EndModal(), and UpdateListbookImages().

◆ m_TextColourControl

cbStyledTextCtrl* EditorConfigurationDlg::m_TextColourControl
private

◆ m_Theme

EditorColourSet* EditorConfigurationDlg::m_Theme
private

◆ m_ThemeModified

bool EditorConfigurationDlg::m_ThemeModified
private

Definition at line 78 of file editorconfigurationdlg.h.

Referenced by AskToSaveTheme(), ChangeTheme(), OnColoursReset(), and WriteColours().


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