Make the minimum screen size 480x800.
Removes some only gui2 hacks to allow 320x240 to test gui2 and remove the small gui specific code. If it doesn't work nicely on 480x800 600x800 will be the minimum again.
This commit is contained in:
parent
16b7fdea0c
commit
e78f048b24
1 changed files with 1 additions and 16 deletions
|
@ -178,27 +178,12 @@ void _set_scroll_to_action(bool ison)
|
|||
|
||||
int min_allowed_width()
|
||||
{
|
||||
// Most things (not all) in the new widgets library work properly on tiny
|
||||
// gui resolution. So allow them, which makes initial testing easier.
|
||||
if(gui2::new_widgets) {
|
||||
return 320;
|
||||
}
|
||||
|
||||
return 800;
|
||||
}
|
||||
|
||||
int min_allowed_height()
|
||||
{
|
||||
// Most things (not all) in the new widgets library work properly on tiny
|
||||
// gui resolution. So allow them, which makes initial testing easier.
|
||||
if(gui2::new_widgets) {
|
||||
return 240;
|
||||
}
|
||||
|
||||
if (game_config::small_gui)
|
||||
return 480;
|
||||
|
||||
return 600;
|
||||
return 480;
|
||||
}
|
||||
|
||||
std::pair<int,int> resolution()
|
||||
|
|
Loading…
Add table
Reference in a new issue