diff options
| author | Pierre Ossman <ossman@cendio.se> | 2014-10-09 11:52:43 +0000 |
|---|---|---|
| committer | Pierre Ossman <ossman@cendio.se> | 2014-10-09 11:52:43 +0000 |
| commit | 933840f353beaa303e746cd13cd15be3ba2a41f3 (patch) | |
| tree | 3f650eece43eae19687d4aafaa383d6071e560e9 /src | |
| parent | f127b22270148a609cdcd03eebf7401e1a317fb9 (diff) | |
Start putting forward declarations early in the file in an
organised manner. Keeps things cleaner.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@10366 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src')
| -rw-r--r-- | src/Fl_win32.cxx | 15 |
1 files changed, 10 insertions, 5 deletions
diff --git a/src/Fl_win32.cxx b/src/Fl_win32.cxx index 3a4cdfab4..fe051e363 100644 --- a/src/Fl_win32.cxx +++ b/src/Fl_win32.cxx @@ -82,10 +82,20 @@ for async mode proper operation, not mentioning the side effects... */ +// Internal functions +static void fl_clipboard_notify_target(HWND wnd); +static void fl_clipboard_notify_untarget(HWND wnd); + +// Internal variables static Fl_GDI_Graphics_Driver fl_gdi_driver; static Fl_Display_Device fl_gdi_display(&fl_gdi_driver); Fl_Display_Device *Fl_Display_Device::_display = &fl_gdi_display; // the platform display +static HWND clipboard_wnd = 0; +static HWND next_clipboard_wnd = 0; + +static bool initial_clipboard = true; + // dynamic wsock dll handling api: #if defined(__CYGWIN__) && !defined(SOCKET) # define SOCKET int @@ -786,11 +796,6 @@ int Fl::clipboard_contains(const char *type) return retval; } -static HWND clipboard_wnd = 0; -static HWND next_clipboard_wnd = 0; - -static bool initial_clipboard = true; - static void fl_clipboard_notify_target(HWND wnd) { if (clipboard_wnd) return; |
