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

759 lines
17 KiB
Plaintext
Raw Normal View History

2021-11-01 15:05:16 +00:00
"Resource/UI/VoteHud.res"
{
"VotePassed"
{
"ControlName" "EditablePanel"
"fieldName" "VotePassed"
"xpos" "10"
"ypos" "r315"
"wide" "150"
"tall" "67"
"visible" "0"
"enabled" "1"
"border" "MaterialTransparent50"
"PassedIcon"
{
"ControlName" "ImagePanel"
"fieldName" "PassedIcon"
"xpos" "10"
"ypos" "10"
"wide" "17"
"tall" "17"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "hud/vote_yes"
}
"PassedTitle"
{
"ControlName" "Label"
"fieldName" "PassedTitle"
"xpos" "32"
"ypos" "10"
"wide" "98"
"tall" "17"
"visible" "1"
"enabled" "1"
"labelText" "#GameUI_vote_passed"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"font" "Size 10"
"wrap" "1"
"fgcolor_override" "White"
}
"PassedResult"
{
"ControlName" "Label"
"fieldName" "PassedResult"
"xpos" "10"
"ypos" "29"
"wide" "130"
"tall" "40"
"visible" "1"
"enabled" "1"
"labelText" "%passedresult%"
"textAlignment" "north-west"
"dulltext" "0"
"brighttext" "0"
"font" "Size 8"
"wrap" "1"
"fgcolor_override" "White"
"noshortcutsyntax" "1"
}
}
"VoteActive"
{
"ControlName" "EditablePanel"
"fieldName" "VoteActive"
"xpos" "10"
"ypos" "r315"
"wide" "150"
"tall" "144"
"visible" "0"
"enabled" "1"
"border" "MaterialTransparent50"
"Header"
{
"ControlName" "Label"
"fieldName" "Header"
"xpos" "10"
"ypos" "5"
"wide" "130"
"tall" "20"
"visible" "1"
"enabled" "1"
"labelText" "%header%"
"textAlignment" "north-west"
"dulltext" "0"
"brighttext" "0"
"font" "Size 8"
"wrap" "1"
"fgcolor_override" "White"
}
"Issue"
{
"ControlName" "Label"
"fieldName" "Issue"
"xpos" "10"
"ypos" "22"
"wide" "120"
"tall" "40"
"visible" "1"
"enabled" "1"
"labelText" "%voteissue%"
"textAlignment" "north-west"
"dulltext" "0"
"brighttext" "0"
"font" "Size 10"
"fgcolor_override" "White"
"wrap" "1"
"noshortcutsyntax" "1"
}
"TargetAvatarImage"
{
"ControlName" "CAvatarImagePanel"
"fieldName" "TargetAvatarImage"
"xpos" "10"
"ypos" "23"
"wide" "16"
"tall" "16"
"visible" "0"
"enabled" "1"
"image" ""
"scaleImage" "1"
"color_outline" "White"
}
// divider
"Divider"
{
"ControlName" "ImagePanel"
"fieldName" "Divider"
"xpos" "10"
"ypos" "50"
"wide" "130"
"tall" "1"
"fillcolor" "WhiteDark"
"zpos" "0"
}
// Temp UI
"LabelOption1"
{
"ControlName" "Label"
"fieldName" "LabelOption1"
"xpos" "10"
"ypos" "57"
"wide" "130"
"tall" "16"
"zpos" "2"
"visible" "1"
"enabled" "1"
"labelText" ""
"textAlignment" "left"
"dulltext" "0"
"brighttext" "0"
"font" "Size 8"
"fgcolor_override" "White"
}
"Option1Background_Selected"
{
"ControlName" "ImagePanel"
"fieldName" "Option1Background_Selected"
"xpos" "10"
"ypos" "57"
"wide" "130"
"tall" "16"
"zpos" "1"
"fillcolor" "Main Theme"
"visible" "1"
}
"Option1CountLabel"
{
"ControlName" "Label"
"fieldName" "Option1CountLabel"
"xpos" "28"
"ypos" "113"
"wide" "16"
"tall" "16"
"zpos" "2"
"visible" "1"
"enabled" "1"
"labelText" "Yes"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"font" "Size 10"
"fgcolor_override" "White"
}
"LabelOption2"
{
"ControlName" "Label"
"fieldName" "LabelOption2"
"xpos" "10"
"ypos" "73"
"wide" "130"
"tall" "16"
"zpos" "2"
"visible" "1"
"enabled" "1"
"labelText" ""
"textAlignment" "left"
"dulltext" "0"
"brighttext" "0"
"font" "Size 8"
"fgcolor_override" "White"
}
"Option2Background_Selected"
{
"ControlName" "ImagePanel"
"fieldName" "Option2Background_Selected"
"xpos" "10"
"ypos" "73"
"wide" "130"
"tall" "16"
"zpos" "1"
"fillcolor" "Main Theme"
"visible" "1"
}
"Option2CountLabel"
{
"ControlName" "Label"
"fieldName" "Option2CountLabel"
"xpos" "74"
"ypos" "113"
"wide" "16"
"tall" "16"
"zpos" "2"
"visible" "1"
"enabled" "1"
"labelText" "No"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"font" "Size 10"
"fgcolor_override" "White"
}
"LabelOption3"
{
"ControlName" "Label"
"fieldName" "LabelOption3"
"xpos" "10"
"ypos" "89"
"wide" "130"
"tall" "16"
"zpos" "2"
"visible" "1"
"enabled" "1"
"labelText" ""
"textAlignment" "left"
"dulltext" "0"
"brighttext" "0"
"font" "Size 8"
"fgcolor_override" "White"
}
"Option3Background_Selected"
{
"ControlName" "ImagePanel"
"fieldName" "Option3Background_Selected"
"xpos" "10"
"ypos" "89"
"wide" "130"
"tall" "16"
"zpos" "1"
"fillcolor" "Main Theme"
"visible" "0"
}
"LabelOption4"
{
"ControlName" "Label"
"fieldName" "LabelOption4"
"xpos" "10"
"ypos" "105"
"wide" "130"
"tall" "16"
"zpos" "2"
"visible" "1"
"enabled" "1"
"labelText" ""
"textAlignment" "left"
"dulltext" "0"
"brighttext" "0"
"font" "Size 8"
"fgcolor_override" "White"
}
"Option4Background_Selected"
{
"ControlName" "ImagePanel"
"fieldName" "Option4Background_Selected"
"xpos" "10"
"ypos" "105"
"wide" "130"
"tall" "16"
"zpos" "1"
"fillcolor" "Main Theme"
"visible" "0"
}
"LabelOption5"
{
"ControlName" "Label"
"fieldName" "LabelOption5"
"xpos" "10"
"ypos" "121"
"wide" "130"
"tall" "16"
"zpos" "2"
"visible" "1"
"enabled" "1"
"labelText" ""
"textAlignment" "left"
"dulltext" "0"
"brighttext" "0"
"font" "Size 8"
"fgcolor_override" "White"
}
"Option5Background_Selected"
{
"ControlName" "ImagePanel"
"fieldName" "Option5Background_Selected"
"xpos" "10"
"ypos" "121"
"wide" "130"
"tall" "16"
"zpos" "1"
"fillcolor" "Main Theme"
"visible" "0"
}
// divider
"Divider2"
{
"ControlName" "ImagePanel"
"fieldName" "Divider2"
"xpos" "10"
"ypos" "100"
"wide" "130"
"tall" "1"
"fillcolor" "White"
"zpos" "0"
}
"VoteCountLabel"
{
"ControlName" "Label"
"fieldName" "VoteCountLabel"
"xpos" "10"
"ypos" "100"
"wide" "140"
"tall" "20"
"visible" "1"
"enabled" "1"
"labelText" "#GameUI_vote_current_vote_count"
"textAlignment" "north-west"
"dulltext" "0"
"brighttext" "0"
"font" "Size 8"
"fgcolor_override" "White"
}
// vote bar
"VoteBar"
{
"ControlName" "Panel"
"fieldName" "VoteBar"
"xpos" "11"
"ypos" "113"
"wide" "130"
"tall" "18"
"zpos" "2"
"visible" "1"
"enabled" "1"
"box_size" "16"
"spacer" "6"
"box_inset" "1"
"yes_texture" "vgui/hud/vote_yes"
"no_texture" "vgui/hud/vote_no"
}
}
// 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"
"FailedIcon"
{
"ControlName" "ImagePanel"
"fieldName" "FailedIcon"
"xpos" "10"
"ypos" "10"
"wide" "17"
"tall" "17"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "hud/vote_no"
}
"FailedTitle"
{
"ControlName" "Label"
"fieldName" "FailedTitle"
"xpos" "32"
"ypos" "10"
"wide" "80"
"tall" "17"
"visible" "1"
"enabled" "1"
"labelText" "#GameUI_vote_failed"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"font" "Size 10"
"wrap" "1"
"fgcolor_override" "Red"
}
"FailedReason"
{
"ControlName" "Label"
"fieldName" "FailedReason"
"xpos" "10"
"ypos" "29"
"wide" "140"
"tall" "40"
"visible" "1"
"enabled" "1"
"labelText" "%FailedReason%"
"textAlignment" "north-west"
"dulltext" "0"
"brighttext" "0"
"font" "Size 8"
"wrap" "1"
"fgcolor_override" "White"
}
}
// 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"
"FailedIcon"
{
"ControlName" "ImagePanel"
"fieldName" "FailedIcon"
"xpos" "10"
"ypos" "10"
"wide" "17"
"tall" "17"
"visible" "1"
"enabled" "1"
"scaleImage" "1"
"image" "hud/vote_no"
}
"FailedTitle"
{
"ControlName" "Label"
"fieldName" "FailedTitle"
"xpos" "32"
"ypos" "10"
"wide" "98"
"tall" "17"
"visible" "1"
"enabled" "1"
"labelText" "#GameUI_vote_failed"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"font" "Size 10"
"wrap" "1"
"fgcolor_override" "Red"
}
"FailedReason"
{
"ControlName" "Label"
"fieldName" "FailedReason"
"xpos" "10"
"ypos" "29"
"wide" "130"
"tall" "40"
"visible" "1"
"enabled" "1"
"labelText" ""
"textAlignment" "north-west"
"dulltext" "0"
"brighttext" "0"
"font" "Size 8"
"wrap" "1"
"fgcolor_override" "White"
}
}
"VoteSetupDialog"
{
"ControlName" "CVoteSetupDialog"
"fieldName" "VoteSetupDialog"
"xpos" "c-200"
"ypos" "c-150"
"wide" "400"
"tall" "310"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"settitlebarvisible" "0"
"border" "MaterialBlackLight"
"bgcolor_override" "Blank"
"PaintBackground" "0"
"header_font" "Size 12"
"header_fgcolor" "White"
"issue_width" "180"
"issue_font" "Size 10"
"issue_fgcolor" "White"
"issue_fgcolor_disabled" "White"
"parameter_width" "200"
"TitleLabel"
{
"ControlName" "CExLabel"
"fieldName" "TitleLabel"
"font" "Size 24"
"labelText" "#TF_Vote_Title"
"textAlignment" "north"
"xpos" "0"
"ypos" "10"
"wide" "400"
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"wrap" "0"
"AllCaps" "1"
}
"VoteSetupList"
{
"ControlName" "SectionedListPanel"
"fieldName" "VoteSetupList"
"xpos" "10"
"ypos" "38"
"zpos" "2"
"wide" "180"
"tall" "200"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"autoresize" "0"
"linespacing" "16"
}
"VoteParameterList"
{
"ControlName" "SectionedListPanel"
"fieldName" "VoteParameterList"
"xpos" "190"
"ypos" "38"
"zpos" "2"
"wide" "200"
"tall" "200"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"autoresize" "0"
"linespacing" "16"
}
"ComboLabel"
{
"ControlName" "CExLabel"
"fieldName" "ComboLabel"
"font" "Size 11"
"labelText" "%combo_label%"
"textAlignment" "east"
"xpos" "5"
"ypos" "245"
"zpos" "1"
"wide" "75"
"tall" "20"
"autoResize" "1"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
}
"ComboBox"
{
"ControlName" "ComboBox"
"fieldName" "ComboBox"
"Font" "Size 11"
"xpos" "85"
"ypos" "245"
"zpos" "1"
"wide" "235"
"tall" "20"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "1"
"textHidden" "0"
"editable" "0"
"maxchars" "-1"
"NumericInputOnly" "0"
"unicode" "0"
"fgcolor_override" "White"
"bgcolor_override" "BlackDark"
"disabledFgColor_override" "White"
"disabledBgColor_override" "BlackDark"
"selectionColor_override" "BlackDark"
"selectionTextColor_override" "White"
"defaultSelectionBG2Color_override" "BlackDark"
}
"CallVoteButton"
{
"ControlName" "Button"
"fieldName" "CallVoteButton"
"xpos" "75"
"ypos" "275"
"zpos" "1"
"wide" "160"
"tall" "24"
"autoResize" "0"
"pinCorner" "3"
"visible" "1"
"enabled" "0"
"tabPosition" "4"
"labelText" "#TF_call_vote"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"Command" "CallVote"
"Default" "0"
"font" "Size 14"
"AllCaps" "1"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"paintborder" "0"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
}
"CallVoteButtonBG"
{
"ControlName" "EditablePanel"
"fieldName" "CallVoteButtonBG"
"xpos" "75"
"ypos" "275"
"zpos" "0"
"wide" "160"
"tall" "24"
"autoResize" "0"
"pinCorner" "3"
"visible" "1"
"enabled" "0"
"border" "MaterialGrayDark"
}
"Button1"
{
"ControlName" "Button"
"fieldName" "Button1"
"xpos" "240"
"ypos" "275"
"zpos" "1"
"wide" "80"
"tall" "24"
"autoResize" "0"
"pinCorner" "3"
"visible" "1"
"enabled" "1"
"tabPosition" "4"
"labelText" "#GameUI_Close"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"Command" "Close"
"Default" "0"
"font" "Size 14"
"AllCaps" "1"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"paintborder" "0"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
}
"Button1BG"
{
"ControlName" "EditablePanel"
"fieldName" "Button1BG"
"xpos" "240"
"ypos" "275"
"zpos" "0"
"wide" "80"
"tall" "24"
"autoResize" "0"
"pinCorner" "3"
"visible" "1"
"enabled" "0"
"border" "MaterialGrayDark"
}
}
}