aboutsummaryrefslogtreecommitdiff
path: root/Northstar.Client/mod/resource/ui/menus/panels/map_grid_button.res
blob: 23c040db1d450f25fdb330027e5d4c7681d7acbd (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
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
"resource/ui/menus/panels/map_grid_button.res"
{
	MapImage
	{
		ControlName RuiPanel
		wide 286
		tall 165
		visible 1
		scaleImage 1
		zpos 0

		// Hud_GetRui() requires this to work
		rui "ui/basic_menu_image.rpak"
	}

	MapName
	{
		ControlName Label
		zpos 2
		wide 286
		xpos 4
		ypos -4

		labelText "forwardbase kodaiiiiii"
		use_proportional_insets 1
		textinsetx 2
		font Default_21_DropShadow
		allcaps 1
		fgcolor_override "255 255 255 255"

		pin_to_sibling MapImage
		pin_corner_to_sibling BOTTOM_RIGHT
		pin_to_sibling_corner BOTTOM_RIGHT
	}

	MapNameBackground
	{
		ControlName RuiPanel
		wide 286
		tall 34

		rui "ui/knowledgebase_panel.rpak"

		visible 1
		zpos 1

		pin_to_sibling MapImage
		pin_corner_to_sibling BOTTOM_RIGHT
		pin_to_sibling_corner BOTTOM_RIGHT
	}

	MapButton
	{
		ControlName RuiButton
		InheritProperties RuiSmallButton
		wide 286
		tall 165
	}

	MapNameLockedForeground
	{
		ControlName RuiPanel
		wide 286
		tall 165

		rui "ui/knowledgebase_panel.rpak"

		visible 0
		zpos 5

		//bgcolor_override "255 255 255 255"
		//fgcolor_override "255 255 255 255"

		pin_to_sibling MapImage
		pin_corner_to_sibling TOP_LEFT
		pin_to_sibling_corner TOP_LEFT
	}

	MapLockedImage
	{
		ControlName ImagePanel
		xpos 71
		ypos 0 // 18 to center vertically, looks weird tho
		wide 108
		tall 108
		visible 0
		scaleImage 1
		image "ui/menu/common/locked_icon"
	}
}