Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

Public Member Functions | Static Public Member Functions | Protected Attributes | Static Protected Attributes | Private Member Functions | Private Attributes

EditorConfigurationDlg Class Reference

Inheritance diagram for EditorConfigurationDlg:
Inheritance graph
[legend]
Collaboration diagram for EditorConfigurationDlg:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void AddButtonId (wxWindowID id)
 Add an id to the list of custom button identifiers that should be in the button sizer.
virtual bool CanDoLayoutAdaptation ()
 Can we do the adaptation?
bool Create (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"))
virtual bool DoLayoutAdaptation ()
 Do the adaptation.
 EditorConfigurationDlg (wxWindow *parent)
void EndModal (int retCode)
wxArrayInt & GetButtonIds ()
virtual wxWindow * GetContentWindow () const
 Returns a content window if there is one.
wxDialog * GetDialog () const
bool GetLayoutAdaptationDone () const
int GetLayoutAdaptationLevel () const
 Get level of adaptation.
void Init ()
bool IsUserButtonId (wxWindowID id)
 Is this id in the custom button id array?
void OnAddColourTheme (wxCommandEvent &event)
void OnAutoCompAdd (wxCommandEvent &event)
void OnAutoCompDelete (wxCommandEvent &event)
void OnAutoCompKeyword (wxCommandEvent &event)
void OnBoldItalicUline (wxCommandEvent &event)
void OnChangeDefCodeFileType (wxCommandEvent &event)
void OnChangeLang (wxCommandEvent &event)
void OnChooseColour (wxCommandEvent &event)
void OnChooseFont (wxCommandEvent &event)
void OnColourComponent (wxCommandEvent &event)
void OnColoursReset (wxCommandEvent &event)
void OnColourTheme (wxCommandEvent &event)
void OnDeleteColourTheme (wxCommandEvent &event)
void OnDynamicCheck (wxCommandEvent &event)
void OnEditFilemasks (wxCommandEvent &event)
void OnEditKeywords (wxCommandEvent &event)
void OnHighlightOccurrences (wxCommandEvent &event)
void OnMultipleSelections (wxCommandEvent &event)
void OnRenameColourTheme (wxCommandEvent &event)
void SetDialog (wxDialog *dialog)
void SetLayoutAdaptationDone (bool adaptationDone)
 Returns true if the adaptation has been done.
void SetLayoutAdaptationLevel (int level)
virtual bool Show (bool show=true)
 Override Show to rejig the control and sizer hierarchy if necessary.
virtual int ShowModal ()
 Override ShowModal to rejig the control and sizer hierarchy if necessary.
void UpdateSampleFont (bool askForNewFont)

Static Public Member Functions

static bool GetLayoutAdaptation ()
 Global switch for layout adaptation.
static wxDialogLayoutAdapterGetLayoutAdapter ()
static void SetLayoutAdaptation (bool enable)
static wxDialogLayoutAdapterSetLayoutAdapter (wxDialogLayoutAdapter *adapter)
 Set layout adapter class, returning old adapter.

Protected Attributes

wxArrayInt m_buttonIds
wxDialog * m_dialog
int m_layoutAdaptationLevel
bool m_layoutLayoutAdaptationDone

Static Protected Attributes

static bool sm_layoutAdaptation = true
static wxDialogLayoutAdaptersm_layoutAdapter = NULL

Private Member Functions

void AddPluginPanels ()
void ApplyColours ()
bool AskToSaveTheme ()
void AutoCompUpdate (int index)
void ChangeTheme ()
void CreateAutoCompText ()
void CreateColoursSample ()
void FillColourComponents ()
void LoadThemes ()
void OnPageChanged (wxListbookEvent &event)
void ReadColours ()
void UpdateListbookImages ()
void WriteColours ()

Private Attributes

AutoCompleteMap m_AutoCompMap
cbStyledTextCtrlm_AutoCompTextControl
wxArrayString m_DefaultCode
 will store the default code during configuration for each type
int m_DefCodeFileType
bool m_EnableChangebar
bool m_EnableScrollWidthTracking
wxString m_FontString
HighlightLanguage m_Lang
int m_LastAutoCompKeyword
ConfigurationPanelsArray m_PluginPanels
cbStyledTextCtrlm_TextColourControl
EditorColourSetm_Theme
bool m_ThemeModified

Detailed Description

Definition at line 18 of file editorconfigurationdlg.h.


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

Generated by  Doxygen 1.6.0   Back to index