-
Notifications
You must be signed in to change notification settings - Fork 5
Expand file tree
/
Copy pathstruct_strings.go
More file actions
116 lines (104 loc) · 4.56 KB
/
struct_strings.go
File metadata and controls
116 lines (104 loc) · 4.56 KB
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
116
// Code generated by "stringer -type ColorTableIndex,BezierTableIndex,HSVmodTableIndex -output struct_strings.go"; DO NOT EDIT.
package minesweeper
import "strconv"
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[ColorBg-0]
_ = x[ColorTopUIBg-1]
_ = x[ColorTopUITitle-2]
_ = x[ColorTopUIButton-3]
_ = x[ColorTopUIButtonOnHover-4]
_ = x[ColorTopUIButtonOnDown-5]
_ = x[ColorTopUIFlag-6]
_ = x[ColorTileNormal1-7]
_ = x[ColorTileNormal2-8]
_ = x[ColorTileNormalStroke-9]
_ = x[ColorTileRevealed1-10]
_ = x[ColorTileRevealed2-11]
_ = x[ColorTileRevealedStroke-12]
_ = x[ColorNumber1-13]
_ = x[ColorNumber2-14]
_ = x[ColorNumber3-15]
_ = x[ColorNumber4-16]
_ = x[ColorNumber5-17]
_ = x[ColorNumber6-18]
_ = x[ColorNumber7-19]
_ = x[ColorNumber8-20]
_ = x[ColorFlag-21]
_ = x[ColorElementWon-22]
_ = x[ColorMineBg1-23]
_ = x[ColorMineBg2-24]
_ = x[ColorMine-25]
_ = x[ColorBgHighLight-26]
_ = x[ColorTileHighLight-27]
_ = x[ColorFgHighLight-28]
_ = x[ColorWater1-29]
_ = x[ColorWater2-30]
_ = x[ColorWater3-31]
_ = x[ColorWater4-32]
_ = x[ColorRetryA1-33]
_ = x[ColorRetryA2-34]
_ = x[ColorRetryA3-35]
_ = x[ColorRetryA4-36]
_ = x[ColorRetryB1-37]
_ = x[ColorRetryB2-38]
_ = x[ColorRetryB3-39]
_ = x[ColorRetryB4-40]
_ = x[ColorRetryWater1-41]
_ = x[ColorRetryWater2-42]
_ = x[ColorRetryWater3-43]
_ = x[ColorRetryWater4-44]
_ = x[ColorFlagTutorialFill-45]
_ = x[ColorFlagTutorialStroke-46]
_ = x[ColorTableSize-47]
}
const _ColorTableIndex_name = "ColorBgColorTopUIBgColorTopUITitleColorTopUIButtonColorTopUIButtonOnHoverColorTopUIButtonOnDownColorTopUIFlagColorTileNormal1ColorTileNormal2ColorTileNormalStrokeColorTileRevealed1ColorTileRevealed2ColorTileRevealedStrokeColorNumber1ColorNumber2ColorNumber3ColorNumber4ColorNumber5ColorNumber6ColorNumber7ColorNumber8ColorFlagColorElementWonColorMineBg1ColorMineBg2ColorMineColorBgHighLightColorTileHighLightColorFgHighLightColorWater1ColorWater2ColorWater3ColorWater4ColorRetryA1ColorRetryA2ColorRetryA3ColorRetryA4ColorRetryB1ColorRetryB2ColorRetryB3ColorRetryB4ColorRetryWater1ColorRetryWater2ColorRetryWater3ColorRetryWater4ColorFlagTutorialFillColorFlagTutorialStrokeColorTableSize"
var _ColorTableIndex_index = [...]uint16{0, 7, 19, 34, 50, 73, 95, 109, 125, 141, 162, 180, 198, 221, 233, 245, 257, 269, 281, 293, 305, 317, 326, 341, 353, 365, 374, 390, 408, 424, 435, 446, 457, 468, 480, 492, 504, 516, 528, 540, 552, 564, 580, 596, 612, 628, 649, 672, 686}
func (i ColorTableIndex) String() string {
if i < 0 || i >= ColorTableIndex(len(_ColorTableIndex_index)-1) {
return "ColorTableIndex(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _ColorTableIndex_name[_ColorTableIndex_index[i]:_ColorTableIndex_index[i+1]]
}
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[BezierTileRevealScale-0]
_ = x[BezierTileRevealOffsetY-1]
_ = x[BezierBoardHideTile-2]
_ = x[BezierBoardHideTileAlpha-3]
_ = x[BezierBoardHideButton-4]
_ = x[BezierBoardShowTileOffsetY-5]
_ = x[BezierBoardShowTileAlpha-6]
_ = x[BezierBoardShowTileScale-7]
_ = x[BezierBoardZoomOut-8]
_ = x[BezierTableSize-9]
}
const _BezierTableIndex_name = "BezierTileRevealScaleBezierTileRevealOffsetYBezierBoardHideTileBezierBoardHideTileAlphaBezierBoardHideButtonBezierBoardShowTileOffsetYBezierBoardShowTileAlphaBezierBoardShowTileScaleBezierBoardZoomOutBezierTableSize"
var _BezierTableIndex_index = [...]uint8{0, 21, 44, 63, 87, 108, 134, 158, 182, 200, 215}
func (i BezierTableIndex) String() string {
if i < 0 || i >= BezierTableIndex(len(_BezierTableIndex_index)-1) {
return "BezierTableIndex(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _BezierTableIndex_name[_BezierTableIndex_index[i]:_BezierTableIndex_index[i+1]]
}
func _() {
// An "invalid array index" compiler error signifies that the constant values have changed.
// Re-run the stringer command to generate them again.
var x [1]struct{}
_ = x[HSVmodBg-0]
_ = x[HSVmodTile-1]
_ = x[HSVmodFg-2]
_ = x[HSVmodTableSize-3]
}
const _HSVmodTableIndex_name = "HSVmodBgHSVmodTileHSVmodFgHSVmodTableSize"
var _HSVmodTableIndex_index = [...]uint8{0, 8, 18, 26, 41}
func (i HSVmodTableIndex) String() string {
if i < 0 || i >= HSVmodTableIndex(len(_HSVmodTableIndex_index)-1) {
return "HSVmodTableIndex(" + strconv.FormatInt(int64(i), 10) + ")"
}
return _HSVmodTableIndex_name[_HSVmodTableIndex_index[i]:_HSVmodTableIndex_index[i+1]]
}