diff options
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.cpp b/src/main.cpp index 580b362..dff2328 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7,6 +7,7 @@ #include "../include/Video.hpp" #include "../include/Command.hpp" #include "../include/Settings.hpp" +#include "../include/ColorScheme.hpp" #include <string> #include <SFML/Graphics.hpp> #include <cstring> @@ -280,11 +281,11 @@ int main(int argc, char **argv) #endif }); - Command::add("scaling", [](const vector<string> &args) + Command::add("scale", [](const vector<string> &args) { if(args.size() != 1) { - fprintf(stderr, "Expected 1 argument for command scaling, got %u argument(s)\n", args.size()); + fprintf(stderr, "Expected 1 argument for command scale, got %u argument(s)\n", args.size()); return; } @@ -316,7 +317,7 @@ int main(int argc, char **argv) Channel::getCurrent()->processEvent(event); } - window.clear(sf::Color(40, 40, 40)); + window.clear(ColorScheme::getBackgroundColor()); ChannelSidePanel::draw(window); Channel::getCurrent()->draw(window, cache); UsersSidePanel::draw(window); |