summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorAlbrecht Schlosser <albrechts.fltk@online.de>2008-12-06 14:59:52 +0000
committerAlbrecht Schlosser <albrechts.fltk@online.de>2008-12-06 14:59:52 +0000
commitfbea5019fb1a778c89ab60ae98272fcdca528f50 (patch)
tree17668fa0f0fafad59c3f9ea79cdb27fcec86d268 /test
parente907ce4a11e1258760eea39f4c81cce1d197d9fc (diff)
Replaced all occurrences of the deprecated fl_clip() function by
fl_push_clip(). git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6551 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'test')
-rw-r--r--test/arc.cxx2
-rw-r--r--test/curve.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/test/arc.cxx b/test/arc.cxx
index 6a950d619..e8ae1c6cb 100644
--- a/test/arc.cxx
+++ b/test/arc.cxx
@@ -35,7 +35,7 @@ const char* name[6] = {"X", "Y", "R", "start", "end", "rotate"};
class Drawing : public Fl_Widget {
void draw() {
- fl_clip(x(),y(),w(),h());
+ fl_push_clip(x(),y(),w(),h());
fl_color(FL_DARK3);
fl_rectf(x(),y(),w(),h());
fl_push_matrix();
diff --git a/test/curve.cxx b/test/curve.cxx
index f3e6623c0..73ba5fa69 100644
--- a/test/curve.cxx
+++ b/test/curve.cxx
@@ -40,7 +40,7 @@ int points;
class Drawing : public Fl_Widget {
void draw() {
- fl_clip(x(),y(),w(),h());
+ fl_push_clip(x(),y(),w(),h());
fl_color(FL_DARK3);
fl_rectf(x(),y(),w(),h());
fl_push_matrix();