From 4b4591dd72e2e9e9b2ee3f00afe7963c8f578616 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Fri, 4 Nov 2022 17:49:37 +0100 Subject: Fluid now stores set sizes for Fl_Flex. (#529) https://groups.google.com/g/fltkcoredev/c/2JA-CcTbrX4 --- fluid/Fl_Group_Type.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fluid/Fl_Group_Type.h') diff --git a/fluid/Fl_Group_Type.h b/fluid/Fl_Group_Type.h index 3d21a44b6..f0ab0f8ce 100644 --- a/fluid/Fl_Group_Type.h +++ b/fluid/Fl_Group_Type.h @@ -88,11 +88,11 @@ extern Fl_Menu_Item flex_type_menu[]; class Fl_Flex_Type : public Fl_Group_Type { Fl_Menu_Item *subtypes() {return flex_type_menu;} - int fixedSizeTableSize; - int *fixedSizeTable; + int fixedSizeTupleSize; /* number of pairs in array */ + int *fixedSizeTuple; /* [ index, size, index2, size2, ... ] */ int suspend_auto_layout; public: - Fl_Flex_Type() : fixedSizeTableSize(0), fixedSizeTable(NULL), suspend_auto_layout(0) { } + Fl_Flex_Type() : fixedSizeTupleSize(0), fixedSizeTuple(NULL), suspend_auto_layout(0) { } virtual const char *type_name() {return flex_type_name;} virtual const char *alt_type_name() {return "fltk::FlexGroup";} Fl_Widget_Type *_make() { return new Fl_Flex_Type(); } -- cgit v1.2.3