citra_qt/configuration: misc input tab improvements
* Added a context menu on the buttons including Clear & Restore Default * Allow clearing (unsetting) inputs. Added a Clear All button * Allow restoring a single input to default (instead of all)
This commit is contained in:
parent
6cc7656e81
commit
690f326613
5 changed files with 119 additions and 19 deletions
|
@ -32,6 +32,8 @@ public:
|
|||
void Set(const std::string& key, int value);
|
||||
void Set(const std::string& key, float value);
|
||||
bool Has(const std::string& key) const;
|
||||
void Erase(const std::string& key);
|
||||
void Clear();
|
||||
|
||||
private:
|
||||
DataType data;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue