summaryrefslogtreecommitdiff
path: root/minmode
diff options
context:
space:
mode:
authorraysfire <[email protected]>2015-07-02 23:54:57 -0500
committerraysfire <[email protected]>2015-07-02 23:54:57 -0500
commit16f6423b94aecf8dad15ff5cd601f401b5162b50 (patch)
tree8bbb0dd371e692523ce8398f61f5059d105f14ae /minmode
parent9db77bc4e4e8c42cfc9805b33d56b2670b9b40cb (diff)
Hotfix to fix item panels on killcam and inspecting a player
Diffstat (limited to 'minmode')
-rw-r--r--minmode/resource/ui/FreezePanel_Basic.res48
-rw-r--r--minmode/resource/ui/HudInspectPanel.res62
2 files changed, 69 insertions, 41 deletions
diff --git a/minmode/resource/ui/FreezePanel_Basic.res b/minmode/resource/ui/FreezePanel_Basic.res
index 6b30b3a..54dfa23 100644
--- a/minmode/resource/ui/FreezePanel_Basic.res
+++ b/minmode/resource/ui/FreezePanel_Basic.res
@@ -158,37 +158,36 @@
}
- "itempanel"
+ "itempanel"
{
"ControlName" "CItemModelPanel"
"fieldName" "itempanel"
"xpos" "r249"
"ypos" "c50"
- "zpos" "1"
- "wide" "240"
- "tall" "900"
+ "zpos" "10"
+ "wide" "252"
+ "tall" "100"
"visible" "0"
"bgcolor_override" "255 255 255 0"
"PaintBackgroundType" "0"
- "paintborder" "0"
- "model_xpos" "10"
- "model_center_y" "1"
- "model_wide" "64"
- "model_tall" "48"
+ "model_ypos" "10"
+ "model_center_x" "1"
+ "model_wide" "90"
+ "model_tall" "60"
- "text_xpos" "90"
- "text_ypos" "25"
- "text_wide" "150"
+ "text_xpos" "10"
+ "text_ypos" "10"
+ "text_wide" "232"
"text_center" "1"
- "max_text_height" "90"
+ "max_text_height" "100"
"padding_height" "10"
"resize_to_text" "1"
"text_forcesize" "2"
- "ItemBackground"
- {
+ "ItemBackground"
+ {
"ControlName" "ImagePanel"
"fieldName" "ItemBackground"
"xpos" "0"
@@ -201,9 +200,9 @@
"visible" "1"
"enabled" "1"
"fillcolor" "0 0 0 100"
- }
- "TitleBackground"
- {
+ }
+ "TitleBackground"
+ {
"ControlName" "ImagePanel"
"fieldName" "TitleBackground"
"xpos" "4"
@@ -216,35 +215,34 @@
"visible" "1"
"enabled" "1"
"fillcolor" "0 0 0 100"
- }
+ }
"itemmodelpanel"
{
"fieldName" "itemmodelpanel"
- "use_item_rendertarget" "1"
+ "use_item_rendertarget" "0"
"useparentbg" "1"
}
"ItemLabel"
{
- "ControlName" "CExLabel"
+ "ControlName" "Label"
"fieldName" "ItemLabel"
"font" "Cerbetica12"
"xpos" "10"
- "ypos" "5"
+ "ypos" "3"
"zpos" "1"
"wide" "270"
- "tall" "12"
+ "tall" "16"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "#FreezePanel_Item"
- "textAlignment" "south-west"
+ "textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
}
-
}
"FreezePanelBase" [$WIN32]
diff --git a/minmode/resource/ui/HudInspectPanel.res b/minmode/resource/ui/HudInspectPanel.res
index 92d3d12..9c4a80f 100644
--- a/minmode/resource/ui/HudInspectPanel.res
+++ b/minmode/resource/ui/HudInspectPanel.res
@@ -7,28 +7,58 @@
"xpos" "0"
"ypos" "0"
"zpos" "10"
- "wide" "240"
- "tall" "900"
+ "wide" "190"
+ "tall" "100"
"visible" "0"
"bgcolor_override" "255 255 255 0"
"PaintBackgroundType" "0"
- "paintborder" "0"
- "model_xpos" "10"
- "model_center_y" "1"
- "model_wide" "64"
- "model_tall" "48"
+ "model_ypos" "10"
+ "model_center_x" "1"
+ "model_wide" "90"
+ "model_tall" "60"
- "text_xpos" "90"
- "text_ypos" "25"
- "text_wide" "150"
+ "text_xpos" "10"
+ "text_ypos" "10"
+ "text_wide" "170"
"text_center" "1"
- "max_text_height" "90"
+ "max_text_height" "100"
"padding_height" "10"
"resize_to_text" "1"
"text_forcesize" "2"
+ "ItemBackground"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "ItemBackground"
+ "xpos" "0"
+ "ypos" "0"
+ "zpos" "-1"
+ "wide" "240"
+ "tall" "900"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "fillcolor" "0 0 0 100"
+ }
+ "TitleBackground"
+ {
+ "ControlName" "ImagePanel"
+ "fieldName" "TitleBackground"
+ "xpos" "4"
+ "ypos" "4"
+ "zpos" "-1"
+ "wide" "232"
+ "tall" "14"
+ "autoResize" "0"
+ "pinCorner" "0"
+ "visible" "1"
+ "enabled" "1"
+ "fillcolor" "0 0 0 100"
+ }
+
"itemmodelpanel"
{
"fieldName" "itemmodelpanel"
@@ -38,22 +68,22 @@
"ItemLabel"
{
- "ControlName" "CExLabel"
+ "ControlName" "Label"
"fieldName" "ItemLabel"
"font" "Cerbetica12"
"xpos" "10"
- "ypos" "5"
+ "ypos" "3"
"zpos" "1"
"wide" "270"
- "tall" "12"
+ "tall" "16"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"labelText" "#FreezePanel_Item"
- "textAlignment" "south-west"
+ "textAlignment" "Left"
"dulltext" "0"
"brighttext" "0"
}
- }
+ }
}