ui: color schemes

Put all colors into single xml file. Accessing colors is handled via the singleton class ColorScheme. The default scheme
"bright.xml" holds the original colors. The scheme "dark.xml" is a start, but still a poor alternative. Color schemes
can be switched via the View menu.
This commit is contained in:
Eberhard Graether
2015-07-17 19:50:39 +02:00
parent fb170cbd5d
commit 5722b4dc23
42 changed files with 979 additions and 309 deletions
@@ -0,0 +1,23 @@
#ifndef MESSAGE_SWITCH_COLOR_SCHEME_H
#define MESSAGE_SWITCH_COLOR_SCHEME_H
#include "utility/messaging/Message.h"
class MessageSwitchColorScheme
: public Message<MessageSwitchColorScheme>
{
public:
MessageSwitchColorScheme(const std::string& filePath)
: colorSchemeFilePath(filePath)
{
}
static const std::string getStaticType()
{
return "MessageSwitchColorScheme";
}
const std::string colorSchemeFilePath;
};
#endif // MESSAGE_SWITCH_COLOR_SCHEME_H