21 #ifndef FXARROWBUTTON_H 22 #define FXARROWBUTTON_H 34 ARROW_UP = 0x00080000,
35 ARROW_DOWN = 0x00100000,
36 ARROW_LEFT = 0x00200000,
37 ARROW_RIGHT = 0x00400000,
38 ARROW_AUTO = 0x00800000,
39 ARROW_REPEAT = 0x01000000,
40 ARROW_AUTOGRAY = 0x02000000,
41 ARROW_AUTOHIDE = 0x04000000,
42 ARROW_TOOLBAR = 0x08000000,
43 ARROW_NORMAL = FRAME_RAISED|FRAME_THICK|ARROW_UP
70 long onPaint(
FXObject*,FXSelector,
void*);
71 long onUpdate(
FXObject*,FXSelector,
void*);
72 long onEnter(
FXObject*,FXSelector,
void*);
73 long onLeave(
FXObject*,FXSelector,
void*);
74 long onLeftBtnPress(
FXObject*,FXSelector,
void*);
75 long onLeftBtnRelease(
FXObject*,FXSelector,
void*);
76 long onUngrabbed(
FXObject*,FXSelector,
void*);
77 long onRepeat(
FXObject*,FXSelector,
void*);
78 long onAuto(
FXObject*,FXSelector,
void*);
79 long onKeyPress(
FXObject*,FXSelector,
void*);
80 long onKeyRelease(
FXObject*,FXSelector,
void*);
81 long onHotKeyPress(
FXObject*,FXSelector,
void*);
82 long onHotKeyRelease(
FXObject*,FXSelector,
void*);
83 long onCmdSetHelp(
FXObject*,FXSelector,
void*);
84 long onCmdGetHelp(
FXObject*,FXSelector,
void*);
85 long onCmdSetTip(
FXObject*,FXSelector,
void*);
86 long onCmdGetTip(
FXObject*,FXSelector,
void*);
87 long onQueryHelp(
FXObject*,FXSelector,
void*);
88 long onQueryTip(
FXObject*,FXSelector,
void*);
91 ID_REPEAT=FXFrame::ID_LAST,
98 FXArrowButton(
FXComposite* p,
FXObject* tgt=
nullptr,FXSelector sel=0,FXuint opts=ARROW_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);
101 virtual FXint getDefaultWidth();
104 virtual FXint getDefaultHeight();
107 virtual void enable();
110 virtual void disable();
113 virtual FXbool canFocus()
const;
116 void setState(FXbool s);
134 void setArrowStyle(FXuint style);
137 FXuint getArrowStyle()
const;
140 void setArrowSize(FXint size);
146 void setJustify(FXuint mode);
149 FXuint getJustify()
const;
155 void setArrowColor(FXColor clr);
158 virtual void save(
FXStream& store)
const;
The Frame widget provides borders around some contents.
Definition: FXFrame.h:58
Base composite.
Definition: FXComposite.h:32
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
Definition: FX4Splitter.h:28
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:134
FXString provides essential string manipulation capabilities in FOX.
Definition: FXString.h:42