![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXSpinner.h>
Public Types | |
enum | { ID_INCREMENT =FXPacker::ID_LAST, ID_DECREMENT, ID_ENTRY, ID_LAST } |
![]() | |
enum | { ID_NONE, ID_HIDE, ID_SHOW, ID_TOGGLESHOWN, ID_LOWER, ID_RAISE, ID_DELETE, ID_DISABLE, ID_ENABLE, ID_TOGGLEENABLED, ID_UNCHECK, ID_CHECK, ID_UNKNOWN, ID_UPDATE, ID_AUTOSCROLL, ID_TIPTIMER, ID_HSCROLLED, ID_VSCROLLED, ID_SETVALUE, ID_SETINTVALUE, ID_SETREALVALUE, ID_SETSTRINGVALUE, ID_SETICONVALUE, ID_SETINTRANGE, ID_SETREALRANGE, ID_GETINTVALUE, ID_GETREALVALUE, ID_GETSTRINGVALUE, ID_GETICONVALUE, ID_GETINTRANGE, ID_GETREALRANGE, ID_SETHELPSTRING, ID_GETHELPSTRING, ID_SETTIPSTRING, ID_GETTIPSTRING, ID_QUERY_MENU, ID_HOTKEY, ID_ACCEL, ID_UNPOST, ID_POST, ID_MDI_TILEHORIZONTAL, ID_MDI_TILEVERTICAL, ID_MDI_CASCADE, ID_MDI_MAXIMIZE, ID_MDI_MINIMIZE, ID_MDI_RESTORE, ID_MDI_CLOSE, ID_MDI_WINDOW, ID_MDI_MENUWINDOW, ID_MDI_MENUMINIMIZE, ID_MDI_MENURESTORE, ID_MDI_MENUCLOSE, ID_MDI_NEXT, ID_MDI_PREV, ID_LAST } |
Additional Inherited Members | |
![]() | |
static FXWindow * | commonAncestor (FXWindow *a, FXWindow *b) |
static bool | before (const FXWindow *a, const FXWindow *b) |
static bool | after (const FXWindow *a, const FXWindow *b) |
![]() | |
static FXDragType | octetType |
static FXDragType | deleteType |
static FXDragType | textType |
static FXDragType | utf8Type |
static FXDragType | utf16Type |
static FXDragType | colorType |
static FXDragType | urilistType |
static const FXDragType | stringType |
static const FXDragType | imageType |
static const FXchar | octetTypeName [] |
static const FXchar | deleteTypeName [] |
static const FXchar | textTypeName [] |
static const FXchar | colorTypeName [] |
static const FXchar | urilistTypeName [] |
static const FXchar | utf8TypeName [] |
static const FXchar | utf16TypeName [] |
FX::FXSpinner::FXSpinner | ( | FXComposite * | p, |
FXint | cols, | ||
FXObject * | tgt = NULL , |
||
FXSelector | sel = 0 , |
||
FXuint | opts = SPIN_NORMAL , |
||
FXint | x = 0 , |
||
FXint | y = 0 , |
||
FXint | w = 0 , |
||
FXint | h = 0 , |
||
FXint | pl = DEFAULT_PAD , |
||
FXint | pr = DEFAULT_PAD , |
||
FXint | pt = DEFAULT_PAD , |
||
FXint | pb = DEFAULT_PAD |
||
) |
Construct a spinner.
|
virtual |
Destructor.
|
virtual |
Perform layout.
Reimplemented from FX::FXPacker.
|
virtual |
Disable spinner.
Reimplemented from FX::FXWindow.
|
virtual |
Enable spinner.
Reimplemented from FX::FXWindow.
|
virtual |
Return default width.
Reimplemented from FX::FXPacker.
|
virtual |
Return default height.
Reimplemented from FX::FXPacker.
Increment spinner by certain amount.
Decrement spinner by certain amount.
FXbool FX::FXSpinner::isCyclic | ( | ) | const |
Return TRUE if in cyclic mode.
void FX::FXSpinner::setCyclic | ( | FXbool | cyclic | ) |
Set to cyclic mode, i.e. wrap around at maximum/minimum.
FXbool FX::FXSpinner::isTextVisible | ( | ) | const |
Return TRUE if text is visible.
void FX::FXSpinner::setTextVisible | ( | FXbool | shown | ) |
Set text visible flag.
Change current value.
|
inline |
Return current value.
Change the spinner's range.
Get the spinner's current range.
void FX::FXSpinner::setIncrement | ( | FXint | increment | ) |
Change spinner increment.
|
inline |
Return spinner increment.
void FX::FXSpinner::setFont | ( | FXFont * | fnt | ) |
Set the text font.
FXFont* FX::FXSpinner::getFont | ( | ) | const |
Get the text font.
void FX::FXSpinner::setHelpText | ( | const FXString & | text | ) |
Set the status line help text for this spinner.
const FXString& FX::FXSpinner::getHelpText | ( | ) | const |
Get the status line help text for this spinner.
void FX::FXSpinner::setTipText | ( | const FXString & | text | ) |
Set the tool tip message for this spinner.
const FXString& FX::FXSpinner::getTipText | ( | ) | const |
Get the tool tip message for this spinner.
void FX::FXSpinner::setSpinnerStyle | ( | FXuint | style | ) |
Change spinner style.
FXuint FX::FXSpinner::getSpinnerStyle | ( | ) | const |
Return current spinner style.
FXbool FX::FXSpinner::isEditable | ( | ) | const |
Return TRUE if text field is editable.
void FX::FXSpinner::setUpArrowColor | ( | FXColor | clr | ) |
Change color of the up arrow.
FXColor FX::FXSpinner::getUpArrowColor | ( | ) | const |
Return color of the up arrow.
void FX::FXSpinner::setDownArrowColor | ( | FXColor | clr | ) |
Change color of the down arrow.
FXColor FX::FXSpinner::getDownArrowColor | ( | ) | const |
Return color of the the down arrow.
void FX::FXSpinner::setTextColor | ( | FXColor | clr | ) |
Change text color.
FXColor FX::FXSpinner::getTextColor | ( | ) | const |
Return text color.
void FX::FXSpinner::setSelBackColor | ( | FXColor | clr | ) |
Change selected background color.
FXColor FX::FXSpinner::getSelBackColor | ( | ) | const |
Return selected background color.
void FX::FXSpinner::setSelTextColor | ( | FXColor | clr | ) |
Change selected text color.
FXColor FX::FXSpinner::getSelTextColor | ( | ) | const |
Return selected text color.
void FX::FXSpinner::setCursorColor | ( | FXColor | clr | ) |
Changes the cursor color.
FXColor FX::FXSpinner::getCursorColor | ( | ) | const |
Return the cursor color.
void FX::FXSpinner::setNumColumns | ( | FXint | cols | ) |
Change width of text field in terms of number of columns * `m'.
FXint FX::FXSpinner::getNumColumns | ( | ) | const |
Return number of columns.
|
virtual |
Save spinner to a stream.
Reimplemented from FX::FXPacker.
|
virtual |
Load spinner from a stream.
Reimplemented from FX::FXPacker.
![]() |