summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-01-23 16:08:51 +0100
committerMatthias Melcher <github@matthiasm.com>2023-01-23 16:08:59 +0100
commit3a7c9fe9781067075c38393b6599d8095a777483 (patch)
treeb20488c4d93cf491a5761ee2dbd1328aebe4c312 /FL
parent17467b48bdf540cc7fc8d7cbc814a788210f8693 (diff)
STR 2639 Fixes Fl_Pack resize behaviour
FLUID cleanups FLUID Fl_Pack support improvement FLUID fix error in handling live mode resizables
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl_Pack.H5
1 files changed, 5 insertions, 0 deletions
diff --git a/FL/Fl_Pack.H b/FL/Fl_Pack.H
index 1e38c4187..1f8db0155 100644
--- a/FL/Fl_Pack.H
+++ b/FL/Fl_Pack.H
@@ -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