summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;