-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconst.go
56 lines (40 loc) · 1.14 KB
/
const.go
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
package counters
const (
DEFAULT_FONT_HEIGHT = 15.0
DEFAULT_MARGINS_DISTANCE = 10
DEFAULT_COUNTER_WIDTH = 200.0
DEFAULT_COUNTER_HEIGHT = 200.0
DEFAULT_MODE = "tiles"
TEMPLATE_MODE_TILES = "tiles"
TEMPLATE_MODE_TEMPLATE = "template"
DEFAULT_FONT_COLOR string = "black"
DEFAULT_BACKGROUND_COLOR string = "white"
CARD_AREA_FRAME_WIDTH = 4
DEFAULT_CARD_MARGINS_DISTANCE = 10
DEFAULT_IMAGE_MARGINS_DISTANCE = 10
DEFAULT_TEXT_BOX_MARGINS = 10
DEFAULT_IMAGE_WIDTH = 800.0
DEFAULT_IMAGE_HEIGHT = 1200.0
DEFAULT_BORDER_WIDTH = 20
DEFAULT_BORDER_COLOR = "white"
IMAGE_SCALING_FIT_NONE = "none"
IMAGE_SCALING_FIT_WIDTH = "fitWidth"
IMAGE_SCALING_FIT_HEIGHT = "fitHeight"
IMAGE_SCALING_FIT_WRAP = "wrap"
ALIGMENT_LEFT = "left"
ALIGMENT_RIGHT = "right"
ALIGMENT_CENTER = "center"
BASE_FOLDER = "TemplateModule"
STRIPE = "assets/stripe.png"
VassalInputXmlFile = "template.xml"
VassalOutputXmlFile = BASE_FOLDER + "/buildFile.xml"
)
type FileContent int
const (
FileContent_CounterTemplate = iota
FileContent_CardTemplate
FileContent_Events
FileContent_Quotes
FileContent_CSV
FileContent_JSON
)