diff options
| author | Borja Lorente | 2016-07-29 11:01:28 +0200 |
|---|---|---|
| committer | Borja Lorente | 2016-07-31 14:05:14 +0200 |
| commit | c071eb0e188a458e90afae3c01bacf78f0b91c92 (patch) | |
| tree | 75e62870ff9498aeb0f08b47d3a3f7af1740c7c3 /graphics | |
| parent | b9ca6836bdbb16bd9ee637cbb3e1dcb43ecb3ab0 (diff) | |
| download | scummvm-rg350-c071eb0e188a458e90afae3c01bacf78f0b91c92.tar.gz scummvm-rg350-c071eb0e188a458e90afae3c01bacf78f0b91c92.tar.bz2 scummvm-rg350-c071eb0e188a458e90afae3c01bacf78f0b91c92.zip | |
GRAPHICS: Fix style issues
Diffstat (limited to 'graphics')
| -rw-r--r-- | graphics/macgui/macwindowmanager.cpp | 1 | ||||
| -rw-r--r-- | graphics/nine_patch.h | 3 |
2 files changed, 4 insertions, 0 deletions
diff --git a/graphics/macgui/macwindowmanager.cpp b/graphics/macgui/macwindowmanager.cpp index 3d4ef3bc71..da573e6025 100644 --- a/graphics/macgui/macwindowmanager.cpp +++ b/graphics/macgui/macwindowmanager.cpp @@ -290,6 +290,7 @@ bool MacWindowManager::processEvent(Common::Event &event) { it--; BaseMacWindow *w = *it; + if (w->hasAllFocus() || w->getDimensions().contains(event.mouse.x, event.mouse.y)) { if (event.type == Common::EVENT_LBUTTONDOWN || event.type == Common::EVENT_LBUTTONUP) setActive(w->getId()); diff --git a/graphics/nine_patch.h b/graphics/nine_patch.h index 45e4e0918a..ebd6e1e17e 100644 --- a/graphics/nine_patch.h +++ b/graphics/nine_patch.h @@ -50,6 +50,9 @@ namespace Graphics { + class TransparentSurface; + class Surface; + struct NinePatchMark { int offset; int length; |
