summaryrefslogtreecommitdiff
path: root/src/Fl_win32.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-04-15 14:18:37 +0000
committerManolo Gouy <Manolo>2016-04-15 14:18:37 +0000
commit7508a033c508bb05b315bcb701941f35f8f9a764 (patch)
tree25b23a94fabe9b0bbfac058f2a19107c6a5b56f1 /src/Fl_win32.cxx
parent3f64e2b28d3556a1ea316fe6ae73eabf454f1fa8 (diff)
Continue moving to Fl_System_Driver the platform_dependent implementations of member functions of the Fl class.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11614 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_win32.cxx')
-rw-r--r--src/Fl_win32.cxx10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx
index 9a2e8ffb0..974d2e22d 100644
--- a/src/Fl_win32.cxx
+++ b/src/Fl_win32.cxx
@@ -55,6 +55,7 @@ void fl_cleanup_dc_list(void);
#include <FL/Fl_Graphics_Driver.H> // for fl_graphics_driver
#include "drivers/WinAPI/Fl_WinAPI_Window_Driver.H"
#include "drivers/WinAPI/Fl_WinAPI_System_Driver.H"
+#include "drivers/WinAPI/Fl_WinAPI_Screen_Driver.H"
#include <FL/fl_utf8.h>
#include <FL/Fl_Window.H>
#include <FL/fl_draw.H>
@@ -573,7 +574,7 @@ void Fl::disable_im() {
////////////////////////////////////////////////////////////////
-void Fl::get_mouse(int &x, int &y) {
+void Fl_WinAPI_Screen_Driver::get_mouse(int &x, int &y) {
POINT p;
GetCursorPos(&p);
x = p.x;
@@ -666,7 +667,7 @@ void fl_update_clipboard(void) {
}
// call this when you create a selection:
-void Fl::copy(const char *stuff, int len, int clipboard, const char *type) {
+void Fl_WinAPI_System_Driver::copy(const char *stuff, int len, int clipboard, const char *type) {
if (!stuff || len<0) return;
if (clipboard >= 2)
clipboard = 1; // Only on X11 do multiple clipboards make sense.
@@ -1928,12 +1929,11 @@ void Fl_X::set_minmax(LPMINMAXINFO minmax)
}
}
-////////////////////////////////////////////////////////////////
-#include <FL/filename.H> // need so FL_EXPORT fl_filename_name works
+////////////////////////////////////////////////////////////////
// returns pointer to the filename, or null if name ends with '/'
-const char *fl_filename_name(const char *name) {
+const char *Fl_WinAPI_System_Driver::filename_name(const char *name) {
const char *p,*q;
if (!name) return (0);
q = name;