Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXDial.h>
Inheritance diagram for FX::FXDial:
Public Member Functions | |
FXDial (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=DIAL_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 FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
void | setValue (FXint value) |
FXint | getValue () const |
void | setRange (FXint lo, FXint hi) |
void | getRange (FXint &lo, FXint &hi) const |
void | setRevolutionIncrement (FXint i) |
FXint | getRevolutionIncrement () const |
void | setNotchSpacing (FXint spacing) |
FXint | getNotchSpacing () const |
void | setNotchOffset (FXint offset) |
FXint | getNotchOffset () const |
void | setDialStyle (FXuint opts) |
FXuint | getDialStyle () const |
void | setNotchColor (FXColor clr) |
FXColor | getNotchColor () const |
void | setHelpText (const FXString &text) |
FXString | getHelpText () const |
void | setTipText (const FXString &text) |
FXString | getTipText () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
Optionally, the zero point may be displayed by means of a colored notch. While being turned, the dial sends a SEL_CHANGED message to its target; at the end of the interaction, a SEL_COMMAND message is sent. The message data represents the current value, of type FXint.
See also:
|
Construct a dial widget.
|
|
Return default width.
Reimplemented from FX::FXFrame. |
|
Return default height.
Reimplemented from FX::FXFrame. |
|
Set the dial value.
|
|
Return the dial value.
|
|
Change the dial's range.
|
|
Obtain the current range of the dial.
|
|
Set the revolution increment, which is the amount of change in the position for revolution of the dial; the dial may go through multiple revolutions to go through its whole range.
|
|
Get the current value of the revolution increment.
|
|
Change the spacing for the small notches; this should be set in tenths of degrees in the range [1,3600], and the value should be a divisor of 3600, so as to make the notches come out evenly.
|
|
Get the current notch spacing.
|
|
Change the notch offset, which is the position of the center notch; the value should be tenths of degrees in the range [-3600,3600].
|
|
Get the current center notch offset.
|
|
Changes the dial style.
|
|
Get the current dial style.
|
|
Change the center notch color.
|
|
Get the current center notch 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. |
Copyright © 1997-2004 Jeroen van der Zijp |