#include <CSButton.h>
Inheritance diagram for CSButton:
Public Member Functions | |
virtual std::string | getType () |
CSButton (CSIcon *icon) | |
CSButton (const std::string &text) | |
virtual | ~CSButton () |
void | reactOnMessageButton (CSMessage *message) |
virtual void | reactOnMessage (CSMessage *message) |
to be overloaded | |
virtual void | layoutSetup () |
virtual int | getButtonState () |
Static Public Attributes | |
const char * | CLASS = "CSButton" |
static element, name of this class (introsepection) | |
Protected Member Functions | |
void | layoutSetupButton () |
Protected Attributes | |
CSIcon * | mIcon |
GuiMessage | MESSAGE_BUTTON_PRESSED |
GuiMessage | MESSAGE_BUTTON_RELEASED |
|
Definition at line 12 of file CSButton.cpp. References LOG_ENTER, LOG_EXIT, and mIcon.
00012 : CSGrafikElement(0, 0) 00013 { 00014 static char *functionName="CSButton"; 00015 LOG_ENTER 00016 mIcon = icon; 00017 initButton(); 00018 LOG_EXIT 00019 } |
|
Definition at line 21 of file CSButton.cpp. References CSTextIcon::buildIcon(), LOG_ENTER, LOG_EXIT, and mIcon.
00021 : CSGrafikElement(0, 0) 00022 { 00023 static char *functionName="CSButton"; 00024 LOG_ENTER 00025 mIcon = CSTextIcon::buildIcon(text); 00026 initButton(); 00027 00028 LOG_EXIT 00029 } |
Here is the call graph for this function:
|
Definition at line 31 of file CSButton.cpp. References mIcon.
|
|
Definition at line 135 of file CSButton.cpp. References CSGrafikElement::getMinHeight(), CSGrafikElement::getMinWidth(), LOG_ENTER, LOG_EXIT, and mIcon. Referenced by layoutSetup(), and CSMenu::layoutSetupMenu().
00136 { 00137 static char *functionName="layoutSetupButton"; 00138 LOG_ENTER 00139 if (mIcon) 00140 { 00141 mMinHeight = mIcon->getMinHeight(); 00142 mMinWidth = mIcon->getMinWidth(); 00143 } 00144 else 00145 { 00146 mMinHeight = 0; 00147 mMinWidth = 0; 00148 } 00149 LOG_EXIT 00150 } |
Here is the call graph for this function:
|
Reimplemented from CSGrafikElement. Reimplemented in CSDragButton, CSMenu, and CSMenuItem. Definition at line 35 of file CSButton.h. References CLASS.
00035 {return (std::string) CLASS;} |
|
Here is the call graph for this function:
|
to be overloaded
Reimplemented from CSGrafikElement. Reimplemented in CSDragButton, CSMenu, and CSMenuItem. Definition at line 73 of file CSButton.cpp. References reactOnMessageButton().
00074 { 00075 reactOnMessageButton(message); 00076 } |
Here is the call graph for this function:
|
Reimplemented from CSGrafikElement. Reimplemented in CSMenu, and CSMenuItem. Definition at line 42 of file CSButton.h. References layoutSetupButton().
00042 {layoutSetupButton();} |
Here is the call graph for this function:
|
Reimplemented in CSMenu. Definition at line 44 of file CSButton.h. Referenced by reactOnMessageButton().
00044 {return mBorderState;} |
|
Definition at line 28 of file CSButton.h. Referenced by CSButton(), layoutSetupButton(), and ~CSButton(). |
|
Definition at line 29 of file CSButton.h. Referenced by reactOnMessageButton(). |
|
Definition at line 30 of file CSButton.h. Referenced by reactOnMessageButton(). |
|
static element, name of this class (introsepection)
Reimplemented from CSGrafikElement. Reimplemented in CSDragButton, CSMenu, and CSMenuItem. Definition at line 8 of file CSButton.cpp. Referenced by CSLAF::getAreaInternal(), CSLAF::getBackgroundColorDisabledInternal(), CSLAF::getBackgroundColorEnabledInternal(), CSLAF::getBorderInternal(), CSLAF::getHorizontalElementSpacingInternal(), getType(), and CSLAF::getVerticalElementSpacingInternal(). |