summaryrefslogtreecommitdiff
path: root/support/dktools/dk4align.h
blob: 6b8e71c5a3e1c69bfe6ef3401ac8a816657074a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
#ifndef	DK4ALIGN_H_INCLUDED
/**	Protection against multiple inclusions. */
#define	DK4ALIGN_H_INCLUDED 1

/**	How to align an object horizontally in the available room.
*/
typedef enum {
						/**	Horizontal alignment: align object left in room.
						*/
	DK4_ALIGN_H_LEFT	= 0,

						/**	Horizontal alignment: align object centered in room.
						*/
	DK4_ALIGN_H_CENTERED ,

						/** Horizontal alignment: align object right in room.
						*/
	DK4_ALIGN_H_RIGHT ,

						/** Horizontal alignment: stretch object to use
							available room completely.
						*/
	DK4_ALIGN_H_STRETCH

} dk4_align_h_t;


/**	How to align an object vertically in the available room.
*/
typedef enum {
						/**	Vertical alignment: align object on top of room.
						*/
	DK4_ALIGN_V_TOP		= 0,

						/**	Vertical alignment: align object centered in room.
						*/
	DK4_ALIGN_V_CENTERED ,

						/** Vertical alignment: align object on bottom.
						*/
	DK4_ALIGN_V_BOTTOM ,

						/**	Vertical alignment: stretch object to use available
							room completely.
						*/
	DK4_ALIGN_V_STRETCH
} dk4_align_v_t;


/* vim: set ai sw=4 ts=4 : */

#endif