bn::rect_window_move_bottom_right_loop_action class

Modifies the position of the bottom-right corner of a rect_window from a minimum to a maximum. When the position is equal to the given final state, it goes back to its initial state and vice versa.

Base classes

template<typename Value, typename Property, class PropertyManager>
class loop_value_template_action<rect_window, fixed_point, rect_window_bottom_right_manager>
Modifies the property of a value by delta from a minimum to a maximum. When the property is equal to the given final state, it goes back to its initial state and vice versa.

Constructors, destructors, conversion operators

rect_window_move_bottom_right_loop_action(rect_window window, int duration_updates, fixed final_bottom, fixed final_right)
Constructor.
rect_window_move_bottom_right_loop_action(rect_window window, int duration_updates, const fixed_point& final_bottom_right)
Constructor.

Public functions

auto window() const -> rect_window
Returns the rect_window to modify.
auto final_bottom_right() const -> const fixed_point&
When the position of the bottom-right corner of the given rect_window is equal to this returned parameter, it goes back to its initial state and vice versa.

Function documentation

bn::rect_window_move_bottom_right_loop_action::rect_window_move_bottom_right_loop_action(rect_window window, int duration_updates, fixed final_bottom, fixed final_right)

Constructor.

Parameters
window rect_window to modify.
duration_updates How much times the action has to be updated before changing the direction of the position delta.
final_bottom When the position of the bottom boundary of the given rect_window is equal to this parameter, it goes back to its initial state and vice versa.
final_right When the position of the right boundary of the given rect_window is equal to this parameter, it goes back to its initial state and vice versa.

bn::rect_window_move_bottom_right_loop_action::rect_window_move_bottom_right_loop_action(rect_window window, int duration_updates, const fixed_point& final_bottom_right)

Constructor.

Parameters
window rect_window to modify.
duration_updates How much times the action has to be updated before changing the direction of the position delta.
final_bottom_right When the position of the bottom-right corner of the given rect_window is equal to this parameter, it goes back to its initial state and vice versa.