2
mirror of https://gitlab.com/jessieh/doghud.git synced 2024-11-24 23:11:45 +00:00

Improve workshop menu (upstream)

This commit is contained in:
Jessie Hildebrandt 2023-01-14 17:41:49 -05:00
parent 4688d838d1
commit 91dd692649
7 changed files with 4275 additions and 1006 deletions

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,98 @@
"Resource/UI/ImportFileTextEditDialog.res"
{
"ImportFileTextEditDialog"
{
"fieldName" "ImportFileTextEditDialog"
"visible" "1"
"enabled" "1"
"xpos" "c-280"
"ypos" "c-180"
"wide" "560"
"tall" "360"
"paintbackground" "0"
"paintborder" "1"
"border" "MaterialBlackDark"
}
"TitleLabel"
{
"ControlName" "CExLabel"
"fieldName" "TitleLabel"
"font" "Size 24"
"textAlignment" "center"
"labelText" "#Frame_Untitled"
"xpos" "10"
"ypos" "10"
"zpos" "0"
"wide" "540"
"tall" "25"
"centerwrap" "1"
"fgcolor" "WhiteDark"
}
"TextEntry"
{
"ControlName" "TextEntry"
"fieldName" "TextEntry"
"xpos" "10"
"ypos" "40"
"zpos" "-1"
"wide" "540"
"tall" "280"
"font" "Size 14"
"textAlignment" "north-west"
"labelText" ""
"bgcolor_override" "BlackLight"
"fgcolor_override" "WhiteDark"
}
"ButtonClose"
{
"ControlName" "CExButton"
"fieldName" "ButtonClose"
"xpos" "145"
"ypos" "325"
"wide" "150"
"tall" "25"
"visible" "1"
"enabled" "1"
"labelText" "#Cancel"
"textAlignment" "center"
"Command" "Close"
"Default" "0"
"font" "Size 14"
"paintbackground" "0"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
}
"ButtonDone"
{
"ControlName" "CExButton"
"fieldName" "ButtonDone"
"xpos" "305"
"ypos" "325"
"wide" "150"
"tall" "25"
"visible" "1"
"enabled" "1"
"labelText" "#GameUI_OK"
"textAlignment" "center"
"Command" "Done"
"Default" "0"
"font" "Size 14"
"paintbackground" "0"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,3 +1,5 @@
#base "../../resource/tools/reloadschemebutton.res"
"PublishedFileBrowserDialog.res"
{
"PublishedFileBrowserDialog"
@ -8,43 +10,29 @@
"ypos" "0"
"wide" "600"
"tall" "292"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"settitlebarvisible" "1"
"Title" "#TF_PublishedFiles_Browse"
"paintbackground" "0"
"paintborder" "1"
"border" "MaterialBlackDark"
}
"Background"
{
"ControlName" "EditablePanel"
"fieldName" "Background"
"xpos" "9999"
}
"LabelPublishedFiles"
{
"ControlName" "Label"
"ControlName" "CExLabel"
"fieldName" "LabelPublishedFiles"
"xpos" "32"
"ypos" "32"
"wide" "180"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_PublishedFiles_Files"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"fgcolor_override" "WhiteDark"
"fgcolor" "WhiteDark"
}
"PublishedFileList"
@ -55,213 +43,194 @@
"ypos" "56"
"wide" "300"
"tall" "180"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"fgcolor_override" "WhiteDark"
"fgcolor" "WhiteDark"
}
"LabelPublishedFileTitle"
{
"ControlName" "Label"
"ControlName" "CExLabel"
"fieldName" "LabelPublishedFileTitle"
"xpos" "354"
"ypos" "32"
"wide" "180"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_PublishFile_TitleLabel"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"fgcolor_override" "WhiteDark"
"fgcolor" "WhiteDark"
}
"LabelPublishedFileTitleValue"
{
"ControlName" "Label"
"ControlName" "CExLabel"
"fieldName" "LabelPublishedFileTitleValue"
"xpos" "354"
"ypos" "56"
"wide" "250"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"labelText" ""
// "editable" "0"
// "maxchars" "128"
"fgcolor_override" "WhiteDark"
"fgcolor" "WhiteDark"
}
"LabelPublishedFileDesc"
{
"ControlName" "Label"
"ControlName" "CExLabel"
"fieldName" "LabelPublishedFileDesc"
"xpos" "354"
"ypos" "100"
"wide" "180"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_PublishFile_DescLabel"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"wrap" "1"
"fgcolor_override" "WhiteDark"
"fgcolor" "WhiteDark"
}
"LabelPublishedFileDescValue"
{
"ControlName" "Label"
"ControlName" "CExLabel"
"fieldName" "LabelPublishedFileDescValue"
"xpos" "354"
"ypos" "124"
"wide" "250"
"tall" "112"
"autoResize" "0"
"pinCorner" "1"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"textAlignment" "north-west"
"dulltext" "0"
"brighttext" "0"
"wrap" "1"
"labelText" ""
//"editable" "0"
//"maxchars" "256"
"fgcolor_override" "WhiteDark"
}
"ButtonAddFile"
{
"ControlName" "Button"
"ControlName" "CExButton"
"fieldName" "ButtonAddFile"
"xpos" "32"
"ypos" "244"
"wide" "64"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_PublishedFiles_Add"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "AddFile"
"Default" "0"
"paintbackground" "0"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
}
"ButtonDeleteFile"
{
"ControlName" "Button"
"ControlName" "CExButton"
"fieldName" "ButtonDeleteFile"
"xpos" "104"
"ypos" "244"
"wide" "64"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_PublishedFiles_Delete"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "DeleteFile"
"Default" "0"
"paintbackground" "0"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
}
"ButtonEditFile"
{
"ControlName" "Button"
"ControlName" "CExButton"
"fieldName" "ButtonEditFile"
"xpos" "176"
"ypos" "244"
"wide" "64"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_PublishedFiles_Edit"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "EditFile"
"Default" "0"
"paintbackground" "0"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
}
"ButtonRefresh"
{
"ControlName" "Button"
"ControlName" "CExButton"
"fieldName" "ButtonRefresh"
"xpos" "248"
"ypos" "244"
"wide" "64"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_PublishedFiles_Refresh"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "Refresh"
"Default" "0"
"paintbackground" "0"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
}
"ButtonClose"
{
"ControlName" "Button"
"ControlName" "CExButton"
"fieldName" "ButtonClose"
"xpos" "320"
"ypos" "244"
"wide" "64"
"tall" "24"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_CLOSE"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"Command" "Close"
"Default" "0"
"paintbackground" "0"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
}
}

