mirror of
https://github.com/libretro/scummvm.git
synced 2025-03-05 01:38:36 +00:00
Enlarge the option dialogs; note that the widgets should be rearranged / enlarged, too; they aren't yet
svn-id: r18123
This commit is contained in:
parent
c9290b68ff
commit
2935434504
@ -137,6 +137,12 @@ protected:
|
|||||||
EditGameDialog::EditGameDialog(const String &domain, GameSettings target)
|
EditGameDialog::EditGameDialog(const String &domain, GameSettings target)
|
||||||
: OptionsDialog(domain, 10, 40, 320 - 2 * 10, 140) {
|
: OptionsDialog(domain, 10, 40, 320 - 2 * 10, 140) {
|
||||||
|
|
||||||
|
const int screenW = g_system->getOverlayWidth();
|
||||||
|
const int screenH = g_system->getOverlayHeight();
|
||||||
|
|
||||||
|
_w = screenW - 2 * 10;
|
||||||
|
_h = screenH - 2 * 40; // TODO/FIXME
|
||||||
|
|
||||||
const int x = 5;
|
const int x = 5;
|
||||||
const int w = _w - 15;
|
const int w = _w - 15;
|
||||||
const int labelWidth = 65;
|
const int labelWidth = 65;
|
||||||
|
@ -435,6 +435,12 @@ int OptionsDialog::addVolumeControls(GuiObject *boss, int yoffset) {
|
|||||||
GlobalOptionsDialog::GlobalOptionsDialog()
|
GlobalOptionsDialog::GlobalOptionsDialog()
|
||||||
: OptionsDialog(Common::ConfigManager::kApplicationDomain, 10, 20, 320 - 2 * 10, 200 - 1 * 20) {
|
: OptionsDialog(Common::ConfigManager::kApplicationDomain, 10, 20, 320 - 2 * 10, 200 - 1 * 20) {
|
||||||
|
|
||||||
|
const int screenW = g_system->getOverlayWidth();
|
||||||
|
const int screenH = g_system->getOverlayHeight();
|
||||||
|
|
||||||
|
_w = screenW - 2 * 10;
|
||||||
|
_h = screenH - 1 * 20;
|
||||||
|
|
||||||
const int vBorder = 4;
|
const int vBorder = 4;
|
||||||
int yoffset;
|
int yoffset;
|
||||||
|
|
||||||
|
@ -543,13 +543,20 @@ enum {
|
|||||||
kKeysCmd = 'KEYS'
|
kKeysCmd = 'KEYS'
|
||||||
};
|
};
|
||||||
|
|
||||||
#ifndef _WIN32_WCE
|
|
||||||
ConfigDialog::ConfigDialog(ScummEngine *scumm)
|
ConfigDialog::ConfigDialog(ScummEngine *scumm)
|
||||||
: GUI::OptionsDialog("", 40, 30, 240, 124), _vm(scumm) {
|
: GUI::OptionsDialog("", 40, 30, 240, 124), _vm(scumm) {
|
||||||
#else
|
|
||||||
ConfigDialog::ConfigDialog(ScummEngine *scumm)
|
const int screenW = g_system->getOverlayWidth();
|
||||||
: GUI::OptionsDialog("", 40, 30, 240, 124 + 4), _vm(scumm) {
|
const int screenH = g_system->getOverlayHeight();
|
||||||
|
|
||||||
|
_w = screenW - 2 * 40;
|
||||||
|
_h = screenH - 2 * 30 - 16;
|
||||||
|
|
||||||
|
#ifdef _WIN32_WCE
|
||||||
|
_h += 4;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
//
|
//
|
||||||
// Add the buttons
|
// Add the buttons
|
||||||
//
|
//
|
||||||
|
Loading…
x
Reference in New Issue
Block a user