GRAPHICS: MACGUI: add comment for enableScrollbar

This commit is contained in:
ysj1173886760 2021-04-18 21:52:35 +08:00 committed by Eugene Sandulenko
parent a2f48f5343
commit 27986beebc

View File

@ -287,7 +287,6 @@ public:
/**
* See BaseMacWindow.
*/
void enableScrollbar(bool active) { _hasScrollBar = active; }
virtual bool processEvent(Common::Event &event) override;
virtual bool hasAllFocus() override { return _beingDragged || _beingResized; }
@ -305,6 +304,11 @@ public:
void loadBorder(Common::SeekableReadStream &file, uint32 flags, int lo = -1, int ro = -1, int to = -1, int bo = -1);
void loadBorder(Common::SeekableReadStream &file, uint32 flags, BorderOffsets offsets);
void disableBorder();
/**
* we better set this before we load the border
* @param scrollbar state
*/
void enableScrollbar(bool active) { _hasScrollBar = active; }
/**
* Indicate whether the window can be closed (false by default).