bn::sprite_window_manager class

Manages if a sprite_ptr must be part of the silhouette of the sprite window or not.

Contents

Public static functions

static auto get(const sprite_ptr& sprite) -> bool
Indicates if the given sprite_ptr must be part of the silhouette of the sprite window or not.
static void set(bool window_enabled, sprite_ptr& sprite)
Sets if the given sprite_ptr must be part of the silhouette of the sprite window or not.

Function documentation

static void bn::sprite_window_manager::set(bool window_enabled, sprite_ptr& sprite)

Sets if the given sprite_ptr must be part of the silhouette of the sprite window or not.

Keep in mind that blending and window attributes can't be enabled on a sprite_ptr at the same time.