Code::Blocks
SVN r11506
|
#include <switcherdlg.h>
Protected Attributes | |
wxSwitcherItemArray | m_items |
int | m_selection |
int | m_rowCount |
int | m_columnCount |
wxColour | m_backgroundColour |
wxColour | m_textColour |
wxColour | m_selectionColour |
wxColour | m_selectionOutlineColour |
wxColour | m_selectionTextColour |
wxFont | m_itemFont |
wxSwitcherItems An object containing switcher items
Definition at line 107 of file switcherdlg.h.
|
inline |
Definition at line 111 of file switcherdlg.h.
References wxSwitcherItem::Init().
|
inline |
Definition at line 112 of file switcherdlg.h.
References wxSwitcherItem::Copy(), wxSwitcherItem::Init(), and wxSwitcherItem::operator==().
wxSwitcherItem & wxSwitcherItems::AddGroup | ( | const wxString & | title, |
const wxString & | name, | ||
int | id = 0 , |
||
const wxBitmap & | bitmap = wxNullBitmap |
||
) |
Definition at line 181 of file switcherdlg.cpp.
References wxSwitcherItem::SetIsGroup().
Referenced by MainFrame::OnSwitchTabs().
wxSwitcherItem & wxSwitcherItems::AddItem | ( | const wxString & | title, |
const wxString & | name, | ||
int | id = 0 , |
||
const wxBitmap & | bitmap = wxNullBitmap |
||
) |
Definition at line 152 of file switcherdlg.cpp.
References wxSwitcherItem::SetBitmap(), wxSwitcherItem::SetId(), wxSwitcherItem::SetName(), and wxSwitcherItem::SetTitle().
Referenced by MainFrame::OnSwitchTabs().
wxSwitcherItem & wxSwitcherItems::AddItem | ( | const wxString & | title, |
const wxString & | name, | ||
const wxString & | descr, | ||
int | id = 0 , |
||
const wxBitmap & | bitmap = wxNullBitmap |
||
) |
Definition at line 163 of file switcherdlg.cpp.
References wxSwitcherItem::SetBitmap(), wxSwitcherItem::SetDescription(), wxSwitcherItem::SetId(), wxSwitcherItem::SetName(), and wxSwitcherItem::SetTitle().
wxSwitcherItem & wxSwitcherItems::AddItem | ( | const wxSwitcherItem & | item | ) |
Definition at line 175 of file switcherdlg.cpp.
Definition at line 342 of file switcherdlg.cpp.
References wxSystemSettings::GetFont(), wxSwitcherItem::GetFont(), wxSwitcherItem::GetIsGroup(), wxSwitcherItem::GetTitle(), wxFont::SetWeight(), wxFONTWEIGHT_BOLD, wxSWITCHER_TEXT_MARGIN_X, wxSWITCHER_TEXT_MARGIN_Y, and wxSYS_DEFAULT_GUI_FONT.
void wxSwitcherItems::Clear | ( | ) |
Definition at line 189 of file switcherdlg.cpp.
void wxSwitcherItems::Copy | ( | const wxSwitcherItems & | items | ) |
Definition at line 130 of file switcherdlg.cpp.
References m_backgroundColour, m_columnCount, m_itemFont, m_items, m_rowCount, m_selection, m_selectionColour, m_selectionOutlineColour, m_selectionTextColour, wxSwitcherItem::m_textColour, and m_textColour.
int wxSwitcherItems::FindItemById | ( | int | id | ) | const |
Definition at line 206 of file switcherdlg.cpp.
References wxSwitcherItem::GetId().
int wxSwitcherItems::FindItemByName | ( | const wxString & | name | ) | const |
Definition at line 194 of file switcherdlg.cpp.
References wxSwitcherItem::GetName().
|
inline |
Definition at line 160 of file switcherdlg.h.
|
inline |
Definition at line 157 of file switcherdlg.h.
int wxSwitcherItems::GetIndexForFocus | ( | ) | const |
Definition at line 396 of file switcherdlg.cpp.
References wxSwitcherItem::GetWindow(), and wxNOT_FOUND.
Referenced by MainFrame::OnSwitchTabs().
const wxSwitcherItem & wxSwitcherItems::GetItem | ( | int | i | ) | const |
Definition at line 230 of file switcherdlg.cpp.
Referenced by MainFrame::OnSwitchTabs().
wxSwitcherItem & wxSwitcherItems::GetItem | ( | int | i | ) |
Definition at line 235 of file switcherdlg.cpp.
|
inline |
Definition at line 151 of file switcherdlg.h.
Referenced by MainFrame::OnSwitchTabs().
|
inline |
Definition at line 175 of file switcherdlg.h.
|
inline |
Definition at line 154 of file switcherdlg.h.
|
inline |
Definition at line 140 of file switcherdlg.h.
|
inline |
Definition at line 166 of file switcherdlg.h.
|
inline |
Definition at line 169 of file switcherdlg.h.
|
inline |
Definition at line 172 of file switcherdlg.h.
|
inline |
Definition at line 163 of file switcherdlg.h.
References wxSwitcherItem::m_textColour.
int wxSwitcherItems::HitTest | ( | const wxPoint & | pt | ) | const |
Definition at line 412 of file switcherdlg.cpp.
References wxRect::Contains(), wxSwitcherItem::GetIsGroup(), wxSwitcherItem::GetRect(), wxMultiColumnListCtrl::OnChar(), wxMultiColumnListCtrl::OnEraseBackground(), wxMultiColumnListCtrl::OnKey(), wxMultiColumnListCtrl::OnMouseEvent(), wxMultiColumnListCtrl::OnPaint(), and wxNOT_FOUND.
void wxSwitcherItems::Init | ( | ) |
Definition at line 112 of file switcherdlg.cpp.
References wxSystemSettings::GetColour(), and wxSYS_COLOUR_WINDOWTEXT.
|
inline |
Definition at line 120 of file switcherdlg.h.
References wxSwitcherItem::Copy(), wxSwitcherItem::Init(), and wxNullBitmap.
bool wxSwitcherItems::operator== | ( | const wxSwitcherItems & | items | ) | const |
wxSwitcherItems An object containing switcher items
Definition at line 89 of file switcherdlg.cpp.
References wxSwitcherItem::m_textColour.
Definition at line 240 of file switcherdlg.cpp.
References wxRect::Deflate(), wxSwitcherItem::GetBitmap(), wxSystemSettings::GetColour(), wxFont::GetFaceName(), wxFont::GetFamily(), wxSystemSettings::GetFont(), wxSwitcherItem::GetFont(), wxBitmap::GetHeight(), wxSwitcherItem::GetIsGroup(), wxFont::GetPointSize(), wxSwitcherItem::GetRect(), wxFont::GetStyle(), wxSwitcherItem::GetTextColour(), wxSwitcherItem::GetTitle(), wxFont::GetUnderlined(), wxBitmap::GetWidth(), wxRect::height, wxFont::SetWeight(), wxCOPY, wxFONTWEIGHT_BOLD, wxSWITCHER_TEXT_MARGIN_X, wxSYS_COLOUR_3DFACE, wxSYS_COLOUR_HIGHLIGHT, wxSYS_COLOUR_HIGHLIGHTTEXT, wxSYS_COLOUR_WINDOWTEXT, wxSYS_DEFAULT_GUI_FONT, wxTRANSPARENT_PEN, wxRect::x, and wxRect::y.
|
inline |
Definition at line 159 of file switcherdlg.h.
|
inline |
Definition at line 156 of file switcherdlg.h.
|
inline |
Definition at line 174 of file switcherdlg.h.
|
inline |
Definition at line 153 of file switcherdlg.h.
void wxSwitcherItems::SetSelection | ( | int | sel | ) |
Definition at line 218 of file switcherdlg.cpp.
Referenced by MainFrame::OnSwitchTabs().
void wxSwitcherItems::SetSelection | ( | const wxString & | name | ) |
Definition at line 223 of file switcherdlg.cpp.
|
inline |
Definition at line 165 of file switcherdlg.h.
|
inline |
Definition at line 168 of file switcherdlg.h.
|
inline |
Definition at line 171 of file switcherdlg.h.
|
inline |
Definition at line 162 of file switcherdlg.h.
References wxSwitcherItem::m_textColour.
|
protected |
Definition at line 189 of file switcherdlg.h.
Referenced by Copy().
|
protected |
Definition at line 187 of file switcherdlg.h.
Referenced by Copy().
|
protected |
Definition at line 195 of file switcherdlg.h.
Referenced by Copy().
|
protected |
Definition at line 184 of file switcherdlg.h.
Referenced by Copy().
|
protected |
Definition at line 186 of file switcherdlg.h.
Referenced by Copy().
|
protected |
Definition at line 185 of file switcherdlg.h.
Referenced by Copy().
|
protected |
Definition at line 191 of file switcherdlg.h.
Referenced by Copy().
|
protected |
Definition at line 192 of file switcherdlg.h.
Referenced by Copy().
|
protected |
Definition at line 193 of file switcherdlg.h.
Referenced by Copy().
|
protected |
Definition at line 190 of file switcherdlg.h.
Referenced by Copy().