summaryrefslogtreecommitdiffstats
path: root/fltk/fltk/DoubleBufferWindow.h
blob: b3700b3fbc06fa61368a97b64094d286d5dd14b7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
// This class is provided for back compatability only with some fltk2.0
// versions. You can turn on double buffering on a normal window if
// you want it.
  
#ifndef fltk_DoubleBufferWindow_h
#define fltk_DoubleBufferWindow_h

#ifndef fltk_Window_h
# include "Window.h"
#endif

namespace fltk {

class DoubleBufferWindow : public Window {

public:
  DoubleBufferWindow(int x, int y, int w, int h, const char*l = 0)
    : Window(x,y,w,h,l) {set_double_buffer();}
    
  DoubleBufferWindow(int w, int h, const char*l = 0)
    : Window(w,h,l) {set_double_buffer();}

};

}

#endif