-
Notifications
You must be signed in to change notification settings - Fork 15
/
dmc_corona.cfg
116 lines (83 loc) · 2.58 KB
/
dmc_corona.cfg
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
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
[DMC_CORONA]
--==================================================--
-- option LUA_PATH, json
--
-- This is an array of directories which will be added to the
-- normal Lua Path variable, used when using native Lua 'require'.
-- With this you can organize your project how you wish
-- and DMC Corona modules will still work
--
-- The value should be relative to the project root, ie
-- it will appended to the value of system.ResourceDirectory
--
-- LUA_PATH:JSON = [ "./libs/dmc_corona", "./app/libs/dmc_corona" ]
LUA_PATH:JSON = [ "./lib/dmc_corona" ]
[DMC_KOLOR]
--==================================================--
-- option NAMED_COLOR_FILE, string
--
-- the path of the json color file
--
-- the value is relative to the project
--
-- there is no default value
-- NAMED_COLOR_FILE = named_colors_hdr.json
-- NAMED_COLOR_FILE = named_colors_rgb.json
NAMED_COLOR_FILE:FILE = data/named_colors_hex.json
NAMED_COLOR_PAT:PATH = data/named_colors_hex.json
--==================================================--
-- option NAMED_COLOR_FORMAT, string
--
-- the type of data in the named color file
--
-- options are HDR, RGB, HEX
--
-- there is no default value
NAMED_COLOR_FORMAT = HEX
--==================================================--
-- option DEFAULT_COLOR_SPACE, string
--
-- sets the default behavior of Corona methods such as setFillColor()
--
-- options are HDR or RGB
--
-- if value is RGB then the methods expect RGB values, eg ( 255, 255, 150 )
-- if value is HDR then the methods expect HDR values, eg ( 1, 1, .5 )
--
-- DEFAULT_COLOR_SPACE defaults to RGB
-- DEFAULT_COLOR_SPACE = HDR
--==================================================--
-- option DEFAULT_COLOR_SPACE, string
--
-- turns on the color cache
--
-- options are true or false
--
-- CACHE_IS_ACTIVE defaults to false
-- CACHE_IS_ACTIVE = true
[DMC_OBJECTS]
--==================================================--
-- option LOCATION, path
--
-- the path of the location of DMC Kolor module
-- with this you can organize your project how you wish
--
-- the value is relative to the project and can include subfolders
--
-- LOCATION Default is '', or root-level of project
LOCATION:PATH = libs.dmc_library
--==================================================--
-- option AUTO_TOUCH_BLOCK, boolean
--
-- objects will automatically capture touches on them
--
-- AUTO_TOUCH_BLOCK Default is false
AUTO_TOUCH_BLOCK:BOOL = true
[DMC_STATES]
--==================================================--
-- option DEBUG_ACTIVE, boolean
--
-- output debug statements on (true) or off (false)
--
-- default value is 'false'
DEBUG_ACTIVE:BOOL = true