Zappy GUI
C++ graphic client: renderer, camera, network
Loading...
Searching...
No Matches
EntityTooltipWidget.cpp File Reference
#include "EntityTooltipWidget.hpp"
#include <algorithm>
#include "ColorPalette.hpp"
#include "I18n.hpp"
#include "TextRenderer.hpp"
+ Include dependency graph for EntityTooltipWidget.cpp:

Go to the source code of this file.

Variables

static constexpr Color BG_COLOR = {20, 25, 35, 220}
 
static constexpr Color BORDER_COLOR = {60, 70, 90, 200}
 
static constexpr Color TEXT_COLOR = {255, 255, 255, 255}
 
static constexpr Color TILE_COLOR = {100, 200, 255, 255}
 
static constexpr Color PLAYER_COLOR = {100, 255, 150, 255}
 
static constexpr Color EGG_COLOR = {255, 200, 80, 255}
 
static constexpr Color FOLLOW_NORMAL = {40, 80, 60, 220}
 
static constexpr Color FOLLOW_HOVER = {60, 140, 90, 240}
 
static constexpr Color STOP_NORMAL = {80, 40, 40, 220}
 
static constexpr Color STOP_HOVER = {140, 60, 60, 240}
 

Variable Documentation

◆ BG_COLOR

constexpr Color BG_COLOR = {20, 25, 35, 220}
staticconstexpr

◆ BORDER_COLOR

constexpr Color BORDER_COLOR = {60, 70, 90, 200}
staticconstexpr

◆ EGG_COLOR

constexpr Color EGG_COLOR = {255, 200, 80, 255}
staticconstexpr

Definition at line 16 of file EntityTooltipWidget.cpp.

Referenced by EntityTooltipWidget::_rebuild().

◆ FOLLOW_HOVER

constexpr Color FOLLOW_HOVER = {60, 140, 90, 240}
staticconstexpr

Definition at line 18 of file EntityTooltipWidget.cpp.

Referenced by EntityTooltipWidget::handleInput().

◆ FOLLOW_NORMAL

constexpr Color FOLLOW_NORMAL = {40, 80, 60, 220}
staticconstexpr

Definition at line 17 of file EntityTooltipWidget.cpp.

Referenced by EntityTooltipWidget::handleInput().

◆ PLAYER_COLOR

constexpr Color PLAYER_COLOR = {100, 255, 150, 255}
staticconstexpr

Definition at line 15 of file EntityTooltipWidget.cpp.

Referenced by EntityTooltipWidget::_rebuild().

◆ STOP_HOVER

constexpr Color STOP_HOVER = {140, 60, 60, 240}
staticconstexpr

Definition at line 20 of file EntityTooltipWidget.cpp.

Referenced by EntityTooltipWidget::handleInput().

◆ STOP_NORMAL

constexpr Color STOP_NORMAL = {80, 40, 40, 220}
staticconstexpr

Definition at line 19 of file EntityTooltipWidget.cpp.

Referenced by EntityTooltipWidget::handleInput().

◆ TEXT_COLOR

constexpr Color TEXT_COLOR = {255, 255, 255, 255}
staticconstexpr

◆ TILE_COLOR

constexpr Color TILE_COLOR = {100, 200, 255, 255}
staticconstexpr

Definition at line 14 of file EntityTooltipWidget.cpp.

Referenced by EntityTooltipWidget::_rebuild().