mirror of
https://github.com/fltk/fltk.git
synced 2026-05-27 19:10:24 +08:00
Add void fl_scale_offscreen(Fl_Offscreen &ctx) to support the rescaling of an offscreen buffer.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.4@12240 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
+1
-3
@@ -114,9 +114,7 @@ int oscr_box::handle(int ev)
|
||||
int ret = Fl_Box::handle(ev);
|
||||
|
||||
if (ev == FL_HIDE && oscr) {
|
||||
fl_delete_offscreen(oscr);
|
||||
oscr = 0;
|
||||
iters = num_iterations + 1;
|
||||
fl_scale_offscreen(oscr);
|
||||
}
|
||||
// handle dragging of visible page area - if a valid context exists
|
||||
if (has_oscr())
|
||||
|
||||
Reference in New Issue
Block a user