class
rect_window_boundaries_hbe_ptrstd::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect which changes the boundaries of a rect window in each screen horizontal line.
Base classes
- class hbe_ptr
- std::shared_ptr like smart pointer that retains shared ownership of a H-Blank effect.
Public static functions
-
static auto create_horizontal(rect_
window window, const span<const pair<fixed, fixed>>& deltas_ref) -> rect_ window_ boundaries_ hbe_ ptr - Creates a rect_
window_ boundaries_ hbe_ ptr which changes the horizontal boundaries of a rect window in each screen horizontal line. -
static auto create_vertical(rect_
window window, const span<const pair<fixed, fixed>>& deltas_ref) -> rect_ window_ boundaries_ hbe_ ptr - Creates a rect_
window_ boundaries_ hbe_ ptr which changes the vertical boundaries of a rect window in each screen vertical line. -
static auto create_horizontal_optional(rect_
window window, const span<const pair<fixed, fixed>>& deltas_ref) -> optional<rect_ window_ boundaries_ hbe_ ptr> - Creates a rect_
window_ boundaries_ hbe_ ptr which changes the horizontal boundaries of a rect window in each screen horizontal line. -
static auto create_vertical_optional(rect_
window window, const span<const pair<fixed, fixed>>& deltas_ref) -> optional<rect_ window_ boundaries_ hbe_ ptr> - Creates a rect_
window_ boundaries_ hbe_ ptr which changes the vertical boundaries of a rect window in each screen vertical line.
Public functions
-
auto window() const -> const rect_
window& - Returns the rect window modified by this H-Blank effect.
- auto deltas_ref() const -> span<const pair<fixed, fixed>>
- Returns the referenced array of 160 deltas to add to the horizontal or vertical boundaries of the managed rect window in each screen horizontal line.
- void set_deltas_ref(const span<const pair<fixed, fixed>>& deltas_ref)
- Sets the reference to an array of 160 deltas to add to the horizontal or vertical boundaries of the managed rect window in each screen horizontal line.
- void reload_deltas_ref()
- Rereads the content of the referenced deltas to add to the horizontal or vertical boundaries of the managed rect window in each screen horizontal line.
-
void swap(rect_
window_ boundaries_ hbe_ ptr& other) - Exchanges the contents of this rect_
window_ boundaries_ hbe_ ptr with those of the other one.
Friends
-
void swap(rect_
window_ boundaries_ hbe_ ptr& a, rect_ window_ boundaries_ hbe_ ptr& b) - Exchanges the contents of a rect_
window_ boundaries_ hbe_ ptr with those of another one.
Function documentation
static rect_ window_ boundaries_ hbe_ ptr bn:: rect_window_boundaries_hbe_ptr:: create_horizontal(rect_ window window,
const span<const pair<fixed, fixed>>& deltas_ref)
Creates a rect_
Parameters | |
---|---|
window | Rect window to be modified. |
deltas_ref | Reference to an array of 160 deltas to add to the horizontal boundaries of the given rect window in each screen horizontal line. |
Returns | The requested rect_ |
The deltas are not copied but referenced, so they should outlive the rect_
static rect_ window_ boundaries_ hbe_ ptr bn:: rect_window_boundaries_hbe_ptr:: create_vertical(rect_ window window,
const span<const pair<fixed, fixed>>& deltas_ref)
Creates a rect_
Parameters | |
---|---|
window | Rect window to be modified. |
deltas_ref | Reference to an array of 160 deltas to add to the vertical boundaries of the given rect window in each screen vertical line. |
Returns | The requested rect_ |
The deltas are not copied but referenced, so they should outlive the rect_
static optional<rect_ window_ boundaries_ hbe_ ptr> bn:: rect_window_boundaries_hbe_ptr:: create_horizontal_optional(rect_ window window,
const span<const pair<fixed, fixed>>& deltas_ref)
Creates a rect_
Parameters | |
---|---|
window | Rect window to be modified. |
deltas_ref | Reference to an array of 160 deltas to add to the horizontal boundaries of the given rect window in each screen horizontal line. |
Returns | The requested rect_ |
The deltas are not copied but referenced, so they should outlive the rect_
static optional<rect_ window_ boundaries_ hbe_ ptr> bn:: rect_window_boundaries_hbe_ptr:: create_vertical_optional(rect_ window window,
const span<const pair<fixed, fixed>>& deltas_ref)
Creates a rect_
Parameters | |
---|---|
window | Rect window to be modified. |
deltas_ref | Reference to an array of 160 deltas to add to the vertical boundaries of the given rect window in each screen vertical line. |
Returns | The requested rect_ |
The deltas are not copied but referenced, so they should outlive the rect_
span<const pair<fixed, fixed>> bn:: rect_window_boundaries_hbe_ptr:: deltas_ref() const
Returns the referenced array of 160 deltas to add to the horizontal or vertical boundaries of the managed rect window in each screen horizontal line.
The deltas are not copied but referenced, so they should outlive the rect_
void bn:: rect_window_boundaries_hbe_ptr:: set_deltas_ref(const span<const pair<fixed, fixed>>& deltas_ref)
Sets the reference to an array of 160 deltas to add to the horizontal or vertical boundaries of the managed rect window in each screen horizontal line.
The deltas are not copied but referenced, so they should outlive the rect_
void bn:: rect_window_boundaries_hbe_ptr:: reload_deltas_ref()
Rereads the content of the referenced deltas to add to the horizontal or vertical boundaries of the managed rect window in each screen horizontal line.
The deltas are not copied but referenced, so they should outlive the rect_
void bn:: rect_window_boundaries_hbe_ptr:: swap(rect_ window_ boundaries_ hbe_ ptr& other)
Exchanges the contents of this rect_
Parameters | |
---|---|
other | rect_ |
void swap(rect_ window_ boundaries_ hbe_ ptr& a,
rect_ window_ boundaries_ hbe_ ptr& b)
Exchanges the contents of a rect_
Parameters | |
---|---|
a | First rect_ |
b | Second rect_ |