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
This commit is contained in:
Albrecht Schlosser
2008-12-06 14:59:52 +00:00
parent e907ce4a11
commit fbea5019fb
13 changed files with 19 additions and 19 deletions
+1 -1
View File
@@ -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();
+1 -1
View File
@@ -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();