Remove unnecessary Fl_Window_Driver::flush_Fl_Window()
This commit is contained in:
parent
9a00f36113
commit
f8f7e101f3
@ -57,7 +57,6 @@ private:
|
|||||||
protected:
|
protected:
|
||||||
Fl_Window *pWindow;
|
Fl_Window *pWindow;
|
||||||
int screen_num_; // number of screen where window is mapped
|
int screen_num_; // number of screen where window is mapped
|
||||||
void flush_Fl_Window(); // accessor to protected Fl_Window::flush()
|
|
||||||
public:
|
public:
|
||||||
Fl_Window_Driver(Fl_Window *);
|
Fl_Window_Driver(Fl_Window *);
|
||||||
virtual ~Fl_Window_Driver();
|
virtual ~Fl_Window_Driver();
|
||||||
|
@ -72,8 +72,6 @@ int Fl_Window_Driver::fullscreen_screen_left() {return pWindow->fullscreen_scree
|
|||||||
int Fl_Window_Driver::fullscreen_screen_right() {return pWindow->fullscreen_screen_right;}
|
int Fl_Window_Driver::fullscreen_screen_right() {return pWindow->fullscreen_screen_right;}
|
||||||
void Fl_Window_Driver::current(Fl_Window *c) {pWindow->current_ = c;}
|
void Fl_Window_Driver::current(Fl_Window *c) {pWindow->current_ = c;}
|
||||||
|
|
||||||
void Fl_Window_Driver::flush_Fl_Window() { pWindow->Fl_Window::flush(); }
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
Draw the window content.
|
Draw the window content.
|
||||||
@ -106,11 +104,11 @@ void Fl_Window_Driver::take_focus() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
void Fl_Window_Driver::flush_double() {
|
void Fl_Window_Driver::flush_double() {
|
||||||
flush_Fl_Window();
|
pWindow->Fl_Window::flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Fl_Window_Driver::flush_overlay() {
|
void Fl_Window_Driver::flush_overlay() {
|
||||||
flush_Fl_Window();
|
pWindow->Fl_Window::flush();
|
||||||
}
|
}
|
||||||
|
|
||||||
void Fl_Window_Driver::draw_begin() {
|
void Fl_Window_Driver::draw_begin() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user