diff options
| author | Matthias Melcher <github@matthiasm.com> | 2023-07-20 13:48:43 +0200 |
|---|---|---|
| committer | Matthias Melcher <github@matthiasm.com> | 2023-07-20 13:49:19 +0200 |
| commit | 43fe6ee02720782ce9da715b57c8d0037e6ef641 (patch) | |
| tree | 10ba1b2a287ba93c4dc15b3a5340549c3a9f57b1 /fluid/Fl_Group_Type.h | |
| parent | 4ec02555ef84965cc83e62e4181f091103bfb269 (diff) | |
FLUID improves positioning and sizing new widgets
Better default sizes for text based widgets and menu managers
Better Menu refresh on custom text heights
Smarter positioning of menu bars and groups inside tabs
Fixes wrong include guard
Diffstat (limited to 'fluid/Fl_Group_Type.h')
| -rw-r--r-- | fluid/Fl_Group_Type.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/fluid/Fl_Group_Type.h b/fluid/Fl_Group_Type.h index 9b6b83404..6f104fb80 100644 --- a/fluid/Fl_Group_Type.h +++ b/fluid/Fl_Group_Type.h @@ -1,7 +1,7 @@ // -// Widget type header file for the Fast Light Tool Kit (FLTK). +// Group type header file for the Fast Light Tool Kit (FLTK). // -// Copyright 1998-2021 by Bill Spitzak and others. +// Copyright 1998-2023 by Bill Spitzak and others. // // This library is free software. Distribution and use rights are outlined in // the file "COPYING" which should have been included with this file. If this @@ -40,6 +40,7 @@ class Fl_Group_Type : public Fl_Widget_Type { typedef Fl_Widget_Type super; public: + void ideal_size(int &w, int &h) FL_OVERRIDE; const char *type_name() FL_OVERRIDE {return "Fl_Group";} const char *alt_type_name() FL_OVERRIDE {return "fltk::Group";} Fl_Widget *widget(int X,int Y,int W,int H) FL_OVERRIDE { |
