Added 16:9 icon + icon for unknown ratios
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@6881 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
a08c58ceae
commit
23cde9398f
BIN
data/gui/screen169.png
Normal file
BIN
data/gui/screen169.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 14 KiB |
BIN
data/gui/screen_other.png
Normal file
BIN
data/gui/screen_other.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 12 KiB |
@ -147,12 +147,8 @@ void OptionsScreenVideo::init()
|
||||
else if (ABOUT_EQUAL( ratio, (16.0f/10.0f))) res->addItem(name, name, "/gui/screen1610.png");
|
||||
else if (ABOUT_EQUAL( ratio, (5.0f/3.0f) )) res->addItem(name, name, "/gui/screen53.png");
|
||||
else if (ABOUT_EQUAL( ratio, (3.0f/2.0f) )) res->addItem(name, name, "/gui/screen32.png");
|
||||
else
|
||||
{
|
||||
std::cout << "Unknown screen size ratio : " << ratio << std::endl;
|
||||
// FIXME - do something better than showing a random icon
|
||||
res->addItem(name,name, file_manager->getDataDir() + "/gui/screen1610.png");
|
||||
}
|
||||
else if (ABOUT_EQUAL( ratio, (16.0f/9.0f) )) res->addItem(name, name, "/gui/screen169.png");
|
||||
else res->addItem(name, name, "/gui/screen_other.png");
|
||||
#undef ABOUT_EQUAL
|
||||
} // next resolution
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user