class
#include <bn_bg_palette_actions.h>
bg_palette_inverted_toggle_action Toggles if the colors of a bg_
Base classes
-
template<typename Value, class PropertyManager>class bool_toggle_value_template_action<bg_palette_ptr, bg_palette_inverted_manager>
- Toggles a boolean property of a value when the action is updated a given number of times.
Constructors, destructors, conversion operators
-
bg_palette_inverted_toggle_action(const bg_
palette_ ptr& palette, int duration_updates) - Constructor.
-
bg_palette_inverted_toggle_action(bg_
palette_ ptr&& palette, int duration_updates) - Constructor.
Public functions
-
auto palette() const -> const bg_
palette_ ptr& - Returns the bg_
palette_ ptr to modify.
Function documentation
bn:: bg_palette_inverted_toggle_action:: bg_palette_inverted_toggle_action(const bg_ palette_ ptr& palette,
int duration_updates)
Constructor.
Parameters | |
---|---|
palette | bg_ |
duration_updates | How much times the action has to be updated to toggle if the colors of the given bg_ |
bn:: bg_palette_inverted_toggle_action:: bg_palette_inverted_toggle_action(bg_ palette_ ptr&& palette,
int duration_updates)
Constructor.
Parameters | |
---|---|
palette | bg_ |
duration_updates | How much times the action has to be updated to toggle if the colors of the given bg_ |