summaryrefslogtreecommitdiff
path: root/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_arci.cxx
diff options
context:
space:
mode:
authorManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-03-01 11:20:03 +0100
committerManoloFLTK <41016272+ManoloFLTK@users.noreply.github.com>2021-03-01 11:20:15 +0100
commit81a4b7329c631ce337d8dee8b98ab602aa5f8525 (patch)
tree6037db4b38926d77bab6c8c756313ffca8c28b94 /src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_arci.cxx
parent49a78bc482bc112248a05f0b1ea78bcf80403efa (diff)
Remove warnings about hidden virtual member functions.
Diffstat (limited to 'src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_arci.cxx')
-rw-r--r--src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_arci.cxx4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_arci.cxx b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_arci.cxx
index ba5a7e7d7..f933d10e2 100644
--- a/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_arci.cxx
+++ b/src/drivers/OpenGL/Fl_OpenGL_Graphics_Driver_arci.cxx
@@ -46,6 +46,10 @@ void Fl_OpenGL_Graphics_Driver::arc(int x,int y,int w,int h,double a1,double a2)
glEnd();
}
+void Fl_OpenGL_Graphics_Driver::arc(double x, double y, double r, double start, double end) {
+ Fl_Graphics_Driver::arc(x, y, r, start, end);
+}
+
void Fl_OpenGL_Graphics_Driver::pie(int x,int y,int w,int h,double a1,double a2) {
if (w <= 0 || h <= 0) return;
while (a2<a1) a2 += 360.0; // TODO: write a sensible fmod angle alignment here