From 2fcb4f419217eb2895ad0e52b15aab252eb827ef Mon Sep 17 00:00:00 2001 From: Manolo Gouy Date: Fri, 15 Apr 2016 15:36:10 +0000 Subject: 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 --- src/Fl.cxx | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'src/Fl.cxx') 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$". // -- cgit v1.2.3