diff options
author | Paul Gilbert | 2019-01-02 18:18:11 -0800 |
---|---|---|
committer | Paul Gilbert | 2019-01-02 18:18:11 -0800 |
commit | f1d9722f3bd58f7883f3e76c19d4a0133da73489 (patch) | |
tree | 26986b085d83e597b10c3851fde9b49574c10586 /engines/glk/window_pair.h | |
parent | 3ed48e3de223259dd58f0c613c2d68d69848e5a2 (diff) | |
download | scummvm-rg350-f1d9722f3bd58f7883f3e76c19d4a0133da73489.tar.gz scummvm-rg350-f1d9722f3bd58f7883f3e76c19d4a0133da73489.tar.bz2 scummvm-rg350-f1d9722f3bd58f7883f3e76c19d4a0133da73489.zip |
GLK: FROTZ: Add support for pair windows to have more than 2 children
This is primarily for the V6 games, which have up to 8 windows
on-screen at the same time in arbitray positions
ext
Diffstat (limited to 'engines/glk/window_pair.h')
-rw-r--r-- | engines/glk/window_pair.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/engines/glk/window_pair.h b/engines/glk/window_pair.h index 83cbcc884a..10d92648d0 100644 --- a/engines/glk/window_pair.h +++ b/engines/glk/window_pair.h @@ -24,15 +24,17 @@ #define GLK_WINDOW_PAIR_H #include "glk/windows.h" +#include "glk/utils.h" namespace Glk { /** - * Pair window + * Acts as a container of child windows. Under most cases there will be exactly two children, + * though in a special new "OnTop" mode, there can be more than two */ class PairWindow : public Window { public: - Window *_child1, *_child2; + Array<Window *> _children; // split info... uint _dir; ///< winmethod_Left, Right, Above, Below, or OnTop |