21 #ifndef FXSCROLLAREA_H 22 #define FXSCROLLAREA_H 25 #include "FXComposite.h" 34 HSCROLLER_ALWAYS = 0x00008000,
35 HSCROLLER_NEVER = 0x00010000,
36 VSCROLLER_ALWAYS = 0x00020000,
37 VSCROLLER_NEVER = 0x00040000,
39 HSCROLLING_OFF = HSCROLLER_NEVER|HSCROLLER_ALWAYS,
41 VSCROLLING_OFF = VSCROLLER_NEVER|VSCROLLER_ALWAYS,
43 SCROLLERS_DONT_TRACK = 0x00080000
80 virtual void moveContents(FXint x,FXint y);
81 FXbool startAutoScroll(
FXEvent *event,FXbool onlywheninside=
false);
82 void stopAutoScroll();
83 void placeScrollBars(FXint vw,FXint vh);
88 long onMouseWheel(
FXObject*,FXSelector,
void*);
89 long onHScrollerChanged(
FXObject*,FXSelector,
void*);
90 long onVScrollerChanged(
FXObject*,FXSelector,
void*);
91 long onHScrollerDragged(
FXObject*,FXSelector,
void*);
92 long onVScrollerDragged(
FXObject*,FXSelector,
void*);
93 long onAutoScroll(
FXObject*,FXSelector,
void*);
96 ID_AUTOSCROLL=FXComposite::ID_LAST,
104 void setPosition(FXint x,FXint y);
116 virtual FXint getContentWidth();
119 virtual FXint getContentHeight();
122 virtual FXint getVisibleX()
const;
125 virtual FXint getVisibleY()
const;
128 virtual FXint getVisibleWidth()
const;
131 virtual FXint getVisibleHeight()
const;
134 virtual FXint getDefaultWidth();
137 virtual FXint getDefaultHeight();
140 virtual void layout();
143 FXbool isHorizontalScrollable()
const;
146 FXbool isVerticalScrollable()
const;
149 void setScrollStyle(FXuint style);
152 FXuint getScrollStyle()
const;
161 virtual void save(
FXStream& store)
const;
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
FOX Event.
Definition: FXEvent.h:165
Object is the base class for all objects in FOX; in order to receive messages from the user interface...
Definition: FXObject.h:138