diff options
author | Eugene Sandulenko | 2016-02-03 19:02:08 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2016-02-14 17:12:58 +0100 |
commit | 0ab0daa1dc2717a39455b85048d26570544751a6 (patch) | |
tree | e274cb395f0c855bc4fff5bf0d6faa56a91b1cfe /engines/wage/gui.h | |
parent | 53e68cf92cd3dda8a428bce42015235766b0b70f (diff) | |
download | scummvm-rg350-0ab0daa1dc2717a39455b85048d26570544751a6.tar.gz scummvm-rg350-0ab0daa1dc2717a39455b85048d26570544751a6.tar.bz2 scummvm-rg350-0ab0daa1dc2717a39455b85048d26570544751a6.zip |
WAGE: Further work on console selection
Diffstat (limited to 'engines/wage/gui.h')
-rw-r--r-- | engines/wage/gui.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/engines/wage/gui.h b/engines/wage/gui.h index 09c4693ba8..6adba2721c 100644 --- a/engines/wage/gui.h +++ b/engines/wage/gui.h @@ -112,6 +112,9 @@ private: const Graphics::Font *getConsoleFont(); const Graphics::Font *getTitleFont(); void startMarking(int x, int y); + int calcTextX(int x, int textLine); + int calcTextY(int y); + void updateTextSelection(int x, int y); public: Graphics::Surface _screen; @@ -146,6 +149,10 @@ private: bool _cursorIsArrow; bool _inTextSelection; + int _selectionStartX; + int _selectionStartY; + int _selectionEndX; + int _selectionEndY; }; } // End of namespace Wage |