summaryrefslogtreecommitdiff
path: root/FL/Fl_Window.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-03-13 15:31:26 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-03-13 15:31:26 +0000
commit30756ae3500a62bd8f63b4df3eb3ca8f6b8b0b70 (patch)
tree2fc8e87fa2ed7a3d871acf3f8f3e81ee5d30a376 /FL/Fl_Window.H
parent5953f5a695979d523e460dbd8b7f4ae7d1b05001 (diff)
Window functions to retrieve more detailed window type
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11358 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'FL/Fl_Window.H')
-rw-r--r--FL/Fl_Window.H14
1 files changed, 10 insertions, 4 deletions
diff --git a/FL/Fl_Window.H b/FL/Fl_Window.H
index c1d47c5a7..3573dbb85 100644
--- a/FL/Fl_Window.H
+++ b/FL/Fl_Window.H
@@ -544,9 +544,6 @@ public:
*/
void make_current();
- // Note: Doxygen docs in Fl_Widget.H to avoid redundancy.
- virtual Fl_Window* as_window() { return this; }
-
/**
Changes the cursor for this window. This always calls the system, if
you are changing the cursor a lot you may want to keep track of how
@@ -581,10 +578,19 @@ public:
Fl_Window_Driver *driver() { return pWindowDriver; }
+ // Note: Doxygen docs in Fl_Widget.H to avoid redundancy.
+ virtual Fl_Window* as_window() { return this; }
+
+ /**
+ Return non-null if this is an Fl_Overlay_Window object.
+ */
+ virtual class Fl_Overlay_Window *as_overlay_window() {return 0L; }
+
/**
Return non-null if this is an Fl_Double_Window object.
*/
- virtual Fl_Double_Window *as_double_window() {return NULL;}
+ virtual class Fl_Double_Window *as_double_window() {return 0L;}
+
void shape(const Fl_Image* img);
void shape(const Fl_Image& b) ;
int is_shaped();