spicify float literal

This commit is contained in:
otavepto 2024-03-08 02:24:56 +02:00 committed by otavepto
parent 42a5c14ec3
commit 3f09a4c929

View File

@ -118,28 +118,28 @@ struct Overlay_Appearance {
constexpr const static NotificationPosition default_pos = NotificationPosition::top_right; constexpr const static NotificationPosition default_pos = NotificationPosition::top_right;
float font_size = 13.5; float font_size = 13.5f;
float icon_size = 64.0; float icon_size = 64.0f;
float notification_r = 0.16; float notification_r = 0.16f;
float notification_g = 0.29; float notification_g = 0.29f;
float notification_b = 0.48; float notification_b = 0.48f;
float notification_a = 1.0; float notification_a = 1.0f;
float background_r = -1.0; float background_r = -1.0f;
float background_g = -1.0; float background_g = -1.0f;
float background_b = -1.0; float background_b = -1.0f;
float background_a = -1.0; float background_a = -1.0f;
float element_r = -1.0; float element_r = -1.0f;
float element_g = -1.0; float element_g = -1.0f;
float element_b = -1.0; float element_b = -1.0f;
float element_a = -1.0; float element_a = -1.0f;
float element_hovered_r = -1.0; float element_hovered_r = -1.0f;
float element_hovered_g = -1.0; float element_hovered_g = -1.0f;
float element_hovered_b = -1.0; float element_hovered_b = -1.0f;
float element_hovered_a = -1.0; float element_hovered_a = -1.0f;
float element_active_r = -1.0; float element_active_r = -1.0f;
float element_active_g = -1.0; float element_active_g = -1.0f;
float element_active_b = -1.0; float element_active_b = -1.0f;
float element_active_a = -1.0; float element_active_a = -1.0f;
NotificationPosition ach_earned_pos = default_pos; // achievement earned NotificationPosition ach_earned_pos = default_pos; // achievement earned
NotificationPosition invite_pos = default_pos; // lobby/game invitation NotificationPosition invite_pos = default_pos; // lobby/game invitation