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:
Matthias Melcher
2023-01-23 16:08:51 +01:00
parent 17467b48bd
commit 3a7c9fe978
8 changed files with 191 additions and 181 deletions
+5
View File
@@ -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