diff options
| author | Manolo Gouy <Manolo> | 2016-03-24 22:26:13 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-03-24 22:26:13 +0000 |
| commit | 2530120d7d084f1ffbb9331e925153a3bcb15b92 (patch) | |
| tree | d71449ebeda1310ea0dddafbc4755db7cd047d27 /src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx | |
| parent | f432c171129fc3657f50073adf87ed99276cb173 (diff) | |
Rewrite Fl::handle_(int e, Fl_Window* window) and Fl_Widget::damage() to remove their platform dependent parts
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11419 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx')
| -rw-r--r-- | src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx index 83103c7e4..967712490 100644 --- a/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx +++ b/src/drivers/Xlib/Fl_Xlib_Graphics_Driver.cxx @@ -98,6 +98,13 @@ void Fl_Xlib_Graphics_Driver::copy_offscreen_with_alpha(int x, int y, int w, int } #endif + +void Fl_Graphics_Driver::add_rectangle_to_region(Fl_Region r, int X, int Y, int W, int H) { + XRectangle R; + R.x = X; R.y = Y; R.width = W; R.height = H; + XUnionRectWithRegion(&R, r, r); +} + // // End of "$Id$". // |
