* Small doxygen doc improvements + elaborations
* Small name change for new typedef. git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10221 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
afcd967fd8
commit
7eb0c224df
@ -108,20 +108,25 @@ private: // OLD
|
||||
typedef struct {
|
||||
/// A local struct to manage a region defined by xywh
|
||||
typedef struct { int x,y,w,h; } Fl_Region_XYWH;
|
||||
/// A local struct to manage a region defined by left/right/bottom/top
|
||||
typedef struct { int l,r,b,t; } Fl_Region_LRBT;
|
||||
/// A local struct to manage a region defined by left/right/top/bottom
|
||||
typedef struct {
|
||||
int l; ///< (l)eft "x" position, aka x1
|
||||
int r; ///< (r)ight "x" position, aka x2
|
||||
int t; ///< (t)op "y" position, aka y1
|
||||
int b; ///< (b)ottom "y" position, aka y2
|
||||
} Fl_Region_LRTB;
|
||||
/// A local struct to manage a scrollbar's xywh region and tab values
|
||||
typedef struct {
|
||||
int x,y,w,h;
|
||||
int pos; ///< scrollbar tab's position value
|
||||
int size; ///< scrollbar tab's size
|
||||
int first; ///< scrollbar tab's first value
|
||||
int total; ///< scrollbar tab's total value
|
||||
int pos; ///< scrollbar tab's "position of first line displayed"
|
||||
int size; ///< scrollbar tab's "size of window in lines"
|
||||
int first; ///< scrollbar tab's "number of first line"
|
||||
int total; ///< scrollbar tab's "total number of lines"
|
||||
} Fl_Scrollbar_Data;
|
||||
int scrollsize; ///< the effective scrollbar thickness (local or global)
|
||||
Fl_Region_XYWH innerbox; ///< widget's inner box, excluding scrollbars
|
||||
Fl_Region_XYWH innerchild; ///< widget's inner box, including scrollbars
|
||||
Fl_Region_LRBT child; ///< child bounding box: left/right/bottom/top
|
||||
Fl_Region_LRTB child; ///< child bounding box: left/right/top/bottom
|
||||
int hneeded; ///< horizontal scrollbar visibility
|
||||
int vneeded; ///< vertical scrollbar visibility
|
||||
Fl_Scrollbar_Data hscroll; ///< horizontal scrollbar region + values
|
||||
|
@ -384,7 +384,7 @@ void Fl_Scroll::scrollbar_cb(Fl_Widget* o, void*) {
|
||||
whole tree to be deleted at once, without having to keep a pointer to
|
||||
all the children in the user code. A kludge has been done so the
|
||||
Fl_Scroll and all of its children can be automatic (local)
|
||||
variables, but you must declare the Fl_Scroll<I>first</I>, so
|
||||
variables, but you must declare the Fl_Scroll <I>first</I>, so
|
||||
that it is destroyed last.
|
||||
*/
|
||||
Fl_Scroll::Fl_Scroll(int X,int Y,int W,int H,const char* L)
|
||||
|
Loading…
Reference in New Issue
Block a user