diff options
| author | Matthias Melcher <fltk@matthiasm.com> | 2016-01-20 21:40:12 +0000 |
|---|---|---|
| committer | Matthias Melcher <fltk@matthiasm.com> | 2016-01-20 21:40:12 +0000 |
| commit | 7d0cf9299ae22b7ff6e9bfe1db31a44663ae83e7 (patch) | |
| tree | 858894bf2ef56823a8c75899bff8501d09de4062 /src/Fl_Gl_Window.cxx | |
| parent | d34974ace7d9beeb991ef387a0b2e6b981659e47 (diff) | |
Wrapping up fl_rect.cxx implementation. Introducing 3 moer virtual functions to Fl_Graphics_Device - will that break binary compatibility?
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11017 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_Gl_Window.cxx')
| -rw-r--r-- | src/Fl_Gl_Window.cxx | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/Fl_Gl_Window.cxx b/src/Fl_Gl_Window.cxx index 0336238a4..e74065ac6 100644 --- a/src/Fl_Gl_Window.cxx +++ b/src/Fl_Gl_Window.cxx @@ -185,6 +185,27 @@ public: glVertex2i(x3, y3); glEnd(); } + void push_clip(int x, int y, int w, int h) { + // TODO: implement OpenGL clipping + } + int clip_box(int x, int y, int w, int h, int &X, int &Y, int &W, int &H) { + // TODO: implement OpenGL clipping + X = x; Y = y; W = w, H = h; + return 0; + } + int not_clipped(int x, int y, int w, int h) { + // TODO: implement OpenGL clipping + return 1; + } + void push_no_clip() { + // TODO: implement OpenGL clipping + } + void pop_clip() { + // TODO: implement OpenGL clipping + } + void restore_clip() { + // TODO: implement OpenGL clipping + } }; const char *Fl_OpenGL_Graphics_Driver::class_id = "Fl_OpenGL_Graphics_Driver"; |
