Added IHyprWindowDecoration and Group Bars

This commit is contained in:
vaxerski
2022-05-28 20:46:20 +02:00
parent b1b24cb21a
commit bdf1c16195
11 changed files with 248 additions and 5 deletions

View File

@@ -74,9 +74,10 @@ public:
/*
Called when a dispatcher requests a custom message
The layout is free to ignore.
The layout is free to ignore.
std::any is the reply. Can be empty.
*/
virtual void layoutMessage(SLayoutMessageHeader, std::string) = 0;
virtual std::any layoutMessage(SLayoutMessageHeader, std::string) = 0;
/*
Required to be handled, but may return just SWindowRenderLayoutHints()
@@ -96,4 +97,9 @@ public:
on a window
*/
virtual void alterSplitRatioBy(CWindow*, float) = 0;
/*
Called when something wants the current layout's name
*/
virtual std::string getLayoutName() = 0;
};