From 4688d838d1cab6c68ad2904b2578982acba76027 Mon Sep 17 00:00:00 2001 From: Jessie Hildebrandt Date: Sat, 14 Jan 2023 17:32:43 -0500 Subject: [PATCH] Add callout panels --- resource/ui/annotationspanelcallout.res | 76 +++++++++++++++++++++++++ resource/ui/freezepanelcallout.res | 55 ++++++++++++++++++ 2 files changed, 131 insertions(+) create mode 100644 resource/ui/annotationspanelcallout.res create mode 100644 resource/ui/freezepanelcallout.res diff --git a/resource/ui/annotationspanelcallout.res b/resource/ui/annotationspanelcallout.res new file mode 100644 index 0000000..6ef2fcd --- /dev/null +++ b/resource/ui/annotationspanelcallout.res @@ -0,0 +1,76 @@ +"Resource/UI/AnnotationsPanelCallout.res" +{ + "AnnotationsPanelCallout" + { + "ArrowIcons" + { + "left" "replay/thumbnails/game/freezecam_callout_arrow_left" + "right" "replay/thumbnails/game/freezecam_callout_arrow_right" + "down" "replay/thumbnails/game/freezecam_callout_arrow" + } + } + + "CalloutBG" + { + "ControlName" "CTFImagePanel" + "fieldName" "CalloutBG" + "xpos" "0" + "ypos" "0" + "zpos" "0" + "wide" "76" + "tall" "24" + "visible" "1" + "enabled" "1" + "image" "replay/thumbnails/panels/material_transparent70" + "scaleImage" "1" + "teambg_2" "replay/thumbnails/panels/material_red_transparent70" + "teambg_3" "replay/thumbnails/panels/material_blue_transparent70" + + "src_corner_height" "32" + "src_corner_width" "32" + "draw_corner_width" "8" + "draw_corner_height" "8" + } + "CalloutLabel" + { + "ControlName" "CExLabel" + "fieldName" "CalloutLabel" + "font" "Size 14" + "xpos" "0" + "ypos" "0" + "zpos" "2" + "visible" "1" + "enabled" "1" + "labelText" "#AnnotationPanel_Callout" + "textAlignment" "center" + } + "ArrowIcon" + { + "ControlName" "ImagePanel" + "fieldName" "ArrowIcon" + "xpos" "20" + "ypos" "35" + "zpos" "3" + "wide" "20" + "tall" "10" + "visible" "1" + "enabled" "1" + "image" "replay/thumbnails/misc/freezecam_callout_arrow" + "scaleImage" "1" + } + "DistanceLabel" + { + "ControlName" "CExLabel" + "fieldName" "DistanceLabel" + "font" "Size 11" + "xpos" "0" + "ypos" "28" + "zpos" "2" + "wide" "70" + "tall" "10" + "visible" "1" + "enabled" "1" + "labelText" "" + "textAlignment" "center" + } +} \ No newline at end of file diff --git a/resource/ui/freezepanelcallout.res b/resource/ui/freezepanelcallout.res new file mode 100644 index 0000000..04350c9 --- /dev/null +++ b/resource/ui/freezepanelcallout.res @@ -0,0 +1,55 @@ +"Resource/UI/FreezePanelCallout.res" +{ + "CalloutBG" + { + "ControlName" "CTFImagePanel" + "fieldName" "CalloutBG" + "xpos" "12" + "ypos" "13" + "zpos" "0" + "wide" "76" + "tall" "24" + "visible" "1" + "enabled" "1" + "image" "replay/thumbnails/panels/material_transparent70" + "scaleImage" "1" + "teambg_2" "replay/thumbnails/panels/material_red_transparent70" + "teambg_3" "replay/thumbnails/panels/material_blue_transparent70" + + "src_corner_height" "32" + "src_corner_width" "32" + "draw_corner_width" "8" + "draw_corner_height" "8" + } + "ArrowIcon" + { + "ControlName" "ImagePanel" + "fieldName" "ArrowIcon" + "xpos" "20" + "ypos" "35" + "zpos" "3" + "wide" "20" + "tall" "10" + "visible" "1" + "enabled" "1" + "image" "../hud/freezecam_callout_arrow" + "scaleImage" "1" + } + "CalloutLabel" + { + "ControlName" "CExLabel" + "fieldName" "CalloutLabel" + "font" "HudFontSmall" + "xpos" "15" + "ypos" "15" + "zpos" "2" + "wide" "70" + "tall" "20" + "autoResize" "0" + "pinCorner" "0" + "visible" "1" + "enabled" "1" + "labelText" "#FreezePanel_Callout" + "textAlignment" "center" + } +}