Code::Blocks  SVN r11506
Macros | Functions
switcherdlg.cpp File Reference
#include <wx/wx.h>
#include <wx/settings.h>
#include <wx/dcbuffer.h>
#include "switcherdlg.h"
#include <wx/arrimpl.cpp>
Include dependency graph for switcherdlg.cpp:

Go to the source code of this file.

Macros

#define wxSWITCHER_TEXT_MARGIN_X   4
 
#define wxSWITCHER_TEXT_MARGIN_Y   2
 
#define wxSWITCHER_USE_BUFFERED_PAINTING   1
 

Functions

 WX_DEFINE_OBJARRAY (wxSwitcherItemArray)
 
static wxString ColourToHexString (const wxColour &col)
 

Macro Definition Documentation

◆ wxSWITCHER_TEXT_MARGIN_X

#define wxSWITCHER_TEXT_MARGIN_X   4

◆ wxSWITCHER_TEXT_MARGIN_Y

#define wxSWITCHER_TEXT_MARGIN_Y   2

Definition at line 24 of file switcherdlg.cpp.

Referenced by wxSwitcherItems::CalculateItemSize().

◆ wxSWITCHER_USE_BUFFERED_PAINTING

#define wxSWITCHER_USE_BUFFERED_PAINTING   1

Definition at line 25 of file switcherdlg.cpp.

Function Documentation

◆ ColourToHexString()

static wxString ColourToHexString ( const wxColour col)
static

Definition at line 996 of file switcherdlg.cpp.

References wxColour::Blue(), wxColour::Green(), and wxColour::Red().

Referenced by wxSwitcherDialog::ShowDescription().

◆ WX_DEFINE_OBJARRAY()

WX_DEFINE_OBJARRAY ( wxSwitcherItemArray  )