diff options
Diffstat (limited to 'structs.h')
| -rw-r--r-- | structs.h | 33 |
1 files changed, 33 insertions, 0 deletions
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 <X11/Xlib.h> + +#include <vector> + +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<int> subFrameIDs; +}; |
