summaryrefslogtreecommitdiff
path: root/src/drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx
diff options
context:
space:
mode:
authorManolo Gouy <Manolo>2016-02-19 12:40:24 +0000
committerManolo Gouy <Manolo>2016-02-19 12:40:24 +0000
commit1b5e231c902ab198c577989db44946797ebd4893 (patch)
tree211751e0eceda308df4e51d94511362f5e0b55f6 /src/drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx
parent6d766cc6814a9e7a04c0b147c7a3cbdc0817dfd4 (diff)
Rename Fl_Graphics_Driver::set_gc(void*) to gc(void*) and Fl_Graphics_Driver::get_gc() to gc().
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11191 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx')
-rw-r--r--src/drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx b/src/drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx
index 4107a47fc..cb871a6ac 100644
--- a/src/drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx
+++ b/src/drivers/GDI/Fl_GDI_Graphics_Driver_vertex.cxx
@@ -41,7 +41,7 @@ void Fl_GDI_Graphics_Driver::vertex(double x,double y) {
}
void Fl_GDI_Graphics_Driver::end_points() {
- for (int i=0; i<n; i++) SetPixel(gc, p[i].x, p[i].y, fl_RGB());
+ for (int i=0; i<n; i++) SetPixel(gc_, p[i].x, p[i].y, fl_RGB());
}
void Fl_GDI_Graphics_Driver::end_line() {
@@ -49,7 +49,7 @@ void Fl_GDI_Graphics_Driver::end_line() {
end_points();
return;
}
- if (n>1) Polyline(gc, p, n);
+ if (n>1) Polyline(gc_, p, n);
}
void Fl_GDI_Graphics_Driver::end_loop() {
@@ -65,8 +65,8 @@ void Fl_GDI_Graphics_Driver::end_polygon() {
return;
}
if (n>2) {
- SelectObject(gc, fl_brush());
- Polygon(gc, p, n);
+ SelectObject(gc_, fl_brush());
+ Polygon(gc_, p, n);
}
}
@@ -94,8 +94,8 @@ void Fl_GDI_Graphics_Driver::end_complex_polygon() {
return;
}
if (n>2) {
- SelectObject(gc, fl_brush());
- PolyPolygon(gc, p, counts, numcount);
+ SelectObject(gc_, fl_brush());
+ PolyPolygon(gc_, p, counts, numcount);
}
}
@@ -114,10 +114,10 @@ void Fl_GDI_Graphics_Driver::circle(double x, double y,double r) {
int h = (int)rint(yt+ry)-lly;
if (what==POLYGON) {
- SelectObject(gc, fl_brush());
- Pie(gc, llx, lly, llx+w, lly+h, 0,0, 0,0);
+ SelectObject(gc_, fl_brush());
+ Pie(gc_, llx, lly, llx+w, lly+h, 0,0, 0,0);
} else
- Arc(gc, llx, lly, llx+w, lly+h, 0,0, 0,0);
+ Arc(gc_, llx, lly, llx+w, lly+h, 0,0, 0,0);
}
#endif // FL_CFG_GFX_GDI_VERTEX_CXX