#include <barholder.h>
Collaboration diagram for wxBarHolder:
Public Member Functions | |
wxBarHolder () | |
wxBarHolder (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxT("barholder")) | |
void | Init () |
bool | Create (wxWindow *parent, wxWindowID id=-1, const wxPoint &pos=wxDefaultPosition, const wxSize &size=wxDefaultSize, long style=wxTAB_TRAVERSAL, const wxString &name=wxT("barholder")) |
virtual | ~wxBarHolder () |
void | AddWindow (wxWindow *pWindow, const wxString &label=wxT(""), unsigned int flags=wxBF_DEFAULT) |
void | SetSlideBar (wxSlideBar *pSlideBar) |
void | ShowGripper (bool state) |
void | SetHeightOverride (int override) |
void | SetWidthOverride (int override) |
void | SetFlags (unsigned int flags) |
unsigned int | GetFlags () |
wxString | GetLabel () |
virtual wxSize | DoGetBestSize () const |
void | UpdateSize () |
void | OnErase (wxEraseEvent &event) |
void | OnPaint (wxPaintEvent &event) |
void | OnGripBegin (wxMouseEvent &event) |
void | OnGripEnd (wxMouseEvent &event) |
void | OnGripMotion (wxMouseEvent &event) |
Private Member Functions | |
wxSize | getNonClientSize () const |
wxSize | getClientBestSize (wxWindow *pClient) const |
Private Attributes | |
wxSlideBar * | pSlideBar_ |
wxWindow * | pOurBar_ |
wxGripWindow * | pGripWindow_ |
wxString | label_ |
int | margin_ |
int | heightOverride_ |
int | widthOverride_ |
bool | showGripper_ |
unsigned int | flags_ |
wxSize | originalSize_ |
bool | moving_ |
|
Definition at line 38 of file barholder.h. |
|
Definition at line 43 of file barholder.h. |
|
Definition at line 68 of file barholder.cpp. |
|
Definition at line 71 of file barholder.cpp. References flags_, getClientBestSize(), label_, originalSize_, pGripWindow_, pOurBar_, wxGripWindow::SetLabel(), and UpdateSize(). Referenced by wxSlideBar::AddWindow(). |
|
Definition at line 52 of file barholder.cpp. References pGripWindow_, and wxFULL_REPAINT_ON_RESIZE. Referenced by wxBarHolder(). |
|
Definition at line 101 of file barholder.cpp. References getNonClientSize(), GRIP_SIZE, margin_, originalSize_, and showGripper_. |
|
Definition at line 271 of file barholder.cpp. Referenced by AddWindow(). |
|
Definition at line 178 of file barholder.cpp. References flags_. |
|
Definition at line 182 of file barholder.cpp. References label_. Referenced by wxSlideBar::AddWindow(), wxSlideBar::createContextMenu(), wxSlideBar::LoadFromStream(), and wxSlideBar::SaveToStream(). |
|
Definition at line 264 of file barholder.cpp. Referenced by DoGetBestSize(), and UpdateSize(). |
|
Definition at line 40 of file barholder.cpp. References wxBF_DEFAULT. Referenced by wxBarHolder(). |
|
Definition at line 186 of file barholder.cpp. |
|
Definition at line 205 of file barholder.cpp. References moving_, and pGripWindow_. |
|
Definition at line 213 of file barholder.cpp. References moving_, and pGripWindow_. |
|
Definition at line 223 of file barholder.cpp. References moving_, pGripWindow_, and pSlideBar_. |
|
Definition at line 189 of file barholder.cpp. |
|
Definition at line 174 of file barholder.cpp. References flags_. |
|
Definition at line 166 of file barholder.cpp. References heightOverride_. |
|
Definition at line 92 of file barholder.cpp. References pSlideBar_. Referenced by wxSlideBar::AddWindow(). |
|
Definition at line 170 of file barholder.cpp. References widthOverride_. |
|
Definition at line 96 of file barholder.cpp. References showGripper_, and UpdateSize(). Referenced by wxSlideBar::SetBarLock(). |
|
Definition at line 119 of file barholder.cpp. References flags_, getNonClientSize(), GRIP_SIZE, heightOverride_, margin_, originalSize_, pGripWindow_, pOurBar_, showGripper_, widthOverride_, wxBF_EXPAND_X, and wxBF_EXPAND_Y. Referenced by AddWindow(), and ShowGripper(). |
|
Definition at line 97 of file barholder.h. Referenced by AddWindow(), GetFlags(), SetFlags(), and UpdateSize(). |
|
Definition at line 94 of file barholder.h. Referenced by SetHeightOverride(), and UpdateSize(). |
|
Definition at line 91 of file barholder.h. Referenced by AddWindow(), and GetLabel(). |
|
Definition at line 93 of file barholder.h. Referenced by DoGetBestSize(), and UpdateSize(). |
|
Definition at line 99 of file barholder.h. Referenced by OnGripBegin(), OnGripEnd(), OnGripMotion(), and OnPaint(). |
|
Definition at line 98 of file barholder.h. Referenced by AddWindow(), DoGetBestSize(), and UpdateSize(). |
|
Definition at line 90 of file barholder.h. Referenced by AddWindow(), Create(), OnGripBegin(), OnGripEnd(), OnGripMotion(), and UpdateSize(). |
|
Definition at line 89 of file barholder.h. Referenced by AddWindow(), OnPaint(), and UpdateSize(). |
|
Definition at line 88 of file barholder.h. Referenced by OnGripMotion(), and SetSlideBar(). |
|
Definition at line 96 of file barholder.h. Referenced by DoGetBestSize(), ShowGripper(), and UpdateSize(). |
|
Definition at line 95 of file barholder.h. Referenced by SetWidthOverride(), and UpdateSize(). |