diff options
| author | Albrecht Schlosser <albrechts.fltk@online.de> | 2008-12-06 14:59:52 +0000 |
|---|---|---|
| committer | Albrecht Schlosser <albrechts.fltk@online.de> | 2008-12-06 14:59:52 +0000 |
| commit | fbea5019fb1a778c89ab60ae98272fcdca528f50 (patch) | |
| tree | 17668fa0f0fafad59c3f9ea79cdb27fcec86d268 /src/Fl_Tabs.cxx | |
| parent | e907ce4a11e1258760eea39f4c81cce1d197d9fc (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 'src/Fl_Tabs.cxx')
| -rw-r--r-- | src/Fl_Tabs.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/Fl_Tabs.cxx b/src/Fl_Tabs.cxx index 886524875..fac59eef7 100644 --- a/src/Fl_Tabs.cxx +++ b/src/Fl_Tabs.cxx @@ -345,8 +345,8 @@ void Fl_Tabs::draw_tab(int x1, int x2, int W, int H, Fl_Widget* o, int what) { if ((x2 < x1+W) && what == RIGHT) x1 = x2 - W; if (H >= 0) { - if (sel) fl_clip(x1, y(), x2 - x1, H + dh - dy); - else fl_clip(x1, y(), x2 - x1, H); + if (sel) fl_push_clip(x1, y(), x2 - x1, H + dh - dy); + else fl_push_clip(x1, y(), x2 - x1, H); H += dh; @@ -371,8 +371,8 @@ void Fl_Tabs::draw_tab(int x1, int x2, int W, int H, Fl_Widget* o, int what) { } else { H = -H; - if (sel) fl_clip(x1, y() + h() - H - dy, x2 - x1, H + dy); - else fl_clip(x1, y() + h() - H, x2 - x1, H); + if (sel) fl_push_clip(x1, y() + h() - H - dy, x2 - x1, H + dy); + else fl_push_clip(x1, y() + h() - H, x2 - x1, H); H += dh; |
