Went with just making the left gui frame monochrome to sort out its value structure compared to the scene.
This commit is contained in:
parent
9fe7cac79b
commit
1790eec697
2 changed files with 1 additions and 2 deletions
Binary file not shown.
Before Width: | Height: | Size: 119 KiB After Width: | Height: | Size: 85 KiB |
3
gui.cpp
3
gui.cpp
|
@ -222,12 +222,11 @@ namespace gui {
|
|||
void FSM::draw_gui() {
|
||||
sf::RectangleShape rect({SCREEN_WIDTH - RAY_VIEW_WIDTH, SCREEN_HEIGHT});
|
||||
rect.setPosition({0,0});
|
||||
rect.setFillColor({36, 33, 26});
|
||||
rect.setFillColor({30, 30, 30});
|
||||
$window.draw(rect);
|
||||
|
||||
auto left_gui = $textures.sprite_textures.at("left_gui").sprite;
|
||||
left_gui->setPosition({0,0});
|
||||
left_gui->setColor({150, 150, 150});
|
||||
$window.draw(*left_gui);
|
||||
|
||||
sf::RectangleShape lower({RAY_VIEW_WIDTH, SCREEN_HEIGHT - RAY_VIEW_HEIGHT});
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue