aboutsummaryrefslogtreecommitdiff
path: root/engines/gargoyle/windows.h
diff options
context:
space:
mode:
authorPaul Gilbert2018-10-19 20:58:55 -0700
committerPaul Gilbert2018-12-08 19:05:59 -0800
commit3c9987c0a7566f99da637a83c9a3fe64b160e6e4 (patch)
treef86c50df4a1684db70161cc06f3c7f9f5fa87b01 /engines/gargoyle/windows.h
parent9e804bf4848d926c32bc3f1fbb5f0ee663fecaa1 (diff)
downloadscummvm-rg350-3c9987c0a7566f99da637a83c9a3fe64b160e6e4.tar.gz
scummvm-rg350-3c9987c0a7566f99da637a83c9a3fe64b160e6e4.tar.bz2
scummvm-rg350-3c9987c0a7566f99da637a83c9a3fe64b160e6e4.zip
GLK: Fixes for window initialization
Diffstat (limited to 'engines/gargoyle/windows.h')
-rw-r--r--engines/gargoyle/windows.h23
1 files changed, 14 insertions, 9 deletions
diff --git a/engines/gargoyle/windows.h b/engines/gargoyle/windows.h
index 02fa7aab35..112e903beb 100644
--- a/engines/gargoyle/windows.h
+++ b/engines/gargoyle/windows.h
@@ -117,6 +117,11 @@ public:
* Set the current output stream
*/
void setCurrent(Common::WriteStream *stream);
+
+ /**
+ * Repaint an area of the windows
+ */
+ void repaint(const Common::Rect &box);
};
/**
@@ -442,21 +447,21 @@ public:
*/
class PairWindow : public Window {
public:
- Window *child1, *child2;
+ Window *_child1, *_child2;
/* split info... */
- glui32 dir; ///< winmethod_Left, Right, Above, or Below
- int vertical, backward; ///< flags
- glui32 division; ///< winmethod_Fixed or winmethod_Proportional
- Window *key; ///< NULL or a leaf-descendant (not a Pair)
- int keydamage; ///< used as scratch space in window closing
- glui32 size; ///< size value
- glui32 wborder; ///< winMethod_Border, NoBorder
+ glui32 _dir; ///< winmethod_Left, Right, Above, or Below
+ bool _vertical, _backward; ///< flags
+ glui32 _division; ///< winmethod_Fixed or winmethod_Proportional
+ Window *_key; ///< NULL or a leaf-descendant (not a Pair)
+ int _keydamage; ///< used as scratch space in window closing
+ glui32 _size; ///< size value
+ glui32 _wborder; ///< winMethod_Border, NoBorder
public:
/**
* Constructor
*/
- PairWindow(Windows *windows, glui32 method, Window *_key, glui32 _size);
+ PairWindow(Windows *windows, glui32 method, Window *key, glui32 size);
/**
* Rearranges the window