summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2023-11-15 15:05:34 +0100
committerMatthias Melcher <github@matthiasm.com>2023-11-15 15:05:38 +0100
commit4cf758f9c4edf33acb62a320ac4a37ed8f4cf595 (patch)
treec453f1bdd1357629663e11bfb78409371d51e413
parent45fd14537063bd6aa0c492f407b5ff62f1210df6 (diff)
FLUID: updates file structure README
-rw-r--r--fluid/README_fl.txt2
-rw-r--r--fluid/factory.cxx1
2 files changed, 2 insertions, 1 deletions
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;