mirror of
https://github.com/RPCSX/rpcsx.git
synced 2026-04-04 14:08:37 +00:00
Qt: add game icons to the trophy manager
and fix some header behaviour
This commit is contained in:
parent
6f0bad34f4
commit
bb8e89f84a
5 changed files with 135 additions and 24 deletions
|
|
@ -259,3 +259,8 @@ QString gui_settings::GetCurrentStylesheetPath()
|
|||
|
||||
return m_settingsDir.absoluteFilePath(stylesheet + ".qss");
|
||||
}
|
||||
|
||||
QSize gui_settings::SizeFromSlider(int pos)
|
||||
{
|
||||
return gui::gl_icon_size_min + (gui::gl_icon_size_max - gui::gl_icon_size_min) * (pos / (float)gui::gl_max_slider_pos);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue