summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Dey <github@realmtech.net>2024-04-16 20:59:25 +0200
committerBenny Baumann <BenBE@geshi.org>2024-04-17 09:09:48 +0200
commit13ca4e2b5feab9cbf149ed470d6021c8904867f3 (patch)
tree2ba29809ea71d87ec0bae34e7b8e27fbe8f4ced8
parent8122fc394e05507c514425b1f96637668dcefe65 (diff)
Add HeaderLayout format for one single 100%-width column
-rw-r--r--HeaderLayout.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/HeaderLayout.h b/HeaderLayout.h
index 473936e2..c8d51c84 100644
--- a/HeaderLayout.h
+++ b/HeaderLayout.h
@@ -17,6 +17,7 @@ in the source distribution for its full text.
typedef enum HeaderLayout_ {
HF_INVALID = -1,
+ HF_ONE_100,
HF_TWO_50_50,
HF_TWO_33_67,
HF_TWO_67_33,
@@ -38,6 +39,7 @@ static const struct {
const char* name;
const char* description;
} HeaderLayout_layouts[LAST_HEADER_LAYOUT] = {
+ [HF_ONE_100] = { 1, { 100, 0, 0, 0 }, "one_100", "1 column - full width", },
[HF_TWO_50_50] = { 2, { 50, 50, 0, 0 }, "two_50_50", "2 columns - 50/50 (default)", },
[HF_TWO_33_67] = { 2, { 33, 67, 0, 0 }, "two_33_67", "2 columns - 33/67", },
[HF_TWO_67_33] = { 2, { 67, 33, 0, 0 }, "two_67_33", "2 columns - 67/33", },

© 2014-2024 Faster IT GmbH | imprint | privacy policy