diff options
author | Thomas White <taw@bitwiz.org.uk> | 2013-01-27 20:36:57 +0100 |
---|---|---|
committer | Thomas White <taw@bitwiz.org.uk> | 2013-01-27 20:36:57 +0100 |
commit | 09a240e765abbaa58365158acffaf26f1c7fee32 (patch) | |
tree | 95a77eb04d9bb78cb90e32057d3336efec1d97dc /src/frame.h | |
parent | bdd8fab8bc3482c5629619ae3d89018c39e2a263 (diff) |
Add fractional units for frame width and height
Diffstat (limited to 'src/frame.h')
-rw-r--r-- | src/frame.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/frame.h b/src/frame.h index 8327f56..dbb7efe 100644 --- a/src/frame.h +++ b/src/frame.h @@ -45,6 +45,13 @@ typedef enum } Direction; +typedef enum +{ + UNITS_SLIDE, + UNITS_FRAC +} LengthUnits; + + struct layout_parameters { double margin_l; @@ -59,8 +66,11 @@ struct layout_parameters double x; double y; + double w; + LengthUnits w_units; double h; + LengthUnits h_units; }; |