bn::rect_window_move_bottom_right_to_action class

Modifies the position of the bottom-right corner of a rect_window until it has a given state.

Base classes

template<typename Value, typename Property, class PropertyManager>
class to_value_template_action<rect_window, fixed_point, rect_window_bottom_right_manager>
Modifies the property of a value until it has a given state.

Constructors, destructors, conversion operators

rect_window_move_bottom_right_to_action(rect_window window, int duration_updates, fixed final_bottom, fixed final_right)
Constructor.
rect_window_move_bottom_right_to_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&
Returns the position of the bottom-right corner of the given rect_window when the action is updated the given number of times.

Function documentation

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

Constructor.

Parameters
window rect_window to modify.
duration_updates Number of times that the action must be updated until the position of the bottom-right corner of the given rect_window is equal to (final_bottom, final_right).
final_bottom Position of the bottom boundary of the given rect_window when the action is updated duration_updates times.
final_right Position of the right boundary of the given rect_window when the action is updated duration_updates times.

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

Constructor.

Parameters
window rect_window to modify.
duration_updates Number of times that the action must be updated until the position of the bottom-right corner of the given rect_window is equal to final_bottom_right.
final_bottom_right Position of the bottom-right corner of the given rect_window when the action is updated duration_updates times.