From fbea5019fb1a778c89ab60ae98272fcdca528f50 Mon Sep 17 00:00:00 2001 From: Albrecht Schlosser Date: Sat, 6 Dec 2008 14:59:52 +0000 Subject: 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 --- test/arc.cxx | 2 +- test/curve.cxx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'test') 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(); -- cgit v1.2.3