source: tags/ms_r16q3/EDIT4/ED4_tools.cxx

Last change on this file was 14425, checked in by westram, 9 years ago
  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 1.1 KB
Line 
1// =============================================================== //
2//                                                                 //
3//   File      : ED4_tools.cxx                                     //
4//   Purpose   :                                                   //
5//                                                                 //
6//   Coded by Ralf Westram (coder@reallysoft.de) in January 2010   //
7//   Institute of Microbiology (Technical University Munich)       //
8//   http://www.arb-home.de/                                       //
9//                                                                 //
10// =============================================================== //
11
12#include "ed4_class.hxx"
13
14void ED4_set_clipping_rectangle(AW_screen_area *rect) {
15    // The following can't be replaced by set_cliprect (set_cliprect clears font overlaps):
16
17    current_device()->set_top_clip_border(rect->t);
18    current_device()->set_bottom_clip_border(rect->b);
19    current_device()->set_left_clip_border(rect->l);
20    current_device()->set_right_clip_border(rect->r);
21}
22
Note: See TracBrowser for help on using the repository browser.