21 #ifndef FXTOOLBARSHELL_H 22 #define FXTOOLBARSHELL_H 25 #include "FXTopWindow.h" 58 static const FXDefaultCursor cursorType[16];
64 FXuchar where(FXint x,FXint y)
const;
65 void drawBorderRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
66 void drawRaisedRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
67 void drawSunkenRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
68 void drawRidgeRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
69 void drawGrooveRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
70 void drawDoubleRaisedRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
71 void drawDoubleSunkenRectangle(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
72 void drawFrame(
FXDCWindow& dc,FXint x,FXint y,FXint w,FXint h);
80 DRAG_TOPLEFT = (DRAG_TOP|DRAG_LEFT),
81 DRAG_TOPRIGHT = (DRAG_TOP|DRAG_RIGHT),
82 DRAG_BOTTOMLEFT = (DRAG_BOTTOM|DRAG_LEFT),
83 DRAG_BOTTOMRIGHT = (DRAG_BOTTOM|DRAG_RIGHT),
84 DRAG_WHOLE = (DRAG_TOP|DRAG_BOTTOM|DRAG_LEFT|DRAG_RIGHT)
87 long onPaint(
FXObject*,FXSelector,
void*);
88 long onEnter(
FXObject*,FXSelector,
void*);
89 long onLeave(
FXObject*,FXSelector,
void*);
90 long onMotion(
FXObject*,FXSelector,
void*);
91 long onLeftBtnPress(
FXObject*,FXSelector,
void*);
92 long onLeftBtnRelease(
FXObject*,FXSelector,
void*);
93 long onLayout(
FXObject*,FXSelector,
void*);
97 FXToolBarShell(
FXWindow* owner,FXuint opts=FRAME_RAISED|FRAME_THICK,FXint x=0,FXint y=0,FXint w=0,FXint h=0,FXint hs=4,FXint vs=4);
100 virtual void create();
103 virtual void layout();
106 virtual FXint getDefaultWidth();
109 virtual FXint getDefaultHeight();
112 void setFrameStyle(FXuint style);
115 FXuint getFrameStyle()
const;
121 void setHiliteColor(FXColor clr);
127 void setShadowColor(FXColor clr);
133 void setBorderColor(FXColor clr);
139 void setBaseColor(FXColor clr);
145 virtual void save(
FXStream& store)
const;
Window is the base class for all widgets in FOX.
Definition: FXWindow.h:130
A stream is a way to serialize data and objects into a byte stream.
Definition: FXStream.h:81
Definition: FX4Splitter.h:28
Abstract base class for all top-level windows.
Definition: FXTopWindow.h:97
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:134
Window Device Context.
Definition: FXDCWindow.h:48