Mercurial > minori
diff include/core/strings.h @ 101:c537996cf67b
*: multitude of config changes
1. theme is now configurable from the settings menu
(but you have to restart for it to apply)
2. config is now stored in an INI file, with no method of
conversion from json (this repo is private-ish anyway)
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Fri, 03 Nov 2023 14:06:02 -0400 |
parents | f5940a575d83 |
children | b315f3759c56 |
line wrap: on
line diff
--- a/include/core/strings.h Fri Nov 03 09:43:04 2023 -0400 +++ b/include/core/strings.h Fri Nov 03 14:06:02 2023 -0400 @@ -33,6 +33,9 @@ QString ToQString(const std::string& string); QString ToQString(const std::wstring& wstring); +/* arithmetic :) */ +int ToInt(const std::string& str, int def = 0); + }; // namespace Strings #endif // __core__strings_h \ No newline at end of file