#include <odcombo.h>
Public Member Functions | |
bool | ConsumingTextCtrlFocusEvent () |
virtual void | Copy () |
bool | Create (wxWindow *parent, wxWindowID id, const wxString &value, const wxPoint &pos, const wxSize &size, long style, const wxValidator &validator, const wxString &name) |
virtual void | Cut () |
virtual bool | Destroy () |
virtual void | DrawFocusBackground (wxDC &dc, const wxRect &rect, int flags) |
virtual bool | Enable (bool enable=true) |
const wxBitmap & | GetBitmapDisabled () const |
const wxBitmap & | GetBitmapHover () const |
const wxBitmap & | GetBitmapNormal () const |
const wxBitmap & | GetBitmapPressed () const |
wxWindow * | GetButton () const |
int | GetCustomPaintWidth () const |
virtual long | GetInsertionPoint () const |
wxUint32 | GetInternalFlags () const |
virtual long | GetLastPosition () const |
wxPGComboPopup * | GetPopup () const |
wxWindow * | GetPopupControl () const |
wxWindow * | GetPopupWindow () const |
wxTextCtrl * | GetTextCtrl () const |
wxCoord | GetTextIndent () const |
const wxRect & | GetTextRect () const |
virtual wxString | GetValue () const |
virtual void | HidePopup () |
bool | IsCreated () const |
bool | IsFocused () const |
bool | IsPopupShown () const |
virtual void | OnButtonClick () |
virtual bool | OnDrawItem (wxDC &dc, const wxRect &rect, int item, int flags) const |
virtual wxCoord | OnMeasureItem (size_t item) const |
virtual wxCoord | OnMeasureItemWidth (size_t item) const |
virtual void | Paste () |
virtual void | Remove (long from, long to) |
virtual void | Replace (long from, long to, const wxString &value) |
void | SetButtonBitmaps (const wxBitmap &bmpNormal, bool blankButtonBg=false, const wxBitmap &bmpPressed=wxNullBitmap, const wxBitmap &bmpHover=wxNullBitmap, const wxBitmap &bmpDisabled=wxNullBitmap) |
void | SetButtonPosition (int width=0, int height=0, int side=wxRIGHT, int spacingX=0) |
void | SetCustomPaintWidth (int width) |
virtual bool | SetFont (const wxFont &font) |
virtual void | SetInsertionPoint (long pos) |
virtual void | SetInsertionPointEnd () |
void | SetPopup (wxPGComboPopup *iface) |
void | SetPopupExtents (int extLeft, int extRight) |
void | SetPopupMaxHeight (int height) |
void | SetPopupMinWidth (int width) |
virtual void | SetSelection (long from, long to) |
void | SetText (const wxString &value) |
void | SetTextIndent (int indent) |
virtual void | SetValue (const wxString &value) |
bool | ShouldDrawFocus () const |
virtual bool | Show (bool show=true) |
virtual void | ShowPopup () |
virtual void | Undo () |
wxPGComboControlBase () | |
virtual | ~wxPGComboControlBase () |
Protected Types | |
enum | { Button_PaintBackground = 0x0001, Button_BitmapOnly = 0x0002 } |
Protected Member Functions | |
void | CalculateAreas (int btnWidth=0) |
void | CreatePopup () |
void | CreateTextCtrl (int extraStyle, const wxValidator &validator) |
void | Customize (wxUint32 flags) |
virtual wxSize | DoGetBestSize () const |
virtual void | DoMoveWindow (int x, int y, int width, int height) |
void | DrawButton (wxDC &dc, const wxRect &rect, int flags=Button_PaintBackground) |
virtual wxCoord | GetNativeTextIndent () const |
bool | HandleButtonMouseEvent (wxMouseEvent &event, int flags) |
void | HandleNormalMouseEvent (wxMouseEvent &event) |
void | InstallInputHandlers () |
void | OnFocusEvent (wxFocusEvent &event) |
void | OnKeyEvent (wxKeyEvent &event) |
void | OnPopupDismiss () |
virtual void | OnResize ()=0 |
void | OnSizeEvent (wxSizeEvent &event) |
void | OnSysColourChanged (wxSysColourChangedEvent &event) |
void | OnTextCtrlEvent (wxCommandEvent &event) |
virtual void | OnThemeChange () |
virtual void | PositionTextCtrl (int textCtrlXAdjust, int textCtrlYAdjust) |
bool | PreprocessMouseEvent (wxMouseEvent &event, int flags) |
void | RecalcAndRefresh () |
Protected Attributes | |
wxCoord | m_absIndent |
bool | m_blankButtonBg |
wxBitmap | m_bmpDisabled |
wxBitmap | m_bmpHover |
wxBitmap | m_bmpNormal |
wxBitmap | m_bmpPressed |
wxWindow * | m_btn |
wxRect | m_btnArea |
int | m_btnHei |
int | m_btnSide |
wxSize | m_btnSize |
int | m_btnSpacingX |
int | m_btnState |
int | m_btnWid |
int | m_btnWidDefault |
wxCoord | m_extLeft |
wxCoord | m_extRight |
unsigned char | m_fakePopupUsage |
wxCoord | m_heightPopup |
wxUint32 | m_iFlags |
bool | m_isPopupShown |
wxWindow * | m_popup |
wxEvtHandler * | m_popupExtraHandler |
wxPGComboPopup * | m_popupInterface |
wxByte | m_skipTextCtrlFocusEvents |
wxRect | m_tcArea |
wxTextCtrl * | m_text |
wxEvtHandler * | m_textEvtHandler |
wxLongLong | m_timeCanAcceptClick |
wxEvtHandler * | m_toplevEvtHandler |
wxString | m_valueString |
wxCoord | m_widthCustomBorder |
wxCoord | m_widthCustomPaint |
wxCoord | m_widthMinPopup |
wxWindow * | m_winPopup |
Private Member Functions | |
void | Init () |
Friends | |
class | wxPGComboPopup |
class | wxPGComboPopupWindow |
Definition at line 141 of file odcombo.h.
anonymous enum [protected] |
virtual wxPGComboControlBase::~wxPGComboControlBase | ( | ) | [virtual] |
void wxPGComboControlBase::CalculateAreas | ( | int | btnWidth = 0 |
) | [protected] |
bool wxPGComboControlBase::ConsumingTextCtrlFocusEvent | ( | ) | [inline] |
virtual void wxPGComboControlBase::Copy | ( | ) | [virtual] |
bool wxPGComboControlBase::Create | ( | wxWindow * | parent, | |
wxWindowID | id, | |||
const wxString & | value, | |||
const wxPoint & | pos, | |||
const wxSize & | size, | |||
long | style, | |||
const wxValidator & | validator, | |||
const wxString & | name | |||
) |
Reimplemented in wxPGGenericComboControl, wxPGComboControl, and wxPGOwnerDrawnComboBox.
void wxPGComboControlBase::CreatePopup | ( | ) | [protected] |
void wxPGComboControlBase::CreateTextCtrl | ( | int | extraStyle, | |
const wxValidator & | validator | |||
) | [protected] |
void wxPGComboControlBase::Customize | ( | wxUint32 | flags | ) | [inline, protected] |
virtual void wxPGComboControlBase::Cut | ( | ) | [virtual] |
virtual bool wxPGComboControlBase::Destroy | ( | ) | [virtual] |
virtual wxSize wxPGComboControlBase::DoGetBestSize | ( | ) | const [protected, virtual] |
virtual void wxPGComboControlBase::DoMoveWindow | ( | int | x, | |
int | y, | |||
int | width, | |||
int | height | |||
) | [protected, virtual] |
void wxPGComboControlBase::DrawButton | ( | wxDC & | dc, | |
const wxRect & | rect, | |||
int | flags = Button_PaintBackground | |||
) | [protected] |
virtual void wxPGComboControlBase::DrawFocusBackground | ( | wxDC & | dc, | |
const wxRect & | rect, | |||
int | flags | |||
) | [virtual] |
virtual bool wxPGComboControlBase::Enable | ( | bool | enable = true |
) | [virtual] |
const wxBitmap& wxPGComboControlBase::GetBitmapDisabled | ( | ) | const [inline] |
const wxBitmap& wxPGComboControlBase::GetBitmapHover | ( | ) | const [inline] |
const wxBitmap& wxPGComboControlBase::GetBitmapNormal | ( | ) | const [inline] |
const wxBitmap& wxPGComboControlBase::GetBitmapPressed | ( | ) | const [inline] |
wxWindow* wxPGComboControlBase::GetButton | ( | ) | const [inline] |
int wxPGComboControlBase::GetCustomPaintWidth | ( | ) | const [inline] |
virtual long wxPGComboControlBase::GetInsertionPoint | ( | ) | const [virtual] |
wxUint32 wxPGComboControlBase::GetInternalFlags | ( | ) | const [inline] |
virtual long wxPGComboControlBase::GetLastPosition | ( | ) | const [virtual] |
virtual wxCoord wxPGComboControlBase::GetNativeTextIndent | ( | ) | const [protected, virtual] |
wxPGComboPopup* wxPGComboControlBase::GetPopup | ( | ) | const [inline] |
wxWindow* wxPGComboControlBase::GetPopupControl | ( | ) | const [inline] |
wxWindow* wxPGComboControlBase::GetPopupWindow | ( | ) | const [inline] |
wxTextCtrl* wxPGComboControlBase::GetTextCtrl | ( | ) | const [inline] |
wxCoord wxPGComboControlBase::GetTextIndent | ( | ) | const [inline] |
const wxRect& wxPGComboControlBase::GetTextRect | ( | ) | const [inline] |
virtual wxString wxPGComboControlBase::GetValue | ( | ) | const [virtual] |
bool wxPGComboControlBase::HandleButtonMouseEvent | ( | wxMouseEvent & | event, | |
int | flags | |||
) | [protected] |
void wxPGComboControlBase::HandleNormalMouseEvent | ( | wxMouseEvent & | event | ) | [protected] |
virtual void wxPGComboControlBase::HidePopup | ( | ) | [virtual] |
void wxPGComboControlBase::Init | ( | ) | [private] |
Reimplemented in wxPGGenericComboControl, and wxPGOwnerDrawnComboBox.
void wxPGComboControlBase::InstallInputHandlers | ( | ) | [protected] |
bool wxPGComboControlBase::IsPopupShown | ( | ) | const [inline] |
virtual void wxPGComboControlBase::OnButtonClick | ( | ) | [virtual] |
virtual bool wxPGComboControlBase::OnDrawItem | ( | wxDC & | dc, | |
const wxRect & | rect, | |||
int | item, | |||
int | flags | |||
) | const [virtual] |
void wxPGComboControlBase::OnFocusEvent | ( | wxFocusEvent & | event | ) | [protected] |
void wxPGComboControlBase::OnKeyEvent | ( | wxKeyEvent & | event | ) | [protected] |
virtual wxCoord wxPGComboControlBase::OnMeasureItem | ( | size_t | item | ) | const [virtual] |
virtual wxCoord wxPGComboControlBase::OnMeasureItemWidth | ( | size_t | item | ) | const [virtual] |
void wxPGComboControlBase::OnPopupDismiss | ( | ) | [protected] |
virtual void wxPGComboControlBase::OnResize | ( | ) | [protected, pure virtual] |
Implemented in wxPGGenericComboControl.
void wxPGComboControlBase::OnSizeEvent | ( | wxSizeEvent & | event | ) | [protected] |
void wxPGComboControlBase::OnSysColourChanged | ( | wxSysColourChangedEvent & | event | ) | [protected] |
void wxPGComboControlBase::OnTextCtrlEvent | ( | wxCommandEvent & | event | ) | [protected] |
virtual void wxPGComboControlBase::OnThemeChange | ( | ) | [protected, virtual] |
virtual void wxPGComboControlBase::Paste | ( | ) | [virtual] |
virtual void wxPGComboControlBase::PositionTextCtrl | ( | int | textCtrlXAdjust, | |
int | textCtrlYAdjust | |||
) | [protected, virtual] |
bool wxPGComboControlBase::PreprocessMouseEvent | ( | wxMouseEvent & | event, | |
int | flags | |||
) | [protected] |
void wxPGComboControlBase::RecalcAndRefresh | ( | ) | [protected] |
virtual void wxPGComboControlBase::Remove | ( | long | from, | |
long | to | |||
) | [virtual] |
virtual void wxPGComboControlBase::Replace | ( | long | from, | |
long | to, | |||
const wxString & | value | |||
) | [virtual] |
void wxPGComboControlBase::SetButtonBitmaps | ( | const wxBitmap & | bmpNormal, | |
bool | blankButtonBg = false , |
|||
const wxBitmap & | bmpPressed = wxNullBitmap , |
|||
const wxBitmap & | bmpHover = wxNullBitmap , |
|||
const wxBitmap & | bmpDisabled = wxNullBitmap | |||
) |
void wxPGComboControlBase::SetButtonPosition | ( | int | width = 0 , |
|
int | height = 0 , |
|||
int | side = wxRIGHT , |
|||
int | spacingX = 0 | |||
) |
void wxPGComboControlBase::SetCustomPaintWidth | ( | int | width | ) |
virtual bool wxPGComboControlBase::SetFont | ( | const wxFont & | font | ) | [virtual] |
virtual void wxPGComboControlBase::SetInsertionPoint | ( | long | pos | ) | [virtual] |
virtual void wxPGComboControlBase::SetInsertionPointEnd | ( | ) | [virtual] |
void wxPGComboControlBase::SetPopup | ( | wxPGComboPopup * | iface | ) |
void wxPGComboControlBase::SetPopupExtents | ( | int | extLeft, | |
int | extRight | |||
) | [inline] |
void wxPGComboControlBase::SetPopupMaxHeight | ( | int | height | ) | [inline] |
void wxPGComboControlBase::SetPopupMinWidth | ( | int | width | ) | [inline] |
virtual void wxPGComboControlBase::SetSelection | ( | long | from, | |
long | to | |||
) | [virtual] |
void wxPGComboControlBase::SetText | ( | const wxString & | value | ) | [inline] |
void wxPGComboControlBase::SetTextIndent | ( | int | indent | ) |
virtual void wxPGComboControlBase::SetValue | ( | const wxString & | value | ) | [virtual] |
bool wxPGComboControlBase::ShouldDrawFocus | ( | ) | const [inline] |
virtual bool wxPGComboControlBase::Show | ( | bool | show = true |
) | [virtual] |
virtual void wxPGComboControlBase::ShowPopup | ( | ) | [virtual] |
virtual void wxPGComboControlBase::Undo | ( | ) | [virtual] |
friend class wxPGComboPopup [friend] |
friend class wxPGComboPopupWindow [friend] |
Reimplemented in wxPGOwnerDrawnComboBox.
wxCoord wxPGComboControlBase::m_absIndent [protected] |
bool wxPGComboControlBase::m_blankButtonBg [protected] |
wxBitmap wxPGComboControlBase::m_bmpDisabled [protected] |
wxBitmap wxPGComboControlBase::m_bmpHover [protected] |
wxBitmap wxPGComboControlBase::m_bmpNormal [protected] |
wxBitmap wxPGComboControlBase::m_bmpPressed [protected] |
wxWindow* wxPGComboControlBase::m_btn [protected] |
wxRect wxPGComboControlBase::m_btnArea [protected] |
int wxPGComboControlBase::m_btnHei [protected] |
int wxPGComboControlBase::m_btnSide [protected] |
wxSize wxPGComboControlBase::m_btnSize [protected] |
int wxPGComboControlBase::m_btnSpacingX [protected] |
int wxPGComboControlBase::m_btnState [protected] |
int wxPGComboControlBase::m_btnWid [protected] |
int wxPGComboControlBase::m_btnWidDefault [protected] |
wxCoord wxPGComboControlBase::m_extLeft [protected] |
wxCoord wxPGComboControlBase::m_extRight [protected] |
unsigned char wxPGComboControlBase::m_fakePopupUsage [protected] |
wxCoord wxPGComboControlBase::m_heightPopup [protected] |
wxUint32 wxPGComboControlBase::m_iFlags [protected] |
bool wxPGComboControlBase::m_isPopupShown [protected] |
wxWindow* wxPGComboControlBase::m_popup [protected] |
wxEvtHandler* wxPGComboControlBase::m_popupExtraHandler [protected] |
wxPGComboPopup* wxPGComboControlBase::m_popupInterface [protected] |
Reimplemented in wxPGOwnerDrawnComboBox.
wxByte wxPGComboControlBase::m_skipTextCtrlFocusEvents [protected] |
wxRect wxPGComboControlBase::m_tcArea [protected] |
wxTextCtrl* wxPGComboControlBase::m_text [protected] |
wxEvtHandler* wxPGComboControlBase::m_textEvtHandler [protected] |
wxLongLong wxPGComboControlBase::m_timeCanAcceptClick [protected] |
wxEvtHandler* wxPGComboControlBase::m_toplevEvtHandler [protected] |
wxString wxPGComboControlBase::m_valueString [protected] |
wxCoord wxPGComboControlBase::m_widthCustomBorder [protected] |
wxCoord wxPGComboControlBase::m_widthCustomPaint [protected] |
wxCoord wxPGComboControlBase::m_widthMinPopup [protected] |
wxWindow* wxPGComboControlBase::m_winPopup [protected] |