class
#include <bn_rect_window_actions.h>
rect_window_move_top_left_to_action Modifies the position of the top-left corner of a rect_
Base classes
-
template<typename Value, typename Property, class PropertyManager>class to_value_template_action<rect_window, fixed_point, rect_window_top_left_manager>
- Modifies the property of a value until it has a given state.
Constructors, destructors, conversion operators
-
rect_window_move_top_left_to_action(rect_
window window, int duration_updates, fixed final_top, fixed final_left) - Constructor.
-
rect_window_move_top_left_to_action(rect_
window window, int duration_updates, const fixed_ point& final_top_left) - Constructor.
Public functions
-
auto window() const -> rect_
window - Returns the rect_
window to modify. -
auto final_top_left() const -> const fixed_
point& - Returns the position of the top-left corner of the given rect_
window when the action is updated the given number of times.
Function documentation
bn:: rect_window_move_top_left_to_action:: rect_window_move_top_left_to_action(rect_ window window,
int duration_updates,
fixed final_top,
fixed final_left)
Constructor.
Parameters | |
---|---|
window | rect_ |
duration_updates | Number of times that the action must be updated until the position of the top-left corner of the given rect_ |
final_top | Position of the top boundary of the given rect_ |
final_left | Position of the left boundary of the given rect_ |
bn:: rect_window_move_top_left_to_action:: rect_window_move_top_left_to_action(rect_ window window,
int duration_updates,
const fixed_ point& final_top_left)
Constructor.
Parameters | |
---|---|
window | rect_ |
duration_updates | Number of times that the action must be updated until the position of the top-left corner of the given rect_ |
final_top_left | Position of the top-left corner of the given rect_ |