mirror of
https://github.com/fltk/fltk.git
synced 2026-05-30 13:05:35 +08:00
STR 2639 Fixes Fl_Pack resize behaviour
FLUID cleanups FLUID Fl_Pack support improvement FLUID fix error in handling live mode resizables
This commit is contained in:
@@ -65,16 +65,19 @@ protected:
|
||||
|
||||
public:
|
||||
Fl_Pack(int X, int Y, int W, int H, const char *L = 0);
|
||||
|
||||
/**
|
||||
Gets the number of extra pixels of blank space that are added
|
||||
between the children.
|
||||
*/
|
||||
int spacing() const {return spacing_;}
|
||||
|
||||
/**
|
||||
Sets the number of extra pixels of blank space that are added
|
||||
between the children.
|
||||
*/
|
||||
void spacing(int i) {spacing_ = i;}
|
||||
|
||||
/** Returns non-zero if Fl_Pack alignment is horizontal.
|
||||
|
||||
\returns non-zero if Fl_Pack alignment is horizontal (Fl_Pack::HORIZONTAL)
|
||||
@@ -88,6 +91,8 @@ public:
|
||||
See class Fl_Pack documentation for details.
|
||||
*/
|
||||
uchar horizontal() const {return type();}
|
||||
|
||||
void resize(int X, int Y, int W, int H) FL_OVERRIDE;
|
||||
};
|
||||
|
||||
#endif
|
||||
|
||||
Reference in New Issue
Block a user