summaryrefslogtreecommitdiff
path: root/src/Fl.cxx
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 /src/Fl.cxx
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 'src/Fl.cxx')
-rw-r--r--src/Fl.cxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/Fl.cxx b/src/Fl.cxx
index 775a43837..26e7d4080 100644
--- a/src/Fl.cxx
+++ b/src/Fl.cxx
@@ -1941,16 +1941,34 @@ int Fl::clipboard_contains(const char *type)
return Fl::system_driver()->clipboard_contains(type);
}
+/**
+ Enables the system input methods facilities. This is the default.
+ \see disable_im()
+ */
void Fl::enable_im()
{
Fl::screen_driver()->enable_im();
}
+/**
+ Disables the system input methods facilities.
+ \see enable_im()
+ */
void Fl::disable_im()
{
Fl::screen_driver()->disable_im();
}
+void fl_open_display()
+{
+ Fl::screen_driver()->open_display();
+}
+
+void fl_close_display()
+{
+ Fl::screen_driver()->close_display();
+}
+
//
// End of "$Id$".
//