summaryrefslogtreecommitdiff
path: root/FL
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-15 15:36:10 +0000
committerManolo Gouy <Manolo>2016-04-15 15:36:10 +0000
commit2fcb4f419217eb2895ad0e52b15aab252eb827ef (patch)
tree20d7a4148e4454df0cfd9389afd6e57565291781 /FL
parent15715cd89856140e70dfcdaf97b70d8f06d96e2b (diff)
Move platform-dependent implementations of fl_open/close_display() to the Fl_Screen_Driver class
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11619 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL')
-rw-r--r--FL/Fl.H8
-rw-r--r--FL/Fl_Screen_Driver.H4
2 files changed, 4 insertions, 8 deletions
diff --git a/FL/Fl.H b/FL/Fl.H
index 40e845cdb..9c472a29b 100644
--- a/FL/Fl.H
+++ b/FL/Fl.H
@@ -842,15 +842,7 @@ int main() {
static int event_inside(const Fl_Widget*);
static int test_shortcut(Fl_Shortcut);
- /**
- Enables the system input methods facilities. This is the default.
- \see disable_im()
- */
static void enable_im();
- /**
- Disables the system input methods facilities.
- \see enable_im()
- */
static void disable_im();
// event destinations:
diff --git a/FL/Fl_Screen_Driver.H b/FL/Fl_Screen_Driver.H
index 1d19c16ca..a96857bd1 100644
--- a/FL/Fl_Screen_Driver.H
+++ b/FL/Fl_Screen_Driver.H
@@ -138,6 +138,10 @@ public:
// optional methods to enable/disable input methods for complex scripts
virtual void enable_im() {}
virtual void disable_im() {}
+ // implement to open access to the display
+ virtual void open_display() {}
+ // optional method to close display access
+ virtual void close_display() {}
};