}
};
-struct LayoutState {
- enum States {
- LayoutNone, // Not useful...
- LayoutSingle,
- LayoutSplit,
- };
-
- enum States state{LayoutSingle};
- int main{-1};
- int sub{-1};
-
- bool operator==(const LayoutState &b) const {
- return state == b.state && main == b.main && sub == b.sub;
- }
- bool operator!=(const LayoutState &b) const {
- return !(*this == b);
- }
-};
-
struct App {
struct binding_api api;
struct controller_hooks chooks;