Added missing NO_OVERLAY flag form Fl_Menu_Window (part 2)
git-svn-id: file:///fltk/svn/fltk/branches/branch-1.3@6909 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
parent
e283dfe91c
commit
f1ef3c1047
@ -40,14 +40,13 @@
|
||||
redraw.
|
||||
*/
|
||||
class FL_EXPORT Fl_Menu_Window : public Fl_Single_Window {
|
||||
enum {NO_OVERLAY = 128};
|
||||
public:
|
||||
void show();
|
||||
void erase();
|
||||
void flush();
|
||||
void hide();
|
||||
/** Tells if hardware overlay mode is set */
|
||||
int overlay() {return !(flags()&NO_OVERLAY);}
|
||||
unsigned int overlay() {return !(flags()&NO_OVERLAY);}
|
||||
/** Tells FLTK to use hardware overlay planes if they are available. */
|
||||
void set_overlay() {clear_flag(NO_OVERLAY);}
|
||||
/** Tells FLTK to use normal drawing planes instead of overlay planes.
|
||||
|
@ -387,8 +387,8 @@ void Fl_Text_Display::resize(int X, int Y, int W, int H) {
|
||||
mMaxsize = max(mMaxsize, fl_height(mStyleTable[i].font, mStyleTable[i].size));
|
||||
|
||||
// did we have scrollbars initially?
|
||||
int hscrollbarvisible = mHScrollBar->visible();
|
||||
int vscrollbarvisible = mVScrollBar->visible();
|
||||
unsigned int hscrollbarvisible = mHScrollBar->visible();
|
||||
unsigned int vscrollbarvisible = mVScrollBar->visible();
|
||||
|
||||
// try without scrollbars first
|
||||
mVScrollBar->clear_visible();
|
||||
|
Loading…
Reference in New Issue
Block a user