palette_bitmap_bg_move_pivot_by_action class
#include <bn_palette_bitmap_bg_actions.h>
Modifies the position of the pivot of a palette_
Base classes
-
template<typename Value, typename Property, class PropertyManager>class by_value_template_action<palette_bitmap_bg_ptr, fixed_point, palette_bitmap_bg_pivot_position_manager>
- Modifies the property of a value by a given delta.
Constructors, destructors, conversion operators
-
palette_bitmap_bg_move_pivot_by_action(const palette_
bitmap_ bg_ ptr& bg, fixed delta_x, fixed delta_y) - Constructor.
-
palette_bitmap_bg_move_pivot_by_action(palette_
bitmap_ bg_ ptr&& bg, fixed delta_x, fixed delta_y) - Constructor.
-
palette_bitmap_bg_move_pivot_by_action(const palette_
bitmap_ bg_ ptr& bg, const fixed_ point& delta_position) - Constructor.
-
palette_bitmap_bg_move_pivot_by_action(palette_
bitmap_ bg_ ptr&& bg, const fixed_ point& delta_position) - Constructor.
Public functions
-
auto bg() const -> const palette_
bitmap_ bg_ ptr& - Returns the palette_
bitmap_ bg_ ptr to modify. -
auto delta_position() const -> const fixed_
point& - Returns how much to add to the position of the pivot of the given palette_
bitmap_ bg_ ptr when the action is updated.
Function documentation
bn:: palette_bitmap_bg_move_pivot_by_action:: palette_bitmap_bg_move_pivot_by_action(const palette_ bitmap_ bg_ ptr& bg,
fixed delta_x,
fixed delta_y)
Constructor.
| Parameters | |
|---|---|
| bg | palette_ |
| delta_x | How much to add to the horizontal position of the pivot of the given palette_ |
| delta_y | How much to add to the horizontal position of the pivot of the given palette_ |
bn:: palette_bitmap_bg_move_pivot_by_action:: palette_bitmap_bg_move_pivot_by_action(palette_ bitmap_ bg_ ptr&& bg,
fixed delta_x,
fixed delta_y)
Constructor.
| Parameters | |
|---|---|
| bg | palette_ |
| delta_x | How much to add to the horizontal position of the pivot of the given palette_ |
| delta_y | How much to add to the horizontal position of the pivot of the given palette_ |
bn:: palette_bitmap_bg_move_pivot_by_action:: palette_bitmap_bg_move_pivot_by_action(const palette_ bitmap_ bg_ ptr& bg,
const fixed_ point& delta_position)
Constructor.
| Parameters | |
|---|---|
| bg | palette_ |
| delta_position | How much to add to the position of the pivot of the given palette_ |
bn:: palette_bitmap_bg_move_pivot_by_action:: palette_bitmap_bg_move_pivot_by_action(palette_ bitmap_ bg_ ptr&& bg,
const fixed_ point& delta_position)
Constructor.
| Parameters | |
|---|---|
| bg | palette_ |
| delta_position | How much to add to the position of the pivot of the given palette_ |