xref: /haiku/src/apps/icon-o-matic/generic/property/CommonPropertyIDs.h (revision 098eaec6305ae804d3eb6c8e6c6aad790fb4cfb1)
1 /*
2  * Copyright 2006, Haiku.
3  * Distributed under the terms of the MIT License.
4  *
5  * Authors:
6  *		Stephan Aßmus <superstippi@gmx.de>
7  */
8 
9 #ifndef COMMON_PROPERTY_IDS_H
10 #define COMMON_PROPERTY_IDS_H
11 
12 #include <SupportDefs.h>
13 
14 enum {
15 	PROPERTY_NAME						= 'name',
16 
17 	PROPERTY_ALPHA						= 'alpa',
18 	PROPERTY_OPACITY					= 'opac',
19 	PROPERTY_COLOR						= 'colr',
20 
21 	PROPERTY_WIDTH						= 'wdth',
22 	PROPERTY_HEIGHT						= 'hght',
23 
24 	PROPERTY_CAP_MODE					= 'cpmd',
25 	PROPERTY_JOIN_MODE					= 'jnmd',
26 	PROPERTY_MITER_LIMIT				= 'mtlm',
27 	PROPERTY_STROKE_SHORTEN				= 'srtn',
28 
29 	PROPERTY_CLOSED						= 'clsd',
30 	PROPERTY_PATH						= 'path',
31 
32 	PROPERTY_HINTING					= 'hntg',
33 	PROPERTY_MIN_VISIBILITY_SCALE		= 'mnld',
34 	PROPERTY_MAX_VISIBILITY_SCALE		= 'mxld',
35 
36 	PROPERTY_TRANSLATION_X				= 'trnx',
37 	PROPERTY_TRANSLATION_Y				= 'trny',
38 	PROPERTY_ROTATION					= 'rotn',
39 	PROPERTY_SCALE_X					= 'sclx',
40 	PROPERTY_SCALE_Y					= 'scly',
41 
42 	PROPERTY_DETECT_ORIENTATION			= 'ador',
43 };
44 
45 
46 const char*		name_for_id(int32 id);
47 
48 #endif // COMMON_PROPERTY_IDS_H
49 
50 
51