From 4895e9d1fa3fd4c51dfdf3e3fdac13a13cf10bd7 Mon Sep 17 00:00:00 2001 From: BossCode45 Date: Fri, 19 Aug 2022 22:33:25 +1200 Subject: Initial commit --- structs.h | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 structs.h (limited to 'structs.h') diff --git a/structs.h b/structs.h new file mode 100644 index 0000000..f4287bb --- /dev/null +++ b/structs.h @@ -0,0 +1,33 @@ +#include + +#include + +int noID = -1; + +struct Client +{ + int ID; + Window w; +}; + +enum TileDir +{ + horizontal, + vertical, + noDir +}; + +struct Frame +{ + int ID; + int pID; + + bool isClient; + + //If its a client (window) + int cID; + + //If it isn't a client + TileDir dir; + std::vector subFrameIDs; +}; -- cgit v1.2.3