bn::dp_direct_bitmap_bg_blending_top_toggle_action class

Toggles if a dp_direct_bitmap_bg_ptr is part of the blending top layer or not when the action is updated a given number of times.

Base classes

template<typename Value, class PropertyManager>
class bool_toggle_value_template_action<dp_direct_bitmap_bg_ptr, dp_direct_bitmap_bg_blending_top_manager>
Toggles a boolean property of a value when the action is updated a given number of times.

Constructors, destructors, conversion operators

dp_direct_bitmap_bg_blending_top_toggle_action(const dp_direct_bitmap_bg_ptr& bg, int duration_updates)
Constructor.
dp_direct_bitmap_bg_blending_top_toggle_action(dp_direct_bitmap_bg_ptr&& bg, int duration_updates)
Constructor.

Public functions

auto bg() const -> const dp_direct_bitmap_bg_ptr&
Returns the dp_direct_bitmap_bg_ptr to modify.

Function documentation

bn::dp_direct_bitmap_bg_blending_top_toggle_action::dp_direct_bitmap_bg_blending_top_toggle_action(const dp_direct_bitmap_bg_ptr& bg, int duration_updates)

Constructor.

Parameters
bg dp_direct_bitmap_bg_ptr to copy.
duration_updates How many times the action has to be updated to toggle if the given dp_direct_bitmap_bg_ptr is part of the blending top layer or not.

bn::dp_direct_bitmap_bg_blending_top_toggle_action::dp_direct_bitmap_bg_blending_top_toggle_action(dp_direct_bitmap_bg_ptr&& bg, int duration_updates)

Constructor.

Parameters
bg dp_direct_bitmap_bg_ptr to move.
duration_updates How many times the action has to be updated to toggle if the given dp_direct_bitmap_bg_ptr is part of the blending top layer or not.