2
mirror of https://gitlab.com/jessieh/doghud.git synced 2024-11-14 03:01:46 +00:00
doghud/resource/ui/votehud_base.res

762 lines
17 KiB
Plaintext
Raw Normal View History

2021-11-01 15:05:16 +00:00
"Resource/UI/VoteHud.res"
{
2021-11-01 15:05:16 +00:00
"VotePassed"
{
"ControlName" "EditablePanel"
"fieldName" "VotePassed"
"xpos" "10"
"ypos" "r315"
"wide" "150"
"tall" "67"
"visible" "0"
"enabled" "1"
"border" "MaterialTransparent50"
2021-11-01 15:05:16 +00:00
"PassedIcon"
{
"ControlName" "ImagePanel"
"fieldName" "PassedIcon"
"xpos" "10"
"ypos" "10"
"wide" "17"
"tall" "17"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "hud/vote_yes"
}
2021-11-01 15:05:16 +00:00
"PassedTitle"
{
"ControlName" "CExLabel"
2021-11-01 15:05:16 +00:00
"fieldName" "PassedTitle"
"xpos" "32"
"ypos" "10"
"wide" "98"
"tall" "17"
"visible" "1"
"enabled" "1"
"labelText" "#GameUI_vote_passed"
"textAlignment" "west"
"font" "Size 10"
"wrap" "1"
"fgcolor" "White"
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
"PassedResult"
{
"ControlName" "CExLabel"
2021-11-01 15:05:16 +00:00
"fieldName" "PassedResult"
"xpos" "10"
"ypos" "29"
"wide" "130"
"tall" "40"
"visible" "1"
"enabled" "1"
"labelText" "%passedresult%"
"textAlignment" "north-west"
"font" "Size 8"
"wrap" "1"
"fgcolor" "White"
2021-11-01 15:05:16 +00:00
"noshortcutsyntax" "1"
}
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
"VoteActive"
{
"ControlName" "EditablePanel"
"fieldName" "VoteActive"
"xpos" "10"
"ypos" "r315"
"wide" "150"
"tall" "144"
"visible" "0"
"enabled" "1"
"border" "MaterialTransparent50"
2021-11-01 15:05:16 +00:00
"Header"
{
"ControlName" "CExLabel"
2021-11-01 15:05:16 +00:00
"fieldName" "Header"
"xpos" "10"
"ypos" "5"
"wide" "130"
"tall" "20"
"visible" "1"
"enabled" "1"
"labelText" "%header%"
"textAlignment" "north-west"
"font" "Size 8"
"wrap" "1"
"fgcolor" "White"
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
"Issue"
{
"ControlName" "CExLabel"
2021-11-01 15:05:16 +00:00
"fieldName" "Issue"
"xpos" "10"
"ypos" "22"
"wide" "120"
"tall" "40"
"visible" "1"
"enabled" "1"
"labelText" "%voteissue%"
"textAlignment" "north-west"
"font" "Size 10"
"fgcolor" "White"
2021-11-01 15:05:16 +00:00
"wrap" "1"
"noshortcutsyntax" "1"
}
"TargetAvatarImage"
{
"ControlName" "CAvatarImagePanel"
"fieldName" "TargetAvatarImage"
"xpos" "10"
"ypos" "23"
"wide" "16"
"tall" "16"
"visible" "0"
"enabled" "1"
"image" ""
"scaleImage" "1"
2021-11-01 15:05:16 +00:00
"color_outline" "White"
}
2021-11-01 15:05:16 +00:00
// divider
"Divider"
{
"ControlName" "ImagePanel"
"fieldName" "Divider"
"xpos" "10"
"ypos" "50"
"wide" "130"
"tall" "1"
"fillcolor" "WhiteDark"
"zpos" "0"
}
2021-11-01 15:05:16 +00:00
// Temp UI
2021-11-01 15:05:16 +00:00
"LabelOption1"
{
"ControlName" "CExLabel"
2021-11-01 15:05:16 +00:00
"fieldName" "LabelOption1"
"xpos" "10"
"ypos" "57"
"wide" "130"
"tall" "16"
"zpos" "2"
"visible" "1"
"enabled" "1"
"labelText" ""
"textAlignment" "left"
"font" "Size 8"
"fgcolor" "White"
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
"Option1Background_Selected"
{
"ControlName" "ImagePanel"
"fieldName" "Option1Background_Selected"
"xpos" "10"
"ypos" "57"
"wide" "130"
"tall" "16"
"zpos" "1"
"fillcolor" "Main Theme"
"visible" "1"
}
2021-11-01 15:05:16 +00:00
"Option1CountLabel"
{
"ControlName" "CExLabel"
2021-11-01 15:05:16 +00:00
"fieldName" "Option1CountLabel"
"xpos" "28"
"ypos" "113"
"wide" "16"
"tall" "16"
"zpos" "2"
"visible" "1"
"enabled" "1"
"labelText" "Yes"
"textAlignment" "center"
"font" "Size 10"
"fgcolor" "White"
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
"LabelOption2"
{
"ControlName" "CExLabel"
2021-11-01 15:05:16 +00:00
"fieldName" "LabelOption2"
"xpos" "10"
"ypos" "73"
"wide" "130"
"tall" "16"
"zpos" "2"
"visible" "1"
"enabled" "1"
"labelText" ""
"textAlignment" "left"
"font" "Size 8"
"fgcolor" "White"
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
"Option2Background_Selected"
{
"ControlName" "ImagePanel"
"fieldName" "Option2Background_Selected"
"xpos" "10"
"ypos" "73"
"wide" "130"
"tall" "16"
"zpos" "1"
"fillcolor" "Main Theme"
"visible" "1"
}
2021-11-01 15:05:16 +00:00
"Option2CountLabel"
{
"ControlName" "CExLabel"
2021-11-01 15:05:16 +00:00
"fieldName" "Option2CountLabel"
"xpos" "74"
"ypos" "113"
"wide" "16"
"tall" "16"
"zpos" "2"
"visible" "1"
"enabled" "1"
"labelText" "No"
"textAlignment" "center"
"font" "Size 10"
"fgcolor" "White"
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
"LabelOption3"
{
"ControlName" "CExLabel"
2021-11-01 15:05:16 +00:00
"fieldName" "LabelOption3"
"xpos" "10"
"ypos" "89"
"wide" "130"
"tall" "16"
"zpos" "2"
"visible" "1"
"enabled" "1"
"labelText" ""
"textAlignment" "left"
"font" "Size 8"
"fgcolor" "White"
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
"Option3Background_Selected"
{
"ControlName" "ImagePanel"
"fieldName" "Option3Background_Selected"
"xpos" "10"
"ypos" "89"
"wide" "130"
"tall" "16"
"zpos" "1"
"fillcolor" "Main Theme"
"visible" "0"
}
2021-11-01 15:05:16 +00:00
"LabelOption4"
{
"ControlName" "CExLabel"
2021-11-01 15:05:16 +00:00
"fieldName" "LabelOption4"
"xpos" "10"
"ypos" "105"
"wide" "130"
"tall" "16"
"zpos" "2"
"visible" "1"
"enabled" "1"
"labelText" ""
"textAlignment" "left"
"font" "Size 8"
"fgcolor" "White"
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
"Option4Background_Selected"
{
"ControlName" "ImagePanel"
"fieldName" "Option4Background_Selected"
"xpos" "10"
"ypos" "105"
"wide" "130"
"tall" "16"
"zpos" "1"
"fillcolor" "Main Theme"
"visible" "0"
}
2021-11-01 15:05:16 +00:00
"LabelOption5"
{
"ControlName" "CExLabel"
2021-11-01 15:05:16 +00:00
"fieldName" "LabelOption5"
"xpos" "10"
"ypos" "121"
"wide" "130"
"tall" "16"
"zpos" "2"
"visible" "1"
"enabled" "1"
"labelText" ""
"textAlignment" "left"
"font" "Size 8"
"fgcolor" "White"
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
"Option5Background_Selected"
{
"ControlName" "ImagePanel"
"fieldName" "Option5Background_Selected"
"xpos" "10"
"ypos" "121"
"wide" "130"
"tall" "16"
"zpos" "1"
"fillcolor" "Main Theme"
"visible" "0"
}
2021-11-01 15:05:16 +00:00
// divider
"Divider2"
{
"ControlName" "ImagePanel"
"fieldName" "Divider2"
"xpos" "10"
"ypos" "100"
"wide" "130"
"tall" "1"
"fillcolor" "White"
"zpos" "0"
}
2021-11-01 15:05:16 +00:00
"VoteCountLabel"
{
"ControlName" "CExLabel"
2021-11-01 15:05:16 +00:00
"fieldName" "VoteCountLabel"
"xpos" "10"
"ypos" "100"
"wide" "140"
"tall" "20"
"visible" "1"
"enabled" "1"
"labelText" "#GameUI_vote_current_vote_count"
"textAlignment" "north-west"
"font" "Size 8"
"fgcolor" "White"
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
// vote bar
"VoteBar"
{
"ControlName" "Panel"
"fieldName" "VoteBar"
"xpos" "11"
"ypos" "113"
"wide" "130"
"tall" "18"
"zpos" "2"
"visible" "1"
"enabled" "1"
2021-11-01 15:05:16 +00:00
"box_size" "16"
"spacer" "6"
"box_inset" "1"
"yes_texture" "vgui/hud/vote_yes"
"no_texture" "vgui/hud/vote_no"
}
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
// This is sent to the vote caller when they're not able to start the vote
"CallVoteFailed"
{
"ControlName" "EditablePanel"
"fieldName" "CallVoteFailed"
"xpos" "10"
"ypos" "c-80"
"wide" "150"
"tall" "67"
"visible" "0"
"enabled" "1"
"border" "MaterialTransparent50"
2021-11-01 15:05:16 +00:00
"FailedIcon"
{
"ControlName" "ImagePanel"
"fieldName" "FailedIcon"
"xpos" "10"
"ypos" "10"
"wide" "17"
"tall" "17"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "hud/vote_no"
}
2021-11-01 15:05:16 +00:00
"FailedTitle"
{
"ControlName" "CExLabel"
2021-11-01 15:05:16 +00:00
"fieldName" "FailedTitle"
"xpos" "32"
"ypos" "10"
"wide" "80"
"tall" "17"
"visible" "1"
"enabled" "1"
"labelText" "#GameUI_vote_failed"
"textAlignment" "west"
"font" "Size 10"
"wrap" "1"
"fgcolor" "Red"
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
"FailedReason"
{
"ControlName" "CExLabel"
2021-11-01 15:05:16 +00:00
"fieldName" "FailedReason"
"xpos" "10"
"ypos" "29"
"wide" "140"
"tall" "40"
"visible" "1"
"enabled" "1"
"labelText" "%FailedReason%"
"textAlignment" "north-west"
"font" "Size 8"
"wrap" "1"
"fgcolor" "White"
}
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
// This is shown to everyone when a vote fails due to lack of votes
"VoteFailed"
{
"ControlName" "EditablePanel"
"fieldName" "VoteFailed"
"xpos" "10"
"ypos" "r315"
"wide" "150"
"tall" "67"
"visible" "0"
"enabled" "1"
"border" "MaterialTransparent50"
2021-11-01 15:05:16 +00:00
"FailedIcon"
{
"ControlName" "ImagePanel"
"fieldName" "FailedIcon"
"xpos" "10"
"ypos" "10"
"wide" "17"
"tall" "17"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "hud/vote_no"
}
2021-11-01 15:05:16 +00:00
"FailedTitle"
{
"ControlName" "CExLabel"
2021-11-01 15:05:16 +00:00
"fieldName" "FailedTitle"
"xpos" "32"
"ypos" "10"
"wide" "98"
"tall" "17"
"visible" "1"
"enabled" "1"
"labelText" "#GameUI_vote_failed"
"textAlignment" "west"
"font" "Size 10"
"wrap" "1"
"fgcolor" "Red"
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
"FailedReason"
{
"ControlName" "CExLabel"
2021-11-01 15:05:16 +00:00
"fieldName" "FailedReason"
"xpos" "10"
"ypos" "29"
"wide" "130"
"tall" "40"
"visible" "1"
"enabled" "1"
"labelText" ""
"textAlignment" "north-west"
"font" "Size 8"
"wrap" "1"
"fgcolor" "White"
}
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
"VoteSetupDialog"
{
"ControlName" "CVoteSetupDialog"
"fieldName" "VoteSetupDialog"
"xpos" "cs-0.5"
"ypos" "cs-0.5"
"wide" "300"
2021-11-01 15:05:16 +00:00
"tall" "310"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
2021-11-01 15:05:16 +00:00
"settitlebarvisible" "0"
"AllCaps" "1"
2021-11-01 15:05:16 +00:00
"PaintBackground" "0"
"PaintBorder" "1"
"border" "MaterialBlackLight"
2021-11-01 15:05:16 +00:00
"header_font" "Size 12"
"header_fgcolor" "White"
"issue_width" "138"
2021-11-01 15:05:16 +00:00
"issue_font" "Size 10"
"issue_fgcolor" "White"
"issue_fgcolor_disabled" "WhiteDark"
"parameter_width" "141"
2021-11-01 15:05:16 +00:00
"TitleLabel"
{
"ControlName" "CExLabel"
"fieldName" "TitleLabel"
"xpos" "cs-0.5"
"ypos" "3"
"wide" "f6"
"tall" "26"
2021-11-01 15:05:16 +00:00
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
2021-11-01 15:05:16 +00:00
"AllCaps" "1"
"font" "Size 18"
"labelText" "#TF_Vote_Title"
"textAlignment" "center"
"fgcolor" "White"
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
"VoteSetupList"
{
"ControlName" "SectionedListPanel"
"fieldName" "VoteSetupList"
"xpos" "5"
"ypos" "35"
2021-11-01 15:05:16 +00:00
"zpos" "2"
"wide" "p0.46"
"tall" "f91"
2021-11-01 15:05:16 +00:00
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"paintbackground" "1"
"bgcolor_override" "BlackTransparent"
2021-11-01 15:05:16 +00:00
"linespacing" "16"
}
"VoteSetupListBG"
{
"ControlName" "EditablePanel"
"fieldName" "VoteSetupListBG"
"xpos" "2"
"ypos" "6"
"zpos" "0"
"wide" "p0.47"
"tall" "f81"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"paintboder" "1"
"border" "MaterialGrayDarker"
"pin_to_sibling" "VoteSetupList"
}
2021-11-01 15:05:16 +00:00
"VoteParameterList"
{
"ControlName" "SectionedListPanel"
"fieldName" "VoteParameterList"
"xpos" "rs1-5"
"ypos" "35"
2021-11-01 15:05:16 +00:00
"zpos" "2"
"wide" "p0.5"
"tall" "f68"
2021-11-01 15:05:16 +00:00
"visible" "1"
"enabled" "1"
"linespacing" "16"
"proportionaltoparent" "1"
}
"VoteParameterListBG"
{
"ControlName" "EditablePanel"
"fieldName" "VoteParameterListBG"
"xpos" "2"
"ypos" "6"
"zpos" "0"
"wide" "p0.51"
"tall" "f58"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"paintboder" "1"
"border" "MaterialGrayDarker"
"pin_to_sibling" "VoteParameterList"
"pin_corner_to_sibling" "PIN_TOPRIGHT"
"pin_to_sibling_corner" "PIN_TOPRIGHT"
2021-11-01 15:05:16 +00:00
}
"ComboLabel"
{
"ControlName" "CExLabel"
"fieldName" "ComboLabel"
"xpos" "9999"
2021-11-01 15:05:16 +00:00
}
"ComboBox"
{
"ControlName" "ComboBox"
"fieldName" "ComboBox"
"xpos" "7"
"ypos" "rs1-31"
2021-11-01 15:05:16 +00:00
"zpos" "1"
"wide" "p0.45"
2021-11-01 15:05:16 +00:00
"tall" "20"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
2021-11-01 15:05:16 +00:00
"textHidden" "0"
"editable" "0"
"maxchars" "-1"
"NumericInputOnly" "0"
"unicode" "0"
"Font" "Size 12"
"paintborder" "0"
"paintbackground" "1"
2021-11-01 15:05:16 +00:00
"fgcolor_override" "White"
"bgcolor_override" "Blank"
"disabledFgColor_override" "WhiteDark"
"disabledBgColor_override" "Blank"
"selectionColor_override" "Blank"
2021-11-01 15:05:16 +00:00
"selectionTextColor_override" "White"
"defaultSelectionBG2Color_override" "WhiteDark"
}
"ComboBoxBG"
{
"ControlName" "EditablePanel"
"fieldName" "ComboBoxBG"
"xpos" "4"
"ypos" "0"
"zpos" "0"
"wide" "p0.47"
"tall" "24"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"paintboder" "1"
"border" "MaterialGrayDarker"
"pin_to_sibling" "ComboBox"
"pin_corner_to_sibling" "PIN_CENTER_LEFT"
"pin_to_sibling_corner" "PIN_CENTER_LEFT"
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
"CallVoteButton"
{
"ControlName" "Button"
"fieldName" "CallVoteButton"
"xpos" "cs-0.5"
"ypos" "rs1-3"
"zpos" "10"
"wide" "f6"
2021-11-01 15:05:16 +00:00
"tall" "24"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
2021-11-01 15:05:16 +00:00
"labelText" "#TF_call_vote"
"textAlignment" "center"
"Command" "CallVote"
"Default" "0"
"font" "Size 15"
2021-11-01 15:05:16 +00:00
"AllCaps" "1"
2021-11-01 15:05:16 +00:00
"paintbackground" "0"
"paintborder" "0"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
2021-11-01 15:05:16 +00:00
"defaultFgColor_override" "White"
"armedFgColor_override" "WhiteSolid"
"depressedFgColor_override" "WhiteSolid"
2021-11-01 15:05:16 +00:00
}
"CallVoteButtonBG"
{
"ControlName" "EditablePanel"
"fieldName" "CallVoteButtonBG"
"xpos" "0"
"ypos" "0"
2021-11-01 15:05:16 +00:00
"zpos" "0"
"wide" "f6"
2021-11-01 15:05:16 +00:00
"tall" "24"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"paintboder" "1"
"border" "MaterialHypno"
"pin_to_sibling" "CallVoteButton"
2021-11-01 15:05:16 +00:00
}
2021-11-01 15:05:16 +00:00
"Button1"
{
"ControlName" "Button"
"fieldName" "Button1"
"xpos" "rs1-5"
"ypos" "5"
"zpos" "10"
"wide" "22"
"tall" "22"
2021-11-01 15:05:16 +00:00
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"labelText" "-"
2021-11-01 15:05:16 +00:00
"textAlignment" "center"
"Command" "Close"
"Default" "0"
"font" "Symbols 18"
2021-11-01 15:05:16 +00:00
"AllCaps" "1"
2021-11-01 15:05:16 +00:00
"paintbackground" "0"
"paintborder" "0"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
2021-11-01 15:05:16 +00:00
"defaultFgColor_override" "White"
"armedFgColor_override" "WhiteSolid"
"depressedFgColor_override" "WhiteSolid"
2021-11-01 15:05:16 +00:00
}
"Button1BG"
{
"ControlName" "EditablePanel"
"fieldName" "Button1BG"
"xpos" "0"
"ypos" "0"
2021-11-01 15:05:16 +00:00
"zpos" "0"
"wide" "22"
"tall" "22"
2021-11-01 15:05:16 +00:00
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"paintborder" "1"
"border" "MaterialRed"
"pin_to_sibling" "Button1"
2021-11-01 15:05:16 +00:00
}
}
}