aboutsummaryrefslogtreecommitdiff
path: root/gui/console.h
diff options
context:
space:
mode:
authorMax Horn2003-09-20 01:08:48 +0000
committerMax Horn2003-09-20 01:08:48 +0000
commit21ce55bc9f19c3c75e20e6dd22e17e98224a9ed6 (patch)
treed0755c892a60fbb7ce2a299f6a6998f9c051163e /gui/console.h
parentbfbc6ed39ad3ea9b096ff6212b088a44284209bc (diff)
downloadscummvm-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.h7
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();