ui: Moved color scheme selection to preferences

* removed 'Switch Color Scheme' action from View menu
* added dropdown with all fetched color schemes to preferences

bug id = 114
This commit is contained in:
Eberhard Graether
2016-07-20 17:27:53 +02:00
parent 6e9a6f9a8d
commit b2cb95de1b
11 changed files with 92 additions and 55 deletions
@@ -7,8 +7,8 @@ class MessageSwitchColorScheme
: public Message<MessageSwitchColorScheme>
{
public:
MessageSwitchColorScheme(const std::string& filePath)
: colorSchemeFilePath(filePath)
MessageSwitchColorScheme(const FilePath& filePath)
: colorSchemePath(filePath)
{
}
@@ -19,10 +19,10 @@ public:
virtual void print(std::ostream& os) const
{
os << colorSchemeFilePath;
os << colorSchemePath.str();
}
const std::string colorSchemeFilePath;
const FilePath colorSchemePath;
};
#endif // MESSAGE_SWITCH_COLOR_SCHEME_H