bn::rect_window_move_top_by_action class

Modifies the position of the top boundary of a rect_window by a given delta.

Base classes

template<typename Value, typename Property, class PropertyManager>
class by_value_template_action<rect_window, fixed, rect_window_top_manager>
Modifies the property of a value by a given delta.

Constructors, destructors, conversion operators

rect_window_move_top_by_action(rect_window window, fixed delta_top)
Constructor.

Public functions

auto window() const -> rect_window
Returns the rect_window to modify.
auto delta_top() const -> fixed
Returns how much to add to the position of the top boundary of the given rect_window when the action is updated.

Function documentation

bn::rect_window_move_top_by_action::rect_window_move_top_by_action(rect_window window, fixed delta_top)

Constructor.

Parameters
window rect_window to modify.
delta_top How much to add to the position of the top boundary of the given rect_window when the action is updated.