class
#include <bn_rect_window_actions.h>
rect_window_move_top_loop_action Modifies the position of the top boundary of a rect_
Base classes
-
template<typename Value, typename Property, class PropertyManager>class loop_value_template_action<rect_window, fixed, rect_window_top_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_top_loop_action(rect_
window window, int duration_updates, fixed final_top) - Constructor.
Public functions
-
auto window() const -> rect_
window - Returns the rect_
window to modify. - auto final_top() const -> fixed
- When the position of the top boundary 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_top_loop_action:: rect_window_move_top_loop_action(rect_ window window,
int duration_updates,
fixed final_top)
Constructor.
Parameters | |
---|---|
window | rect_ |
duration_updates | How many times the action has to be updated before changing the direction of the position delta. |
final_top | When the position of the top boundary of the given rect_ |