summaryrefslogtreecommitdiff
path: root/src/cfg_gfx/opengl.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-01-23 20:22:50 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-01-23 20:22:50 +0000
commitde12eddb59bea9ba529230d14cccf3dbef5518e4 (patch)
tree6c19dcb3d9c5ff7a8ad3cfb2db4ff31f87217e0e /src/cfg_gfx/opengl.H
parent1bb1e0f42e7bbcdaa7a4560940c2cd590fc954cf (diff)
Added OpenGL implementation of fl_vertex calls. Compiling and linking, but functionality untested.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11035 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/cfg_gfx/opengl.H')
-rw-r--r--src/cfg_gfx/opengl.H58
1 files changed, 24 insertions, 34 deletions
diff --git a/src/cfg_gfx/opengl.H b/src/cfg_gfx/opengl.H
index 86abea41a..dae36eb20 100644
--- a/src/cfg_gfx/opengl.H
+++ b/src/cfg_gfx/opengl.H
@@ -62,40 +62,30 @@ public:
void pop_clip();
void restore_clip();
// --- implementation is in src/fl_vertex.cxx which includes src/cfg_gfx/xxx_rect.cxx
-// void transformed_vertex0(COORD_T x, COORD_T y);
-// void fixloop();
-// void push_matrix();
-// void pop_matrix();
-// void mult_matrix(double a, double b, double c, double d, double x, double y);
-// void rotate(double d);
-// void begin_points();
-// void begin_line();
-// void begin_loop();
-// void begin_polygon();
-// void begin_complex_polygon();
-// double transform_x(double x, double y);
-// double transform_y(double x, double y);
-// double transform_dx(double x, double y);
-// double transform_dy(double x, double y);
-// void transformed_vertex(double xf, double yf);
-// void vertex(double x, double y);
-// void end_points();
-// void end_line();
-// void end_loop();
-// void end_polygon();
-// void end_complex_polygon();
-// void gap();
-// void circle(double x, double y, double r);
- void begin_complex_polygon() { }
- void transformed_vertex(double xf, double yf) { }
- void vertex(double x, double y) { }
- void end_points() { }
- void end_line() { }
- void end_loop() { }
- void end_polygon() { }
- void end_complex_polygon() { }
- void gap() { }
- void circle(double x, double y, double r) { }
+ // void push_matrix();
+ // void pop_matrix();
+ // void mult_matrix(double a, double b, double c, double d, double x, double y);
+ // void rotate(double d);
+ // double transform_x(double x, double y);
+ // double transform_y(double x, double y);
+ // double transform_dx(double x, double y);
+ // double transform_dy(double x, double y);
+ void transformed_vertex0(COORD_T x, COORD_T y);
+ void transformed_vertex(double xf, double yf);
+ void vertex(double x, double y);
+ void begin_points();
+ void end_points();
+ void begin_line();
+ void end_line();
+ void begin_loop();
+ void end_loop();
+ void begin_polygon();
+ void end_polygon();
+ void begin_complex_polygon();
+ void gap();
+ void end_complex_polygon();
+ void fixloop();
+ void circle(double x, double y, double r);
};