Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXSpinner.h>
Inheritance diagram for FX::FXSpinner:
Public Types | |
enum | { ID_INCREMENT = FXPacker::ID_LAST, ID_DECREMENT, ID_ENTRY, ID_LAST } |
Public Member Functions | |
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) | |
virtual void | layout () |
virtual void | disable () |
virtual void | enable () |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
void | increment () |
void | decrement () |
FXbool | isCyclic () const |
void | setCyclic (FXbool cyclic) |
FXbool | isTextVisible () const |
void | setTextVisible (FXbool shown) |
virtual void | setValue (FXint value) |
FXint | getValue () const |
void | setRange (FXint lo, FXint hi) |
void | getRange (FXint &lo, FXint &hi) const |
void | setIncrement (FXint increment) |
FXint | getIncrement () const |
void | setFont (FXFont *fnt) |
FXFont * | getFont () const |
void | setHelpText (const FXString &text) |
FXString | getHelpText () const |
void | setTipText (const FXString &text) |
FXString | getTipText () const |
void | setSpinnerStyle (FXuint style) |
FXuint | getSpinnerStyle () const |
void | setEditable (FXbool edit=TRUE) |
FXbool | isEditable () const |
void | setUpArrowColor (FXColor clr) |
FXColor | getUpArrowColor () const |
void | setDownArrowColor (FXColor clr) |
FXColor | getDownArrowColor () const |
void | setTextColor (FXColor clr) |
FXColor | getTextColor () const |
void | setSelBackColor (FXColor clr) |
FXColor | getSelBackColor () const |
void | setSelTextColor (FXColor clr) |
FXColor | getSelTextColor () const |
void | setCursorColor (FXColor clr) |
FXColor | getCursorColor () const |
void | setNumColumns (FXint cols) |
FXint | getNumColumns () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXSpinner () |
See also:
|
Construct a spinner.
|
|
Destructor.
|
|
Perform layout.
Reimplemented from FX::FXPacker. |
|
Disable spinner.
Reimplemented from FX::FXWindow. |
|
Enable spinner.
Reimplemented from FX::FXWindow. |
|
Return default width.
Reimplemented from FX::FXPacker. |
|
Return default height.
Reimplemented from FX::FXPacker. |
|
Increment spinner.
|
|
Decrement spinner.
|
|
Return TRUE if in cyclic mode.
|
|
Set to cyclic mode, i.e. wrap around at maximum/minimum.
|
|
Return TRUE if text is visible.
|
|
Set text visible flag.
|
|
Change current value.
|
|
Return current value.
|
|
Change the spinner's range.
|
|
Get the spinner's current range.
|
|
Change spinner increment.
|
|
Return spinner increment.
|
|
Set the text font.
|
|
Get the text font.
|
|
Set the status line help text for this spinner.
|
|
Get the status line help text for this spinner.
|
|
Set the tool tip message for this spinner.
|
|
Get the tool tip message for this spinner.
|
|
Change spinner style.
|
|
Return current spinner style.
|
|
Allow editing of the text field.
|
|
Return TRUE if text field is editable.
|
|
Change color of the up arrow.
|
|
Return color of the up arrow.
|
|
Change color of the down arrow.
|
|
Return color of the the down arrow.
|
|
Change text color.
|
|
Return text color.
|
|
Change selected background color.
|
|
Return selected background color.
|
|
Change selected text color.
|
|
Return selected text color.
|
|
Changes the cursor color.
|
|
Return the cursor color.
|
|
Change width of text field in terms of number of columns * `m'.
|
|
Return number of columns.
|
|
Save spinner to a stream.
Reimplemented from FX::FXPacker. |
|
Load spinner from a stream.
Reimplemented from FX::FXPacker. |
Copyright © 1997-2004 Jeroen van der Zijp |