diff options
| author | Manolo Gouy <Manolo> | 2016-09-26 19:35:20 +0000 |
|---|---|---|
| committer | Manolo Gouy <Manolo> | 2016-09-26 19:35:20 +0000 |
| commit | 1b3e273fa7c23b2cc6e9a8fa4e880d107d1e2837 (patch) | |
| tree | 34888dbe45d2a82ec874c8e9585dd65e4e0c2509 /src/Fl_arg.cxx | |
| parent | aa8dc3ffe18e1c9c91c5e7045b3941553c5fd2c5 (diff) | |
Rename Fl_System_Driver::flNoValue to Fl_System_Driver::fl_NoValue to follow the CMP
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3-porting@11988 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
Diffstat (limited to 'src/Fl_arg.cxx')
| -rw-r--r-- | src/Fl_arg.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Fl_arg.cxx b/src/Fl_arg.cxx index ce8df3360..ad2a47938 100644 --- a/src/Fl_arg.cxx +++ b/src/Fl_arg.cxx @@ -285,15 +285,15 @@ void Fl_Window::show(int argc, char **argv) { if (geometry) { int fl = 0, gx = x(), gy = y(); unsigned int gw = w(), gh = h(); fl = Fl::system_driver()->XParseGeometry(geometry, &gx, &gy, &gw, &gh); - if (fl & Fl_System_Driver::flXNegative) gx = Fl::w()-w()+gx; - if (fl & Fl_System_Driver::flYNegative) gy = Fl::h()-h()+gy; + if (fl & Fl_System_Driver::fl_XNegative) gx = Fl::w()-w()+gx; + if (fl & Fl_System_Driver::fl_YNegative) gy = Fl::h()-h()+gy; // int mw,mh; minsize(mw,mh); // if (mw > gw) gw = mw; // if (mh > gh) gh = mh; Fl_Widget *r = resizable(); if (!r) resizable(this); // for WIN32 we assume window is not mapped yet: - if (fl & (Fl_System_Driver::flXValue | Fl_System_Driver::flYValue)) + if (fl & (Fl_System_Driver::fl_XValue | Fl_System_Driver::fl_YValue)) x(-1), resize(gx,gy,gw,gh); else size(gw,gh); |
