mirror of
https://github.com/fltk/fltk.git
synced 2026-06-04 23:42:15 +08:00
Better use of FL_PORTING preprocessor variable.
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11004 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
@@ -298,9 +298,11 @@ void Fl_Paged_Device::draw_decorated_window(Fl_Window *win, int x_offset, int y_
|
|||||||
{
|
{
|
||||||
Fl_RGB_Image *top, *left, *bottom, *right;
|
Fl_RGB_Image *top, *left, *bottom, *right;
|
||||||
#if defined(FL_PORTING)
|
#if defined(FL_PORTING)
|
||||||
|
top=left=bottom=right=NULL;
|
||||||
# pragma message "FL_PORTING: implement Fl_X::capture_titlebar_and_borders"
|
# pragma message "FL_PORTING: implement Fl_X::capture_titlebar_and_borders"
|
||||||
#endif
|
#else
|
||||||
Fl_X::i(win)->capture_titlebar_and_borders(top, left, bottom, right);
|
Fl_X::i(win)->capture_titlebar_and_borders(top, left, bottom, right);
|
||||||
|
#endif
|
||||||
int wsides = left ? left->w() : 0;
|
int wsides = left ? left->w() : 0;
|
||||||
int toph = top ? top->h() : 0;
|
int toph = top ? top->h() : 0;
|
||||||
if (top) {
|
if (top) {
|
||||||
|
|||||||
Reference in New Issue
Block a user