class
#include <bn_rect_window_actions.h>
rect_window_move_top_left_by_action Modifies the position of the top-left corner of a rect_
Base classes
-
template<typename Value, typename Property, class PropertyManager>class by_value_template_action<rect_window, fixed_point, rect_window_top_left_manager>
- Modifies the property of a value by a given delta.
Constructors, destructors, conversion operators
-
rect_window_move_top_left_by_action(rect_
window window, fixed delta_top, fixed delta_left) - Constructor.
-
rect_window_move_top_left_by_action(rect_
window window, const fixed_ point& delta_top_left) - Constructor.
Public functions
-
auto window() const -> rect_
window - Returns the rect_
window to modify. -
auto delta_top_left() const -> const fixed_
point& - Returns how much to add to the position of the top-left corner of the given rect_
window when the action is updated.
Function documentation
bn:: rect_window_move_top_left_by_action:: rect_window_move_top_left_by_action(rect_ window window,
fixed delta_top,
fixed delta_left)
Constructor.
Parameters | |
---|---|
window | rect_ |
delta_top | How much to add to the position of the top boundary of the given rect_ |
delta_left | How much to add to the position of the left boundary of the given rect_ |
bn:: rect_window_move_top_left_by_action:: rect_window_move_top_left_by_action(rect_ window window,
const fixed_ point& delta_top_left)
Constructor.
Parameters | |
---|---|
window | rect_ |
delta_top_left | How much to add to the position of the top-left corner of the given rect_ |