- /* Alignment of cell contents. */
- TAB_RIGHT = 0 << 0, /* Right justify. */
- TAB_LEFT = 1 << 0, /* Left justify. */
- TAB_CENTER = 2 << 0, /* Centered. */
- TAB_ALIGNMENT = 3 << 0, /* Alignment mask. */
+ /* Horizontal alignment of cell contents. */
+ TAB_RIGHT = 0 << 0,
+ TAB_LEFT = 1 << 0,
+ TAB_CENTER = 2 << 0,
+ TAB_HALIGN = 3 << 0, /* Alignment mask. */
+
+ /* Vertical alignment of cell contents. */
+ TAB_TOP = 0 << 2,
+ TAB_MIDDLE = 1 << 2,
+ TAB_BOTTOM = 2 << 2,
+ TAB_VALIGN = 3 << 2, /* Alignment mask. */