diff options
Diffstat (limited to 'src/QuickMedia.cpp')
-rw-r--r-- | src/QuickMedia.cpp | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/QuickMedia.cpp b/src/QuickMedia.cpp index a2fd42b..ce5a414 100644 --- a/src/QuickMedia.cpp +++ b/src/QuickMedia.cpp @@ -34,13 +34,13 @@ #include <SFML/OpenGL.hpp> #include <GL/glx.h> -static const sf::Color back_color(34, 34, 34); +static const sf::Color back_color(21, 25, 30); static const int DOUBLE_CLICK_TIME = 500; static const std::string fourchan_google_captcha_api_key = "6Ldp2bsSAAAAAAJ5uyx_lx34lJeEpTLVkP5k04qc"; static const float tab_text_size = 18.0f; static const float tab_height = tab_text_size + 10.0f; -static const sf::Color tab_selected_color(0, 85, 119); -static const sf::Color tab_unselected_color(43, 45, 47); +static const sf::Color tab_selected_color(55, 60, 68); +static const sf::Color tab_unselected_color(32, 36, 42); // Prevent writing to broken pipe from exiting the program static void sigpipe_handler(int) { @@ -2681,7 +2681,7 @@ namespace QuickMedia { } sf::RectangleShape captcha_selection_rect; captcha_selection_rect.setOutlineThickness(5.0f); - captcha_selection_rect.setOutlineColor(sf::Color(0, 85, 119)); + captcha_selection_rect.setOutlineColor(sf::Color(55, 60, 68)); // TODO: Draw only the outline instead of a transparent rectangle captcha_selection_rect.setFillColor(sf::Color::Transparent); @@ -3159,6 +3159,7 @@ namespace QuickMedia { messages_tab.type = ChatTabType::MESSAGES; messages_tab.body = std::make_unique<Body>(this, &font, &bold_font); messages_tab.body->draw_thumbnails = true; + messages_tab.body->line_seperator_color = sf::Color::Transparent; messages_tab.text = sf::Text("Messages", font, tab_text_size); tabs.push_back(std::move(messages_tab)); @@ -3166,6 +3167,7 @@ namespace QuickMedia { rooms_tab.type = ChatTabType::ROOMS; rooms_tab.body = std::make_unique<Body>(this, &font, &bold_font); rooms_tab.body->draw_thumbnails = true; + rooms_tab.body->line_seperator_color = sf::Color::Transparent; rooms_tab.text = sf::Text("Rooms", font, tab_text_size); tabs.push_back(std::move(rooms_tab)); @@ -3212,6 +3214,7 @@ namespace QuickMedia { } SearchBar chat_input(font, &plugin_logo, "Send a message..."); + chat_input.set_background_color(sf::Color::Transparent); // TODO: Filer for rooms and settings chat_input.onTextUpdateCallback = nullptr; |