LXRAD 0.7
|
Generic Control. More...
#include <ccontrol.h>
Public Member Functions | |
virtual void | SetName (const lxString name) |
lxString | GetName (void) |
CWindow * | GetWin (void) |
void | SetWin (CWindow *win) |
virtual wxWindow * | GetWidget (void) |
virtual void | Event (wxEvent &event) |
virtual int | Create (CControl *control) |
virtual void | Destroy (void) |
virtual void | Erase (void) |
virtual void | Draw (void) |
virtual void | Update (void) |
lxStringList | GetContext (void) |
void | SetContext (lxStringList context) |
void | SetDragAcceptFiles (bool accept) |
void | SetFont (const lxString font) |
lxString | GetFontName (void) |
void | SetFontSize (uint size) |
uint | GetFontSize (void) |
virtual void | SetX (int x) |
virtual int | GetX (void) |
virtual void | SetY (int y) |
virtual int | GetY (void) |
virtual void | SetBorder (uint border) |
uint | GetBorder (void) |
virtual void | SetWidth (unsigned w) |
virtual uint | GetWidth (void) |
virtual void | SetHeight (unsigned h) |
virtual uint | GetHeight (void) |
void | SetWid (int wid) |
long | GetWid (void) |
virtual void | SetColorName (const lxString name) |
virtual void | SetColor (unsigned r, unsigned g, unsigned b) |
virtual void | SetColor (wxColor color) |
wxColor | GetColor (void) |
virtual void | SetEnable (bool enable) |
virtual bool | GetEnable (void) |
void | SetOwner (CControl *control) |
CControl * | GetOwner (void) |
void | SetVisible (bool visible, bool update=true) |
bool | GetVisible (void) |
bool | GetCanVisible (void) |
void | SetPopupMenu (CPMenu *popupmenu) |
void | SetFocus (void) |
bool | GetFocus (void) |
void | SetCanFocus (bool canfocus) |
bool | GetCanFocus (void) |
bool | GetDynamic (void) |
int | GetChildCount (void) |
void | SetHint (lxString hint) |
lxString | GetHint (void) |
CControl * | GetChild (uint child) |
virtual CControl * | GetChildByWidget (wxWindow *widget) |
CControl * | GetChildByWid (long wid) |
CControl * | GetChildByName (const lxString child) |
virtual void | CreateChild (CControl *control, bool onlyput=false) |
virtual void | DestroyChild (CControl *control) |
virtual void | DestroyChilds (void) |
virtual void | WriteXMLContext (lxString filename, bool first=true) |
virtual void | LoadXMLContext (lxString filename) |
void | SetCanExecuteEvent (bool can) |
bool | GetCanExecuteEvent (void) |
void * | operator new (size_t sz) |
void | operator delete (void *p) |
void | SetFOwner (CControl *control) |
CControl * | GetFOwner (void) |
virtual void | mouse_move (wxMouseEvent *event) |
virtual void | button_press (wxMouseEvent *event) |
virtual void | button_release (wxMouseEvent *event) |
virtual void | key_press (wxKeyEvent *event) |
virtual void | key_release (wxKeyEvent *event) |
virtual void | focus_in (wxMouseEvent *event) |
virtual void | focus_out (wxMouseEvent *event) |
virtual void | on_draw (wxPaintEvent *event) |
virtual void | mouse_wheel (wxMouseEvent *event) |
virtual void | on_drop_files (wxDropFilesEvent *event) |
![]() | |
void | SetName (const lxString name) |
lxString | GetName (void) |
lxString | GetClass (void) |
void | SetClass (const lxString classn) |
virtual lxStringList | GetContext (void) |
virtual void | SetContext (lxStringList context) |
bool | GetEv (bool reset=false) |
void | SetEv (bool value, bool reset=false) |
void | SetTag (uint tag) |
uint | GetTag (void) |
void | SetAux (int tag) |
int | GetAux (void) |
Data Fields | |
void(CControl::* | EvMouseMove )(CControl *control, const uint button, const uint x, const uint y, const uint mask) |
void(CControl::* | EvMouseButtonPress )(CControl *control, const uint button, const uint x, const uint y, const uint mask) |
void(CControl::* | EvMouseButtonRelease )(CControl *control, const uint button, const uint x, const uint y, const uint mask) |
void(CControl::* | EvMouseButtonClick )(CControl *control, const uint button, const uint x, const uint y, const uint mask) |
void(CControl::* | EvMouseButtonDoubleClick )(CControl *control, const uint button, const uint x, const uint y, const uint mask) |
void(CControl::* | EvKeyboardPress )(CControl *control, const uint keyval, const uint hardware_keycode, const uint state) |
void(CControl::* | EvKeyboardRelease )(CControl *control, const uint keyval, const uint hardware_keycode, const uint state) |
void(CControl::* | EvOnDraw )(CControl *control) |
void(CControl::* | EvOnFocusIn )(CControl *control) |
void(CControl::* | EvOnFocusOut )(CControl *control) |
void(CControl::* | EvMouseWheel )(CControl *control, const int rotation) |
void(CControl::* | EvOnDropFile )(CControl *control, const lxString fname) |
Protected Member Functions | |
virtual int | CEvent (int event) |
Protected Attributes | |
CControl * | FOwner |
function owner control More... | |
CControl * | ControlOnFocus |
Control On Focus. More... | |
wxWindow * | Widget |
Object wxWidget. More... | |
long | Wid |
wx ID More... | |
bool | Dynamic |
Dynamic Object? More... | |
bool | CanFocus |
CanFocus ? More... | |
bool | CanExecuteEvent |
Can Execute Event ? More... | |
bool | CanVisible |
Can be Visible ? More... | |
bool | DragAcceptFiles |
bool | Enable |
int | X |
int | Y |
uint | Width |
uint | Height |
uint | Border |
lxString | ColorName |
unsigned char | ColorRGB [3] |
CControl ** | Child |
int | ChildCount |
lxString | FontName |
uint | FontSize |
CControl * | Owner |
bool | Visible |
CPMenu * | PopupMenu |
CWindow * | Win |
lxString | Hint |
unsigned long int | BTimePress |
unsigned long int | BTimeRelease |
unsigned long int | BTimeClick |
![]() | |
bool | Ev [EVMAX] |
uint | Evcount |
lxString | Name |
lxString | Class |
lxStringList | Context |
uint | Tag |
int | Aux |
|
virtual |
Get XML Context Name.
Reimplemented from CObject.
Reimplemented in CDirDialog, CDraw, CEdit, CFileDialog, CFileList, CGauge, CGrid, CHtml, CImage, CItemMenu, CLabel, CList, CMenu, CPanel, CPMenu, CScroll, CSpin, CSpind, CStatusbar, CStyledText, CText, CThread, CTimer, CToggleButton, CToolButton, CWindow, and CXpmButton.
|
virtual |
Set XML Context .
context | XML context. |
Reimplemented from CObject.
Reimplemented in CDirDialog, CDraw, CEdit, CFileDialog, CFileList, CGauge, CGrid, CHtml, CImage, CItemMenu, CLabel, CList, CMenu, CPanel, CPMenu, CScroll, CSpin, CSpind, CStatusbar, CStyledText, CText, CThread, CTimer, CToggleButton, CToolButton, CWindow, and CXpmButton.
|
protected |
Definition at line 61 of file ccontrol.h.
|
protected |
Definition at line 75 of file ccontrol.h.
|
protected |
Definition at line 73 of file ccontrol.h.
|
protected |
Definition at line 74 of file ccontrol.h.
|
protected |
Can Execute Event ?
Definition at line 55 of file ccontrol.h.
|
protected |
CanFocus ?
Definition at line 54 of file ccontrol.h.
|
protected |
Can be Visible ?
Definition at line 56 of file ccontrol.h.
|
protected |
Definition at line 64 of file ccontrol.h.
|
protected |
Definition at line 65 of file ccontrol.h.
|
protected |
Definition at line 62 of file ccontrol.h.
|
protected |
Definition at line 63 of file ccontrol.h.
|
protected |
Control On Focus.
Definition at line 50 of file ccontrol.h.
|
protected |
Definition at line 57 of file ccontrol.h.
|
protected |
Dynamic Object?
Definition at line 53 of file ccontrol.h.
|
protected |
Definition at line 58 of file ccontrol.h.
void(CControl::* CControl::EvKeyboardPress) (CControl *control, const uint keyval, const uint hardware_keycode, const uint state) |
Definition at line 166 of file ccontrol.h.
void(CControl::* CControl::EvKeyboardRelease) (CControl *control, const uint keyval, const uint hardware_keycode, const uint state) |
Definition at line 167 of file ccontrol.h.
void(CControl::* CControl::EvMouseButtonClick) (CControl *control, const uint button, const uint x, const uint y, const uint mask) |
Definition at line 164 of file ccontrol.h.
void(CControl::* CControl::EvMouseButtonDoubleClick) (CControl *control, const uint button, const uint x, const uint y, const uint mask) |
Definition at line 165 of file ccontrol.h.
void(CControl::* CControl::EvMouseButtonPress) (CControl *control, const uint button, const uint x, const uint y, const uint mask) |
Definition at line 162 of file ccontrol.h.
void(CControl::* CControl::EvMouseButtonRelease) (CControl *control, const uint button, const uint x, const uint y, const uint mask) |
Definition at line 163 of file ccontrol.h.
void(CControl::* CControl::EvMouseMove) (CControl *control, const uint button, const uint x, const uint y, const uint mask) |
Definition at line 161 of file ccontrol.h.
void(CControl::* CControl::EvMouseWheel) (CControl *control, const int rotation) |
Definition at line 171 of file ccontrol.h.
void(CControl::* CControl::EvOnDraw) (CControl *control) |
Definition at line 168 of file ccontrol.h.
void(CControl::* CControl::EvOnDropFile) (CControl *control, const lxString fname) |
Definition at line 172 of file ccontrol.h.
void(CControl::* CControl::EvOnFocusIn) (CControl *control) |
Definition at line 169 of file ccontrol.h.
void(CControl::* CControl::EvOnFocusOut) (CControl *control) |
Definition at line 170 of file ccontrol.h.
|
protected |
Definition at line 66 of file ccontrol.h.
|
protected |
Definition at line 67 of file ccontrol.h.
|
protected |
function owner control
Definition at line 49 of file ccontrol.h.
|
protected |
Definition at line 60 of file ccontrol.h.
|
protected |
Definition at line 72 of file ccontrol.h.
|
protected |
Definition at line 68 of file ccontrol.h.
|
protected |
Definition at line 70 of file ccontrol.h.
|
protected |
Definition at line 69 of file ccontrol.h.
|
protected |
wx ID
Definition at line 52 of file ccontrol.h.
|
protected |
Object wxWidget.
Definition at line 51 of file ccontrol.h.
|
protected |
Definition at line 60 of file ccontrol.h.
|
protected |
Definition at line 71 of file ccontrol.h.
|
protected |
Definition at line 59 of file ccontrol.h.
|
protected |
Definition at line 59 of file ccontrol.h.