Class SplitWindow

Inheritance Relationships

Base Type

Class Documentation

class SmartPeak::SplitWindow : public SmartPeak::Widget

The SplitWindow holds 4 sub windows: left, right, top and bottom.

Public Functions

inline SplitWindow()
virtual void draw() override

Interface to show the widget

NOTE: free to override in inherited implmementations

void setupLayoutLoader(LayoutLoader &layout_loader)

Fills the layoutLoader with the sub windows of the SplitWindow.

Public Members

WindowSizesAndPositions win_size_and_pos
std::vector<std::shared_ptr<Widget>> top_windows
std::vector<std::shared_ptr<Widget>> bottom_windows
std::vector<std::shared_ptr<Widget>> left_windows