![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXKnob.h>
Inheritance diagram for FX::FXKnob:

Public Types | |
| enum | { ID_AUTOSLIDE = FXFrame::ID_LAST, ID_LAST } |
Public Member Functions | |
| FXKnob (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=KNOB_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 bool | canFocus () const |
| virtual FXint | getDefaultWidth () |
| virtual FXint | getDefaultHeight () |
| virtual void | layout () |
| virtual void | enable () |
| virtual void | disable () |
| void | setValue (FXint value, FXbool notify=FALSE) |
| FXint | getValue () const |
| void | setRange (FXint lo, FXint hi, FXbool notify=FALSE) |
| void | getRange (FXint &lo, FXint &hi) const |
| void | setLimits (FXint start, FXint end, FXbool notify=FALSE) |
| void | getLimits (FXint &start, FXint &end) |
| FXuint | getKnobStyle () const |
| void | setKnobStyle (FXuint style) |
| FXint | getIncrement () const |
| void | setIncrement (FXint inc) |
| void | setTickDelta (FXint dist) |
| FXint | getTickDelta () const |
| void | setLineColor (FXColor clr) |
| FXColor | getLineColor () const |
| void | setHelpText (const FXString &text) |
| const FXString & | getHelpText () const |
| void | setTipText (const FXString &text) |
| const FXString & | getTipText () const |
| virtual void | save (FXStream &store) const |
| virtual void | load (FXStream &store) |
| virtual | ~FXKnob () |
While being moved, the knob sends SEL_CHANGED messages to its target; at the end of the interaction, a final SEL_COMMAND message is sent. The message data represents the current knob value, of type FXint.
See also:
|
|
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||
|
Construct a knob widget.
|
|
|
Destroy the knob.
|
|
|
Returns true because a knob can receive focus.
Reimplemented from FX::FXWindow. |
|
|
Return default width.
Reimplemented from FX::FXFrame. |
|
|
Return default height.
Reimplemented from FX::FXFrame. |
|
|
Perform layout.
Reimplemented from FX::FXWindow. |
|
|
Enable the knob.
Reimplemented from FX::FXWindow. |
|
|
Disable the knob.
Reimplemented from FX::FXWindow. |
|
||||||||||||
|
Change knob value.
|
|
|
Return knob value.
|
|
||||||||||||||||
|
Change the knob's range.
|
|
||||||||||||
|
Get the knob's current range.
|
|
||||||||||||||||
|
Change the knob's movement limits (start and ending angles) accept values in degrees from 0 (south) to 360.
|
|
||||||||||||
|
Get the knob's current limits.
|
|
|
Change the knob style.
|
|
|
Get the current knob style.
|
|
|
Get the knob's auto-increment/decrement value.
|
|
|
Change the knob's auto-increment/decrement value.
|
|
|
Change the delta between ticks.
|
|
|
Get delta between ticks.
|
|
|
Change the indicator needle color.
|
|
|
Get the current indicator needle color.
|
|
|
Set the help text to be displayed on the status line.
|
|
|
Get the current help text.
|
|
|
Set the tip text to be displayed in the tooltip.
|
|
|
Get the current tooltip text value.
|
|
|
Save to stream.
Reimplemented from FX::FXFrame. |
|
|
Load from stream.
Reimplemented from FX::FXFrame. |
|
|