Fix graphic options on WinCE
svn-id: r13031
This commit is contained in:
parent
47c167a594
commit
fc8c15dc20
1 changed files with 5 additions and 1 deletions
|
@ -275,7 +275,6 @@ int OptionsDialog::addGraphicControls(GuiObject *boss, int yoffset) {
|
||||||
gm++;
|
gm++;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef _WIN32_WCE
|
|
||||||
// Fullscreen checkbox
|
// Fullscreen checkbox
|
||||||
_fullscreenCheckbox = new CheckboxWidget(boss, x, yoffset, w, 16, "Fullscreen mode");
|
_fullscreenCheckbox = new CheckboxWidget(boss, x, yoffset, w, 16, "Fullscreen mode");
|
||||||
yoffset += 16;
|
yoffset += 16;
|
||||||
|
@ -283,6 +282,11 @@ int OptionsDialog::addGraphicControls(GuiObject *boss, int yoffset) {
|
||||||
// Aspect ratio checkbox
|
// Aspect ratio checkbox
|
||||||
_aspectCheckbox = new CheckboxWidget(boss, x, yoffset, w, 16, "Aspect ratio correction");
|
_aspectCheckbox = new CheckboxWidget(boss, x, yoffset, w, 16, "Aspect ratio correction");
|
||||||
yoffset += 16;
|
yoffset += 16;
|
||||||
|
|
||||||
|
#ifdef _WIN32_WCE
|
||||||
|
_fullscreenCheckbox->setState(TRUE);
|
||||||
|
_fullscreenCheckbox->setEnabled(FALSE);
|
||||||
|
_aspectCheckbox->setEnabled(FALSE);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
_enableGraphicSettings = true;
|
_enableGraphicSettings = true;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue