3
4
5
6
7
8
9
10
11
12
15#include <pu/ui/ui_Container.hpp>
31 u8 fade_alpha_variation;
34 Overlay(
const i32 x,
const i32 y,
const i32 width,
const i32 height,
const Color bg_clr) :
Container(x, y, width, height),
fade_a(0),
bg_clr(
bg_clr),
rad(
DefaultRadius), is_ending(
false),
max_fade_alpha(
DefaultMaxFadeAlpha),
fade_alpha_variation(
DefaultFadeAlphaVariation) {}
52 this->is_ending = ending;
Definition ui_Container.hpp:21
Definition ui_Overlay.hpp:19
void NotifyEnding(const bool ending)
Definition ui_Overlay.hpp:51
virtual void OnPostRender(render::Renderer::Ref &drawer)
Definition ui_Overlay.hpp:48
bool Render(render::Renderer::Ref &drawer)
Overlay(const i32 x, const i32 y, const i32 width, const i32 height, const Color bg_clr)
Definition ui_Overlay.hpp:34
static constexpr i32 DefaultRadius
Definition ui_Overlay.hpp:21
bool HasRadius()
Definition ui_Overlay.hpp:39
static constexpr u8 DefaultFadeAlphaVariation
Definition ui_Overlay.hpp:23
static constexpr u8 DefaultMaxFadeAlpha
Definition ui_Overlay.hpp:22
virtual void OnPreRender(render::Renderer::Ref &drawer)
Definition ui_Overlay.hpp:47
Definition render_Renderer.hpp:127
Definition render_Renderer.hpp:20
#define PU_SMART_CTOR(type)
Definition pu_Include.hpp:20
#define PU_CLASS_POD_GETSET(fn_name, var_name, type)
Definition pu_Include.hpp:37
Definition ui_Types.hpp:44