From 4cf758f9c4edf33acb62a320ac4a37ed8f4cf595 Mon Sep 17 00:00:00 2001 From: Matthias Melcher Date: Wed, 15 Nov 2023 15:05:34 +0100 Subject: FLUID: updates file structure README --- fluid/README_fl.txt | 2 +- fluid/factory.cxx | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) (limited to 'fluid') diff --git a/fluid/README_fl.txt b/fluid/README_fl.txt index 84ba590d1..83062beb3 100644 --- a/fluid/README_fl.txt +++ b/fluid/README_fl.txt @@ -313,6 +313,7 @@ The list of known Types and their inheritance is: | | +-- Fl_Table | | +-- Fl_Tabs | | +-- Fl_Scroll + | | +-- Fl_Terminal | | +-- Fl_Tile | | +-- Fl_Wizard | | +-- Fl_Grid @@ -340,7 +341,6 @@ The list of known Types and their inheritance is: | +-- Fl_File_Input | +-- Fl_Text_Display | +-- Fl_Text_Editor - | | +-- Fl_Simple_Terminal | +-- Fl_Clock | +-- Fl_Help_View | +-- Fl_Progress diff --git a/fluid/factory.cxx b/fluid/factory.cxx index 6fb243f82..2f425a216 100644 --- a/fluid/factory.cxx +++ b/fluid/factory.cxx @@ -853,6 +853,7 @@ class Fl_Terminal_Type : public Fl_Group_Type typedef Fl_Group_Type super; public: const char *type_name() FL_OVERRIDE { return "Fl_Terminal"; } + // Older .fl files with Fl_Simple_Terminal will create a Fl_Terminal instead. const char *alt_type_name() FL_OVERRIDE { return "Fl_Simple_Terminal"; } Fl_Widget *widget(int x, int y, int w, int h) FL_OVERRIDE { Fl_Widget *myo = 0L; -- cgit v1.2.3