summaryrefslogtreecommitdiff
path: root/src/Fl_Window_Driver.cxx
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-03-12 22:24:20 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-03-12 22:24:20 +0000
commite6631a0f7fdc8d3383927bac49f521791cddcc9c (patch)
treeb753578787e06c5aa2acea4c215063cb34167093 /src/Fl_Window_Driver.cxx
parent4643f3e98c8bfabc262770bca5afc31a8b38c7f5 (diff)
Moved the Fl_Window::decorated_*() functions teh Window_Driver
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11356 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Window_Driver.cxx')
-rw-r--r--src/Fl_Window_Driver.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/Fl_Window_Driver.cxx b/src/Fl_Window_Driver.cxx
index de121107a..9908fde9d 100644
--- a/src/Fl_Window_Driver.cxx
+++ b/src/Fl_Window_Driver.cxx
@@ -36,6 +36,18 @@ Fl_Window_Driver::~Fl_Window_Driver()
{
}
+
+/*
+ Used in Fl::focus(Fl_Window).
+ Default implementation does not need to do anything.
+ - reimplemented for OS X Cocoa
+ - reimplemented for X11
+ */
+void Fl_Window_Driver::take_focus()
+{
+}
+
+
int Fl_Window_Driver::double_flush(int eraseoverlay) {
/* This is a working, platform-independent implementation.
Some platforms may re-implement it for their own logic: