From 43fe6ee02720782ce9da715b57c8d0037e6ef641 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Thu, 20 Jul 2023 13:48:43 +0200 Subject: 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 --- fluid/Fl_Group_Type.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'fluid/Fl_Group_Type.h') 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 { -- cgit v1.2.3