File diff suppressed because it is too large Load Diff

View File

@ -10,79 +10,51 @@
"ypos" "0"
"wide" "f0"
"tall" "f0"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"paintbackground" "0"
}
"Container"
{
"ControlName" "EditablePanel"
"fieldName" "Container"
"xpos" "c-300"
"ypos" "c-200"
"wide" "600"
"tall" "400"
"autoResize" "0"
"pinCorner" "0"
"xpos" "cs-0.5"
"ypos" "cs-0.5"
"wide" "560"
"tall" "310"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"PaintBackgroundType" "0"
"proportionaltoparent" "1"
"paintbackground" "0"
"paintborder" "1"
"border" "MaterialBlackDark"
"Background"
{
"ControlName" "EditablePanel"
"fieldName" "Background"
"xpos" "9999"
}
"WorkshopBranding"
{
"ControlName" "ImagePanel"
"fieldName" "WorkshopBranding"
"xpos" "9999"
}
"BackgroundBottom"
{
"ControlName" "EditablePanel"
"fieldName" "BackgroundBottom"
"xpos" "9999"
}
"NoItemsContainer"
{
"ControlName" "EditablePanel"
"fieldName" "NoItemsContainer"
"xpos" "25"
"ypos" "60"
"wide" "550"
"tall" "245"
"autoResize" "0"
"pinCorner" "0"
"xpos" "cs-0.5"
"ypos" "5"
"wide" "f10"
"tall" "240"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"proportionaltoparent" "1"
"paintbackground" "0"
"border" "MaterialGrayDarkest"
"border" "MaterialBlackLight"
"TitleLabel"
{
"ControlName" "CExLabel"
"fieldName" "TitleLabel"
"font" "Size 22"
"font" "Size 24"
"labelText" "#TF_SteamWorkshop_Title"
"textAlignment" "center"
"xpos" "0"
"ypos" "15"
"ypos" "10"
"zpos" "1"
"wide" "550"
"tall" "20"
"tall" "25"
"autoResize" "1"
"pinCorner" "0"
"visible" "1"
@ -95,20 +67,20 @@
{
"ControlName" "CExLabel"
"fieldName" "TitleLabel"
"xpos" "cs-0.5"
"ypos" "80"
"zpos" "1"
"wide" "f20"
"tall" "150"
"visible" "1"
"enabled" "1"
"proportionaltoparent" "1"
"wrap" "1"
"centerwrap" "1"
"AllCaps" "1"
"font" "Size 12"
"labelText" "#TF_SteamWorkshop_Desc"
"textAlignment" "north"
"xpos" "20"
"ypos" "50"
"zpos" "1"
"wide" "515"
"tall" "200"
"autoResize" "1"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"wrap" "1"
"AllCaps" "1"
"fgcolor" "WhiteDark"
}
@ -117,9 +89,9 @@
"ControlName" "CExButton"
"fieldName" "LearnMoreButton"
"xpos" "cs-0.5"
"ypos" "r38"
"ypos" "rs1-5"
"zpos" "20"
"wide" "p0.96"
"wide" "f10"
"tall" "25"
"autoResize" "0"
"pinCorner" "0"
@ -136,7 +108,7 @@
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"border_default" "MaterialGrayDark"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
@ -149,16 +121,14 @@
{
"ControlName" "EditablePanel"
"fieldName" "ItemsContainer"
"xpos" "25"
"ypos" "60"
"xpos" "cs-0.5"
"ypos" "5"
"zpos" "1"
"wide" "550"
"tall" "245"
"autoResize" "0"
"pinCorner" "0"
"wide" "f10"
"tall" "240"
"visible" "0"
"enabled" "1"
"tabPosition" "0"
"proportionaltoparent" "1"
"paintbackground" "0"
"border" "MaterialBlackDark"
@ -166,100 +136,187 @@
{
"ControlName" "CExLabel"
"fieldName" "TitleLabel"
"font" "Size 22"
"font" "Size 20"
"labelText" "#TF_SteamWorkshop_YourItems"
"textAlignment" "west"
"xpos" "15"
"ypos" "15"
"xpos" "8"
"ypos" "5"
"zpos" "1"
"wide" "550"
"wide" "f150"
"tall" "20"
"autoResize" "1"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"AllCaps" "1"
"proportionaltoparent" "1"
"fgcolor" "WhiteDark"
}
"ViewPublishedButton"
{
"ControlName" "CExButton"
"fieldName" "ViewPublishedButton"
"xpos" "rs1-5"
"ypos" "5"
"zpos" "20"
"wide" "100"
"tall" "20"
"visible" "1"
"enabled" "1"
"labelText" "#TF_SteamWorkshop_ViewPublished"
"font" "Size 14"
"textAlignment" "center"
"proportionaltoparent" "1"
"Command" "view_files"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
}
"SteamWorkshopItem0"
{
"ControlName" "CSteamWorkshopItemPanel"
"fieldName" "SteamWorkshopItem0"
"xpos" "15"
"ypos" "30"
"xpos" "10"
"ypos" "12"
"wide" "125"
"tall" "200"
"pinCorner" "0"
"visible" "1"
"proportionaltoparent" "1"
}
"SteamWorkshopItem1"
{
"ControlName" "CSteamWorkshopItemPanel"
"fieldName" "SteamWorkshopItem1"
"xpos" "147"
"ypos" "30"
"xpos" "145"
"ypos" "12"
"wide" "125"
"tall" "200"
"pinCorner" "0"
"visible" "1"
"proportionaltoparent" "1"
}
"SteamWorkshopItem2"
{
"ControlName" "CSteamWorkshopItemPanel"
"fieldName" "SteamWorkshopItem2"
"xpos" "279"
"ypos" "30"
"xpos" "rs1-145"
"ypos" "12"
"wide" "125"
"tall" "200"
"pinCorner" "0"
"visible" "1"
"proportionaltoparent" "1"
}
"SteamWorkshopItem3"
{
"ControlName" "CSteamWorkshopItemPanel"
"fieldName" "SteamWorkshopItem3"
"xpos" "411"
"ypos" "30"
"xpos" "rs1-10"
"ypos" "12"
"wide" "125"
"tall" "200"
"pinCorner" "0"
"visible" "1"
"proportionaltoparent" "1"
}
"PrevPageButton"
{
"ControlName" "CExButton"
"fieldName" "PrevPageButton"
"xpos" "435"
"ypos" "215"
"xpos" "0"
"ypos" "0"
"zpos" "5"
"wide" "25"
"tall" "25"
"autoResize" "0"
"pinCorner" "0"
"wide" "24"
"tall" "22"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "<"
"font" "Symbols 16"
"font" "Size 14"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1"
"Command" "prevpage"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"border_default" "MaterialGrayDark"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
"pin_to_sibling" "CurPageLabel"
"pin_corner_to_sibling" "PIN_TOPRIGHT"
"pin_to_sibling_corner" "PIN_TOPLEFT"
}
"PrevPageSkipButton"
{
"ControlName" "CExButton"
"fieldName" "PrevPageSkipButton"
"xpos" "2"
"ypos" "0"
"zpos" "5"
"wide" "24"
"tall" "22"
"visible" "1"
"enabled" "1"
"labelText" "<<"
"font" "Size 14"
"textAlignment" "center"
"Command" "prevpageskip"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
"pin_to_sibling" "PrevPageButton"
"pin_corner_to_sibling" "PIN_TOPRIGHT"
"pin_to_sibling_corner" "PIN_TOPLEFT"
}
"SkipToStartButton"
{
"ControlName" "CExButton"
"fieldName" "SkipToStartButton"
"xpos" "2"
"ypos" "0"
"zpos" "5"
"wide" "24"
"tall" "22"
"visible" "1"
"enabled" "1"
"labelText" "|<"
"font" "Size 14"
"textAlignment" "center"
"Command" "skiptostart"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
"pin_to_sibling" "PrevPageSkipButton"
"pin_corner_to_sibling" "PIN_TOPRIGHT"
"pin_to_sibling_corner" "PIN_TOPLEFT"
}
"CurPageLabel"
@ -269,108 +326,130 @@
"font" "Size 14"
"labelText" "%page%"
"textAlignment" "center"
"xpos" "460"
"ypos" "215"
"xpos" "cs-0.5"
"ypos" "rs1-35"
"zpos" "5"
"wide" "50"
"tall" "25"
"autoResize" "1"
"pinCorner" "0"
"wide" "75"
"tall" "22"
"visible" "1"
"enabled" "1"
"AllCaps" "1"
"fgcolor" "Main Theme"
"proportionaltoparent" "1"
"fgcolor" "WhiteDark"
}
"NextPageButton"
{
"ControlName" "CExButton"
"fieldName" "NextPageButton"
"xpos" "510"
"ypos" "215"
"xpos" "0"
"ypos" "0"
"zpos" "5"
"wide" "25"
"tall" "25"
"autoResize" "0"
"pinCorner" "0"
"wide" "24"
"tall" "22"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" ">"
"font" "Symbols 16"
"font" "Size 14"
"textAlignment" "center"
"dulltext" "0"
"brighttext" "0"
"proportionaltoparent" "1"
"Command" "nextpage"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"border_default" "MaterialGrayDark"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
}
"ViewPublishedButton"
"pin_to_sibling" "CurPageLabel"
"pin_corner_to_sibling" "PIN_TOPLEFT"
"pin_to_sibling_corner" "PIN_TOPRIGHT"
}
"NextPageSkipButton"
{
"ControlName" "CExButton"
"fieldName" "ViewPublishedButton"
"xpos" "435"
"ypos" "15"
"zpos" "20"
"wide" "100"
"tall" "25"
"autoResize" "0"
"pinCorner" "0"
"fieldName" "NextPageSkipButton"
"xpos" "2"
"ypos" "0"
"zpos" "5"
"wide" "24"
"tall" "22"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_SteamWorkshop_ViewPublished"
"labelText" ">>"
"font" "Size 14"
"textAlignment" "center"
"textinsetx" "50"
"dulltext" "0"
"brighttext" "0"
"Command" "view_files"
"Command" "nextpageskip"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"border_default" "MaterialGrayDark"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
"pin_to_sibling" "NextPageButton"
"pin_corner_to_sibling" "PIN_TOPLEFT"
"pin_to_sibling_corner" "PIN_TOPRIGHT"
}
"SkipToEndButton"
{
"ControlName" "CExButton"
"fieldName" "SkipToEndButton"
"xpos" "2"
"ypos" "0"
"zpos" "5"
"wide" "24"
"tall" "22"
"visible" "1"
"enabled" "1"
"labelText" ">|"
"font" "Size 14"
"textAlignment" "center"
"Command" "skiptoend"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
"pin_to_sibling" "NextPageSkipButton"
"pin_corner_to_sibling" "PIN_TOPLEFT"
"pin_to_sibling_corner" "PIN_TOPRIGHT"
}
"EditButton"
{
"ControlName" "CExImageButton"
"fieldName" "EditButton"
"xpos" "15"
"ypos" "215"
"wide" "100"
"xpos" "5"
"ypos" "rs1-5"
"wide" "177"
"tall" "25"
"autoResize" "0"
"pinCorner" "3"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"use_proportional_insets" "1"
"font" "Size 14"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"textAlignment" "center"
"default" "1"
"proportionaltoparent" "1"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"border_default" "MaterialGrayDark"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
@ -385,26 +464,22 @@
{
"ControlName" "CExImageButton"
"fieldName" "ViewButton"
"xpos" "125"
"ypos" "215"
"wide" "100"
"xpos" "cs-0.5"
"ypos" "rs1-5"
"wide" "177"
"tall" "25"
"autoResize" "0"
"pinCorner" "3"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"use_proportional_insets" "1"
"font" "Size 14"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"textAlignment" "center"
"default" "1"
"proportionaltoparent" "1"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"border_default" "MaterialGrayDark"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
@ -419,26 +494,22 @@
{
"ControlName" "CExImageButton"
"fieldName" "DeleteButton"
"xpos" "235"
"ypos" "215"
"wide" "100"
"xpos" "rs1-5"
"ypos" "rs1-5"
"wide" "177"
"tall" "25"
"autoResize" "0"
"pinCorner" "3"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"use_proportional_insets" "1"
"font" "Size 14"
"textAlignment" "west"
"dulltext" "0"
"brighttext" "0"
"textAlignment" "center"
"default" "1"
"proportionaltoparent" "1"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"border_default" "MaterialGrayDark"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
@ -455,15 +526,12 @@
"ControlName" "CExButton"
"fieldName" "BrowseButton"
"xpos" "cs-0.5"
"ypos" "r40"
"ypos" "rs1-5"
"zpos" "20"
"wide" "550"
"tall" "30"
"autoResize" "0"
"pinCorner" "0"
"wide" "f10"
"tall" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_SteamWorkshop_BrowseTheWorkshop"
"font" "Size 14"
"textAlignment" "center"
@ -486,21 +554,19 @@
{
"ControlName" "CExButton"
"fieldName" "LoadTestMapButton"
"xpos" "25"
"ypos" "310"
"xpos" "5"
"ypos" "rs1-30"
"zpos" "20"
"wide" "275"
"tall" "30"
"autoResize" "0"
"pinCorner" "0"
"tall" "25"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_SteamWorkshop_Test"
"font" "Size 14"
"textAlignment" "center"
"Command" "itemtest"
"AllCaps" "1"
"proportionaltoparent" "1"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
@ -517,56 +583,19 @@
{
"ControlName" "CExButton"
"fieldName" "PublishButton"
"xpos" "300"
"ypos" "310"
"xpos" "rs1-5"
"ypos" "rs1-30"
"zpos" "20"
"wide" "275"
"tall" "30"
"autoResize" "0"
"pinCorner" "0"
"tall" "25"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "#TF_SteamWorkshop_Publish"
"labelText" "PUBLISH NEW ITEM"
"font" "Size 14"
"textAlignment" "center"
"Command" "publish"
"AllCaps" "1"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
}
"CancelButton"
{
"ControlName" "CExButton"
"fieldName" "CancelButton"
"xpos" "rs1-5"
"ypos" "5"
"zpos" "20"
"wide" "30"
"tall" "30"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "-"
"font" "Symbols 26"
"textAlignment" "center"
"textinsetx" "0"
"dulltext" "0"
"brighttext" "0"
"Command" "cancel"
"AllCaps" ""
"proportionaltoparent" "1"
"AllCaps" "1"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
@ -583,12 +612,103 @@
{
"ControlName" "CExButton"
"fieldName" "LearnMore2Button"
"xpos" "9999"
"xpos" "rs1-5"
"ypos" "rs1-5"
"zpos" "20"
"wide" "130"
"tall" "0"
"visible" "0"
"visible" "0"
"enabled" "1"
"labelText" "#TF_SteamWorkshop_Instructions"
"font" "Size 14"
"textAlignment" "center"
"proportionaltoparent" "1"
"Command" "learn_more"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
}
"ViewLegalAgreementButton"
{
"ControlName" "CExButton"
"fieldName" "ViewLegalAgreementButton"
"xpos" "280"
"ypos" "rs1-5"
"zpos" "20"
"wide" "145"
"tall" "0"
"visible" "1"
"enabled" "1"
"labelText" "#TF_SteamWorkshop_Legal"
"font" "Size 14"
"textAlignment" "center"
"proportionaltoparent" "1"
"Command" "view_legal_agreement"
"sound_depressed" "UI/buttonclick.wav"
"sound_released" "UI/buttonclickrelease.wav"
"paintbackground" "0"
"border_default" "MaterialGrayDarker"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
}
"CancelButton"
{
"ControlName" "CExButton"
"fieldName" "CancelButton"
"xpos" "cs-0.5"
"ypos" "rs1-5"
"zpos" "20"
"wide" "f10"
"tall" "25"
"visible" "1"
"enabled" "1"
"labelText" "BACK"
"font" "Size 14"
"textAlignment" "center"
"Command" "cancel"
"proportionaltoparent" "1"
"AllCaps" "1"
"sound_depressed" "UI/buttonclick.wav"
"paintbackground" "0"
"border_default" "MaterialRed"
"border_armed" "MaterialHypno"
"defaultFgColor_override" "White"
"armedFgColor_override" "White"
"depressedFgColor_override" "White"
}
"Background"
{
"ControlName" "EditablePanel"
"fieldName" "Background"
"xpos" "9999"
}
"WorkshopBranding"
{
"ControlName" "ImagePanel"
"fieldName" "WorkshopBranding"
"xpos" "9999"
}
"BackgroundBottom"
{
"ControlName" "EditablePanel"
"fieldName" "BackgroundBottom"
"xpos" "9999"
}
}

View File

@ -1,5 +1,3 @@
#base "../../resource/tools/reloadschemebutton.res"
"Resource/SteamWorkshopItem.res"
{
"SteamWorkshopItem"
@ -10,12 +8,9 @@
"ypos" "0"
"wide" "125"
"tall" "200"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"bgcolor_override" "Blank"
"paintbackground" "0"
}
"HighlightPanel"
@ -28,7 +23,7 @@
"tall" "125"
"visible" "1"
"mouseinputenabled" "0"
"bgcolor_override" "GrayDark"
"bgcolor_override" "WhiteDark"
}
"PreviewImage"
@ -46,24 +41,19 @@
"LabelTitle"
{
"ControlName" "Label"
"ControlName" "CExLabel"
"fieldName" "LabelTitle"
"xpos" "0"
"xpos" "2"
"ypos" "155"
"wide" "125"
"wide" "121"
"tall" "25"
"autoResize" "0"
"pinCorner" "0"
"visible" "1"
"enabled" "1"
"tabPosition" "0"
"labelText" "%title%"
"textAlignment" "north-west"
"dulltext" "0"
"brighttext" "0"
"wrap" "0"
"font" "Size 11"
"fgcolor_override" "WhiteDark"
"fgcolor" "WhiteDark"
"mouseinputenabled" "0"
}
}