summaryrefslogtreecommitdiff
path: root/src/cfg_gfx/opengl.H
diff options
context:
space:
mode:
authorMatthias Melcher <fltk@matthiasm.com>2016-01-23 21:54:30 +0000
committerMatthias Melcher <fltk@matthiasm.com>2016-01-23 21:54:30 +0000
commitbe66d89defefff92dbf683558f9a29f0dfd5c05f (patch)
treecb859539a52b2d26b761daccb3d6d08eb5eae567 /src/cfg_gfx/opengl.H
parent031bc363a02b46274987ed00a742916ac80345a8 (diff)
Added OpenGL support for dotted lines. Active widget now renders focus rectangle correctly.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11039 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/cfg_gfx/opengl.H')
-rw-r--r--src/cfg_gfx/opengl.H10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/cfg_gfx/opengl.H b/src/cfg_gfx/opengl.H
index a741416f7..b8dd2bb86 100644
--- a/src/cfg_gfx/opengl.H
+++ b/src/cfg_gfx/opengl.H
@@ -62,14 +62,6 @@ public:
void pop_clip();
void restore_clip();
// --- implementation is in src/fl_vertex.cxx which includes src/cfg_gfx/xxx_rect.cxx
- // 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);
@@ -91,6 +83,8 @@ public:
// --- implementation is in src/fl_arci.cxx which includes src/cfg_gfx/xxx_arci.cxx
void arc(int x, int y, int w, int h, double a1, double a2);
void pie(int x, int y, int w, int h, double a1, double a2);
+ // --- implementation is in src/fl_line_style.cxx which includes src/cfg_gfx/xxx_line_style.cxx
+ void line_style(int style, int width=0, char* dashes=0);
};