diff options
author | zhupengfei <[email protected]> | 2018-08-26 16:23:12 +0800 |
---|---|---|
committer | fearlessTobi <[email protected]> | 2018-10-06 15:43:49 +0200 |
commit | 690f326613998ea9cc0737c2bef99d1ba2cb911c (patch) | |
tree | d17f178e7924e4ffb0d5b96e148490aa758289b6 /src/common/param_package.h | |
parent | 6cc7656e814340ab0030b3b2e39342a501c56560 (diff) | |
download | yuzu-mainline-690f326613998ea9cc0737c2bef99d1ba2cb911c.tar.gz yuzu-mainline-690f326613998ea9cc0737c2bef99d1ba2cb911c.zip |
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)
Diffstat (limited to 'src/common/param_package.h')
-rw-r--r-- | src/common/param_package.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/common/param_package.h b/src/common/param_package.h index 7842cd4ef..6a0a9b656 100644 --- a/src/common/param_package.h +++ b/src/common/param_package.h @@ -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; |