class
#include <bn_rect_window_actions.h>
rect_window_move_right_toggle_action Changes the position of the right boundary of a rect_
Base classes
-
template<typename Value, typename Property, class PropertyManager>class toggle_value_template_action<rect_window, fixed, rect_window_right_manager>
- Changes the property of a value when the action is updated a given number of times.
Constructors, destructors, conversion operators
-
rect_window_move_right_toggle_action(rect_
window window, int duration_updates, fixed new_right) - Constructor.
Public functions
-
auto window() const -> rect_
window - Returns the rect_
window to modify. - auto new_right() const -> fixed
- Returns the position of the right boundary of the given rect_
window when the action is updated the given number of times.
Function documentation
bn:: rect_window_move_right_toggle_action:: rect_window_move_right_toggle_action(rect_ window window,
int duration_updates,
fixed new_right)
Constructor.
Parameters | |
---|---|
window | rect_ |
duration_updates | How much times the action has to be updated to change the position of the right boundary of the given rect_ |
new_right | New position of the right boundary of the given rect_ |