33 SEVENSEGMENT_NORMAL = 0,
34 SEVENSEGMENT_SHADOW = 0x00080000
58 void drawCells(
FXDCWindow &dc,FXint x,FXint y,FXint cw,FXint ch);
59 void drawSegments(
FXDCWindow &dc,FXint x,FXint y,FXint w,FXint h,FXuint segments);
61 long onPaint(
FXObject*,FXSelector,
void*);
62 long onCmdSetValue(
FXObject*,FXSelector,
void*);
63 long onCmdSetIntValue(
FXObject*,FXSelector,
void*);
64 long onCmdGetIntValue(
FXObject*,FXSelector,
void*);
65 long onCmdSetLongValue(
FXObject*,FXSelector,
void*);
66 long onCmdGetLongValue(
FXObject*,FXSelector,
void*);
67 long onCmdSetRealValue(
FXObject*,FXSelector,
void*);
68 long onCmdGetRealValue(
FXObject*,FXSelector,
void*);
69 long onCmdSetStringValue(
FXObject*,FXSelector,
void*);
70 long onCmdGetStringValue(
FXObject*,FXSelector,
void*);
71 long onCmdSetHelp(
FXObject*,FXSelector,
void*);
72 long onCmdGetHelp(
FXObject*,FXSelector,
void*);
73 long onCmdSetTip(
FXObject*,FXSelector,
void*);
74 long onCmdGetTip(
FXObject*,FXSelector,
void*);
75 long onQueryHelp(
FXObject*,FXSelector,
void*);
76 long onQueryTip(
FXObject*,FXSelector,
void*);
80 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);
83 virtual FXint getDefaultWidth();
86 virtual FXint getDefaultHeight();
95 void setTextColor(FXColor clr);
101 void setCellWidth(FXint w);
102 FXint getCellWidth()
const {
return cellwidth; }
105 void setCellHeight(FXint h);
106 FXint getCellHeight()
const {
return cellheight; }
109 void setThickness(FXint t);
110 FXint getThickness()
const {
return thickness; }
113 void set7SegmentStyle(FXuint style);
116 FXuint get7SegmentStyle()
const;
119 void setJustify(FXuint mode);
122 FXuint getJustify()
const;
137 virtual void save(
FXStream &store)
const;
void setHelpText(const FXString &text)
Set the status line help text.
Definition: FX7Segment.h:125
The Frame widget provides borders around some contents.
Definition: FXFrame.h:58
void setTipText(const FXString &text)
Set the tool tip message.
Definition: FX7Segment.h:131
Base composite.
Definition: FXComposite.h:32
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
FXString getText() const
Get the text for this label.
Definition: FX7Segment.h:92
FXColor getTextColor() const
Return text color.
Definition: FX7Segment.h:98
Definition: FX4Splitter.h:28
Seven-segment (eg LCD/watch style) widget, useful for making indicators and timers.
Definition: FX7Segment.h:43
const FXString & getTipText() const
Get the tool tip message.
Definition: FX7Segment.h:134
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:138
Window Device Context.
Definition: FXDCWindow.h:48
const FXString & getHelpText() const
Get the status line help text.
Definition: FX7Segment.h:128
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42