diff options
Diffstat (limited to 'src/frame.h')
-rw-r--r-- | src/frame.h | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/src/frame.h b/src/frame.h index 8c1797f..80072a2 100644 --- a/src/frame.h +++ b/src/frame.h @@ -29,7 +29,38 @@ #include <pango/pango.h> -#include "layout.h" + +typedef enum +{ + DIR_NONE, + DIR_UL, + DIR_U, + DIR_UR, + DIR_R, + DIR_DR, + DIR_D, + DIR_DL, + DIR_L +} Direction; + + +struct layout_parameters +{ + double margin_l; + double margin_r; + double margin_t; + double margin_b; + + double pad_l; + double pad_r; + double pad_t; + double pad_b; + + Direction grav; + + double min_w; + double min_h; +}; struct frame |