diff options
author | Thomas White <taw@bitwiz.org.uk> | 2012-11-30 09:49:01 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2012-11-30 09:49:01 +0100 |
commit | f6fefa99ea3a9a71d5803931cec403db845f767a (patch) | |
tree | 1331f00024cbede9245b993efa9e501dbca42405 /src/frame.h | |
parent | 1392eda7d12dc4ad6a75c794fcb21e494c12c0aa (diff) |
WIP on rendering
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 |