diff options
author | Max Horn | 2003-09-20 01:08:48 +0000 |
---|---|---|
committer | Max Horn | 2003-09-20 01:08:48 +0000 |
commit | 21ce55bc9f19c3c75e20e6dd22e17e98224a9ed6 (patch) | |
tree | d0755c892a60fbb7ce2a299f6a6998f9c051163e /gui/console.h | |
parent | bfbc6ed39ad3ea9b096ff6212b088a44284209bc (diff) | |
download | scummvm-rg350-21ce55bc9f19c3c75e20e6dd22e17e98224a9ed6.tar.gz scummvm-rg350-21ce55bc9f19c3c75e20e6dd22e17e98224a9ed6.tar.bz2 scummvm-rg350-21ce55bc9f19c3c75e20e6dd22e17e98224a9ed6.zip |
make console height/width based on a float percentage of the overlay size -> the overlay isn't so tiny anymore in COMI
svn-id: r10329
Diffstat (limited to 'gui/console.h')
-rw-r--r-- | gui/console.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/gui/console.h b/gui/console.h index 4af9eafd2e..27db2df681 100644 --- a/gui/console.h +++ b/gui/console.h @@ -72,9 +72,14 @@ protected: int _historySize; int _historyIndex; int _historyLine; + + + float _widthPercent, _heightPercent; + + void reflowLayout(); public: - ConsoleDialog(NewGui *gui, int _realWidth); + ConsoleDialog(NewGui *gui, float widthPercent, float heightPercent); void open(); void drawDialog(); |