mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-07-31 21:28:51 +00:00
Settings: emit HideCursorChanged()
This commit is contained in:
parent
14da8232f6
commit
833e38ed56
3 changed files with 19 additions and 3 deletions
|
@ -213,6 +213,17 @@ QSize Settings::GetRenderWindowSize() const
|
|||
return value(QStringLiteral("Graphics/RenderWindowSize"), QSize(640, 480)).toSize();
|
||||
}
|
||||
|
||||
void Settings::SetHideCursor(bool hide_cursor)
|
||||
{
|
||||
SConfig::GetInstance().bHideCursor = hide_cursor;
|
||||
emit HideCursorChanged();
|
||||
}
|
||||
|
||||
bool Settings::GetHideCursor() const
|
||||
{
|
||||
return SConfig::GetInstance().bHideCursor;
|
||||
}
|
||||
|
||||
bool& Settings::BannerVisible() const
|
||||
{
|
||||
return SConfig::GetInstance().m_showBannerColumn;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue