mirror of https://github.com/fltk/fltk
Make Fl_Widget_Surface::draw(Fl_Widget *wid, int, int) draw also the overlay if 'wid' is an Fl_Overlay_Window.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12343 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
ae2cc54519
commit
94c9d70f7c
|
@ -77,6 +77,8 @@ void Fl_Widget_Surface::draw(Fl_Widget* widget, int delta_x, int delta_y)
|
|||
}
|
||||
if (!drawn_by_plugin) {
|
||||
widget->draw();
|
||||
Fl_Overlay_Window *over = (is_window ? widget->as_window()->as_overlay_window() : NULL);
|
||||
if (over) over->draw_overlay();
|
||||
}
|
||||
if (is_window && !widget->window()) fl_pop_clip();
|
||||
// find subwindows of widget and print them
|
||||
|
|
Loading…
Reference in New Issue