refactored the managers

This commit is contained in:
2017-12-31 00:50:07 +01:00
parent 258288bad9
commit bfa2f1637e
80 changed files with 1023 additions and 964 deletions
+2 -2
View File
@@ -2,7 +2,7 @@
#include <QColor>
#include <colorscheme.hpp>
#include "singletons/thememanager.hpp"
namespace chatterino {
namespace messages {
@@ -16,7 +16,7 @@ public:
explicit MessageColor(Type type = Text);
Type getType() const;
const QColor &getColor(ColorScheme &colorScheme) const;
const QColor &getColor(ThemeManager &themeManager) const;
private:
Type type;