Skip to content

Commit

Permalink
GRAPHICS: MACGUI: Made more MacWindow methods public
Browse files Browse the repository at this point in the history
  • Loading branch information
sev- committed Aug 1, 2017
1 parent 68cd5c8 commit ff8a2ad
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions graphics/macgui/macwindow.h
Expand Up @@ -262,7 +262,7 @@ class MacWindow : public BaseMacWindow {
/**
* See BaseMacWindow.
*/
bool processEvent(Common::Event &event);
virtual bool processEvent(Common::Event &event);
bool hasAllFocus() { return _beingDragged || _beingResized; }

/**
Expand All @@ -285,6 +285,8 @@ class MacWindow : public BaseMacWindow {
*/
void setCloseable(bool closeable);

WindowClick isInBorder(int x, int y);

private:
void drawBorder();
void prepareBorderSurface(ManagedSurface *g);
Expand All @@ -295,7 +297,6 @@ class MacWindow : public BaseMacWindow {
void fillRect(ManagedSurface *g, int x, int y, int w, int h, int color);
const Font *getTitleFont();
void updateInnerDims();
WindowClick isInBorder(int x, int y);

bool isInCloseButton(int x, int y);
bool isInResizeButton(int x, int y);
Expand Down

0 comments on commit ff8a2ad

Please sign in to comment.