diff options
Diffstat (limited to 'src/Body.cpp')
-rw-r--r-- | src/Body.cpp | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/src/Body.cpp b/src/Body.cpp index 4833741..d2af084 100644 --- a/src/Body.cpp +++ b/src/Body.cpp @@ -176,7 +176,7 @@ namespace QuickMedia { num_visible_items(0), top_cut_off(false), bottom_cut_off(false), - item_background(sf::Vector2f(1.0f, 1.0f), 10.0f, sf::Color(60, 65, 73), rounded_rectangle_shader), + item_background(sf::Vector2f(1.0f, 1.0f), 10.0f, sf::Color(55, 60, 68), rounded_rectangle_shader), reaction_background(sf::Vector2f(1.0f, 1.0f), 10.0f, sf::Color(33, 37, 44), rounded_rectangle_shader), rounded_rectangle_mask_shader(rounded_rectangle_mask_shader) { @@ -949,7 +949,7 @@ namespace QuickMedia { if(prev_num_visible_items > 0 && render_selected_item_bg && body_theme == BODY_THEME_MINIMAL) { item_background.set_position(sf::Vector2f(pos.x, item_background_prev_pos.y)); item_background.set_size(item_background_prev_size); - item_background.set_color(sf::Color(60, 65, 73)); + item_background.set_color(sf::Color(55, 60, 68)); item_background.set_band(sf::Vector2f(0.0f, 0.0f), sf::Vector2f(0.0f, 0.0f)); item_background.draw(window); } @@ -1106,9 +1106,6 @@ namespace QuickMedia { const int space_left_row_each = space_left_column_each; - //item_background.set_band_color(sf::Color(60, 65, 73)); - //item_background.set_band(item_background_prev_pos_y - pos.y, item_background_prev_height); - if(page_scroll > 0.0) page_scroll = 0.0; @@ -1146,7 +1143,7 @@ namespace QuickMedia { item_background.set_size(sf::Vector2f(card_width, card_height)); item_background.set_color(sf::Color(33, 37, 44)); item_background.set_band(item_background_prev_pos - (pos + pos_offset), item_background_prev_size); - item_background.set_band_color(sf::Color(60, 65, 73)); + item_background.set_band_color(sf::Color(55, 60, 68)); item_background.draw(window); { @@ -1225,7 +1222,7 @@ namespace QuickMedia { const float gradient_height = 5.0f; if(text_offset_y >= text_height - gradient_height) { const sf::Vector2f card_bottom(text_pos.x, text_height); - const sf::Color color = item_index == selected_item ? sf::Color(60, 65, 73) : sf::Color(33, 37, 44); + const sf::Color color = item_index == selected_item ? sf::Color(55, 60, 68) : sf::Color(33, 37, 44); sf::Vertex gradient_points[4]; gradient_points[0] = sf::Vertex(card_bottom + sf::Vector2f(0.0f, -gradient_height), sf::Color(color.r, color.g, color.b, 0)); @@ -1295,7 +1292,7 @@ namespace QuickMedia { item_background.set_position(item_pos); item_background.set_color(sf::Color(33, 37, 44)); item_background.set_band(item_background_prev_pos - pos, item_background_prev_size); - item_background.set_band_color(sf::Color(60, 65, 73)); + item_background.set_band_color(sf::Color(55, 60, 68)); item_background.draw(window); } |