Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FX7Segment.h>
Inheritance diagram for FX::FX7Segment:
Public Member Functions | |
FX7Segment (FXComposite *p, const FXString &text, FXuint opts=SEVENSEGMENT_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 | setText (const FXString &text) |
FXString | getText () const |
void | setTextColor (FXColor clr) |
FXColor | getTextColor () const |
void | setCellWidth (FXint w) |
FXint | getCellWidth () const |
void | setCellHeight (FXint h) |
FXint | getCellHeight () const |
void | setThickness (FXint t) |
FXint | getThickness () const |
void | set7SegmentStyle (FXuint style) |
FXuint | get7SegmentStyle () const |
void | setJustify (FXuint mode) |
FXuint | getJustify () const |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
Besides numbers, the seven-segment display widget can also display some letters and punctuations.
See also:
|
Create a seven segment display.
|
|
Return default width.
Reimplemented from FX::FXFrame. |
|
Return default height.
Reimplemented from FX::FXFrame. |
|
Set the text for this label.
|
|
Get the text for this label.
|
|
Change text color.
|
|
Return text color.
|
|
Get/set cell width.
|
|
Get/set cell height.
|
|
Get/set segment thickness.
|
|
Change 7 segment style.
|
|
Get current 7 segment style.
|
|
Set the current text-justification mode.
|
|
Get the current text-justification mode.
|
|
Save to a stream.
Reimplemented from FX::FXFrame. |
|
Load from a stream.
Reimplemented from FX::FXFrame. |
Copyright © 1997-2005 Jeroen van der Zijp |