mirror of
https://github.com/ungstein/OG-Steam.git
synced 2025-01-27 11:12:59 -03:00
Remove unnecessary files
This commit is contained in:
parent
07ac04b5bb
commit
2e08e314d6
10 changed files with 0 additions and 785 deletions
Binary file not shown.
Binary file not shown.
|
@ -1,396 +0,0 @@
|
|||
"resource/layout/appdownloadpanel.layout"
|
||||
{
|
||||
controls
|
||||
{
|
||||
// this just sets the height
|
||||
appdownloadpanel { tall="110" style=panelStyle }
|
||||
|
||||
// image
|
||||
spacer { controlname="Panel" }
|
||||
gameimage { controlname="ImagePanel" zpos="1" style="gameImagePanel" } // set the initial size on on the gameimage; it's loaded async, so it may not know the image size immediately
|
||||
workshopbanner { controlname="ImagePanel" zpos="2" image="resource/workshop_minibanner" }
|
||||
|
||||
// left-mid column
|
||||
namelabel { controlname="Label" labelText="#steam_downloads_gamename" style="ModuleHeading" }
|
||||
dashlabel { controlname="Label" labelText="" }
|
||||
launchbutton { controlname="Button" style="DetailsLaunchButton" labelText="#Steam_LaunchGame" zpos="1" }
|
||||
downloadprogressbar { controlname="ProgressBar" style="SlimProgressBar" barinset=0 continuous=1 group="ShowWhileDownloading" style="SlimProgressBar" }
|
||||
settingslink { controlname="URLlabel" style="settingslink" }
|
||||
|
||||
// right-mid column
|
||||
downloadtotallabel { controlname="Label" labelText="#steam_downloads_gamesize_update" style="label2" }
|
||||
downloadtotalfield { controlname="Label" labelText="%download_totals%" style="label" style="label" }
|
||||
starttimelabel { controlname="Label" labelText="#steam_downloads_initiated" style=Label2 group="ShowWhileDownloading"}
|
||||
starttimefield { controlname="Label" labelText="%time_started%" style=Label group="ShowWhileDownloading"}
|
||||
timeremaininglabel { controlname="Label" labelText="#steam_downloads_timeremaining" style="label2" group="ShowWhileDownloading" }
|
||||
timeremainingfield { controlname="Label" labelText="%time_remaining%" style="label" group="ShowWhileDownloading" }
|
||||
timecompletedlabel { controlname="Label" labelText="#steam_downloads_timecompleted" style="label2" group="ShowWhenComplete" }
|
||||
timecompletedfield { controlname="Label" labelText="%time_completed%" style="label" group="ShowWhenComplete" }
|
||||
pausereasonlabel { controlname="Label" labelText="#steam_downloads_pausedreason" style="label2" group="ShowWhenPaused" }
|
||||
pausereasonfield { controlname="Label" labelText="" style="label3" group="ShowWhenPaused" }
|
||||
|
||||
|
||||
// right column
|
||||
updatetypelabel { controlname="Label" labelText="#steam_downloads_suspended" style=ModuleHeading2 tooltiptext="" }
|
||||
removefromqueuebutton { controlname="Button" style="SmRemoveButton" tooltiptext="#steam_downloads_remove" }
|
||||
topofqueuebutton { controlname="Button" style="topOfQueueButton" tooltiptext="#steam_downloads_topofqueue" group="HideOnCompletion" }
|
||||
newslink { controlname="URLlabel" style="links" labelText="#steam_downloads_updatenews" }
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
colors
|
||||
{
|
||||
dark_blue_grad = "12 27 38 255"
|
||||
light_blue_grad = "32 72 102 255"
|
||||
}
|
||||
|
||||
styles
|
||||
{
|
||||
panelStyle
|
||||
{
|
||||
bgcolor = "DarkGreenBG"
|
||||
render_bg
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
panelStyleHighlight
|
||||
{
|
||||
bgcolor = "DarkGreenBG"
|
||||
render_bg
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
links
|
||||
{
|
||||
font-size=14
|
||||
font-style=normal
|
||||
textcolor="OffWhite"
|
||||
font-family=basefont
|
||||
font-style="uppercase"
|
||||
padding-left=0
|
||||
padding-top=0
|
||||
padding-bottom=0
|
||||
}
|
||||
|
||||
links:hover
|
||||
{
|
||||
font-size=14
|
||||
font-style=normal
|
||||
textcolor="White"
|
||||
font-family=basefont
|
||||
font-style="uppercase"
|
||||
padding-left=0
|
||||
padding-top=0
|
||||
padding-bottom=0
|
||||
}
|
||||
|
||||
links:disabled
|
||||
{
|
||||
textcolor="TextDisabled"
|
||||
}
|
||||
|
||||
settingslink
|
||||
{
|
||||
font-size=14
|
||||
font-style=normal
|
||||
textcolor="White"
|
||||
font-family=basefont
|
||||
padding-left=0
|
||||
padding-top=0
|
||||
padding-bottom=0
|
||||
}
|
||||
|
||||
settingslink:hover
|
||||
{
|
||||
font-size=14
|
||||
font-style=normal
|
||||
textcolor="white"
|
||||
font-family=basefont
|
||||
padding-left=0
|
||||
padding-top=0
|
||||
padding-bottom=0
|
||||
}
|
||||
|
||||
settingslink:disabled
|
||||
{
|
||||
textcolor="TextDisabled"
|
||||
}
|
||||
|
||||
rightcolumnlink:hover
|
||||
{
|
||||
textcolor=White
|
||||
}
|
||||
|
||||
label2
|
||||
{
|
||||
bgcolor none
|
||||
font-size "14"
|
||||
textcolor "OffWhite"
|
||||
padding-top "0"
|
||||
font-style="uppercase"
|
||||
}
|
||||
|
||||
label3
|
||||
{
|
||||
bgcolor none
|
||||
font-size "14"
|
||||
textcolor "OffWhite"
|
||||
padding-top "0"
|
||||
font-style="uppercase"
|
||||
}
|
||||
|
||||
ModuleHeading
|
||||
{
|
||||
font-family basefont
|
||||
bgcolor = "none"
|
||||
font-size "18"
|
||||
textcolor "White"
|
||||
padding-top "0"
|
||||
font-weight "700"
|
||||
}
|
||||
|
||||
ModuleHeading2
|
||||
{
|
||||
font-family basefont
|
||||
bgcolor = "none"
|
||||
font-size "18"
|
||||
textcolor "OffWhite"
|
||||
padding-top "0"
|
||||
font-weight "400"
|
||||
}
|
||||
|
||||
panelBgColorActive
|
||||
{
|
||||
bgcolor = "DarkGreenBG"
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
gameImagePanel
|
||||
{
|
||||
inset="0 0 0 0"
|
||||
render_bg
|
||||
{
|
||||
}
|
||||
render
|
||||
{
|
||||
}
|
||||
}
|
||||
|
||||
gameImagePanelHighlight
|
||||
{
|
||||
inset="0 0 0 0"
|
||||
bgcolor=none
|
||||
render_bg
|
||||
{
|
||||
//0="image( x0 - 8, y0 - 3, x1 + 8, y1 + 0, graphics/downloads_bg )"
|
||||
}
|
||||
padding "4"
|
||||
}
|
||||
|
||||
DetailsLaunchButton
|
||||
{
|
||||
|
||||
inset="23 0 0 0"
|
||||
font-family=basefont
|
||||
font-size=16
|
||||
font-weight=400
|
||||
textcolor="white"
|
||||
font-style="uppercase"
|
||||
bgcolor=GreenBG
|
||||
|
||||
render
|
||||
{
|
||||
}
|
||||
render_bg
|
||||
{
|
||||
1="fill( x0, y0, x1, y0 + 1, BorderBright )" // top
|
||||
2="fill( x0, y1 - 1, x1, y1, BorderDark )" // bottom
|
||||
3="fill( x0, y0, x0 + 1, y1 - 1, BorderBright )" // left
|
||||
4="fill( x1 - 1, y0, x1, y1, BorderDark )" // right
|
||||
|
||||
5="image( x0 + 6, y0 + 4, x1, y1, graphics/icon_play )"
|
||||
}
|
||||
}
|
||||
|
||||
DetailsLaunchButton:Hover
|
||||
{
|
||||
inset="23 0 0 0"
|
||||
font-family=basefont
|
||||
font-size=16
|
||||
font-weight=400
|
||||
textcolor="white"
|
||||
font-style=uppercase
|
||||
bgcolor=GreenBG
|
||||
|
||||
render
|
||||
{
|
||||
}
|
||||
render_bg
|
||||
{
|
||||
1="fill( x0, y0, x1, y0 + 1, BorderBright )" // top
|
||||
2="fill( x0, y1 - 1, x1, y1, BorderDark )" // bottom
|
||||
3="fill( x0, y0, x0 + 1, y1 - 1, BorderBright )" // left
|
||||
4="fill( x1 - 1, y0, x1, y1, BorderDark )" // right
|
||||
|
||||
5="image( x0 + 6, y0 + 4, x1, y1, graphics/icon_play )"
|
||||
}
|
||||
}
|
||||
|
||||
DetailsLaunchButton:Active
|
||||
{
|
||||
inset="23 0 0 0"
|
||||
font-family=basefont
|
||||
font-size=16
|
||||
font-weight=400
|
||||
textcolor="white"
|
||||
font-style=uppercase
|
||||
bgcolor=GreenBG
|
||||
|
||||
render
|
||||
{
|
||||
}
|
||||
render_bg
|
||||
{
|
||||
1="fill( x0, y0, x1, y0 + 1, BorderDark )" // top
|
||||
2="fill( x0, y1 - 1, x1, y1, BorderBright )" // bottom
|
||||
3="fill( x0, y0, x0 + 1, y1 - 1, BorderDark )" // left
|
||||
4="fill( x1 - 1, y0, x1, y1, BorderBright )" // right
|
||||
|
||||
5="image( x0 + 6, y0 + 4, x1, y1, graphics/icon_play )"
|
||||
}
|
||||
}
|
||||
|
||||
DetailsLaunchButton:Disabled
|
||||
{
|
||||
inset="23 0 0 0"
|
||||
font-family=basefont
|
||||
font-size=16
|
||||
font-weight=400
|
||||
textcolor="LabelDisabled"
|
||||
font-style=uppercase
|
||||
bgcolor=none
|
||||
|
||||
render
|
||||
{
|
||||
0="image( x0 + 6, y0 + 5, x1, y1, graphics/icon_play )"
|
||||
}
|
||||
render_bg
|
||||
{
|
||||
// background fill
|
||||
0="fill( x0, y0-1, x1, y1, buttonfacedisabled )"
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
topOfQueueButton
|
||||
{
|
||||
|
||||
inset="30 0 0 0"
|
||||
font-family=basefont
|
||||
font-size=16
|
||||
font-weight=400
|
||||
textcolor="Text"
|
||||
font-style=uppercase
|
||||
bgcolor=none
|
||||
|
||||
render
|
||||
{
|
||||
0="image( x0 + 6, y0 + 4, x1, y1, graphics/icon_topofqueue )"
|
||||
}
|
||||
}
|
||||
|
||||
SmRemoveButton
|
||||
{
|
||||
|
||||
inset="0 0 0 0"
|
||||
font-family=basefont
|
||||
font-size=16
|
||||
font-weight=400
|
||||
textcolor="Text"
|
||||
font-style=uppercase
|
||||
bgcolor=none
|
||||
|
||||
render
|
||||
{
|
||||
0="image( x0 + 5, y0 + 4, x1, y1, graphics/icon_close )"
|
||||
}
|
||||
}
|
||||
|
||||
SmRemoveButton:Hover
|
||||
{
|
||||
inset="0 0 0 0"
|
||||
font-family=basefont
|
||||
font-size=16
|
||||
font-weight=400
|
||||
textcolor="TextHover"
|
||||
font-style=uppercase
|
||||
bgcolor=none
|
||||
render
|
||||
{
|
||||
0="image( x0 + 5, y0 + 4, x1, y1, graphics/icon_close_hover )"
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
SlimProgressBar
|
||||
{
|
||||
render_bg
|
||||
{
|
||||
0="fill( x0, y0, x1, y1, DarkGreenBG )"
|
||||
}
|
||||
render
|
||||
{
|
||||
1="fill( x0, y0, x1, y0 + 1, BorderDark )" // top
|
||||
2="fill( x0, y1 - 1, x1, y1, BorderBright )" // bottom
|
||||
3="fill( x0, y0, x0 + 1, y1, BorderDark )" // left
|
||||
4="fill( x1 - 1, y0, x1, y1, BorderBright )" // right
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
layout
|
||||
{
|
||||
region { name="bottom" y=75 height=60 width=400 }
|
||||
|
||||
region { name="column1" x=0 width=200 }
|
||||
region { name="column2" x=210 width=max }
|
||||
region { name="column3" x=500 width=max }
|
||||
region { name="column4" x=700 width=max overflow=allow-horizontal }
|
||||
|
||||
// left column
|
||||
place { control="spacer" }
|
||||
place { control="gameimage" start=spacer dir=down margin-left=8 width=192 height=85 }
|
||||
place { control="workshopbanner" margin-left=8 margin-top=82 width=192 height=26 }
|
||||
|
||||
// left-mid column
|
||||
place { control="namelabel" region="column2" margin-top=16 margin-left=0 }
|
||||
place { control="launchbutton" region=column2 start=namelabel dir=down margin-top=10 }
|
||||
place { control="downloadprogressbar" region=column2 start=launchbutton margin-top=5 dir=down spacing=10 height=3 width=150 }
|
||||
place { control="settingslink" region=column2 start=downloadprogressbar dir=down margin-top=5 margin-left=0 }
|
||||
|
||||
// right-mid column
|
||||
place { control="downloadtotallabel,downloadtotalfield" region="column3" x=0 align=top margin-top=43 spacing=6 }
|
||||
place { control="starttimelabel,starttimefield" region="column3" x=0 align=top margin-top=63 spacing=6 }
|
||||
place { control="timecompletedlabel,timecompletedfield" region="column3" x=0 align=top margin-top=63 spacing=6 }
|
||||
place { control="pausereasonlabel,pausereasonfield" region="column3" x=0 align=top margin-top=63 spacing=6 }
|
||||
place { control="timeremaininglabel,timeremainingfield" region="column3" x=0 align=top margin-top=83 spacing=6 }
|
||||
|
||||
// right column
|
||||
place { control="updatetypelabel" region="column4" spacing=10 margin-top=22 align=right margin-right=16 }
|
||||
place { control="topofqueuebutton,removefromqueuebutton" region="column4" height=22 width=26 dir=right spacing=10 margin-top=50 align=right margin-right=16 }
|
||||
place { control="newslink" region="column4" spacing=10 margin-top=80 align=right margin-right=16 }
|
||||
|
||||
// put the buttons along the bottom
|
||||
|
||||
}
|
||||
}
|
|
@ -1,43 +0,0 @@
|
|||
"resource/layout/downloadspage.layout"
|
||||
{
|
||||
controls
|
||||
{
|
||||
// the container
|
||||
"DownloadsPage"
|
||||
{
|
||||
"ControlName" "CDownloadsPage"
|
||||
}
|
||||
|
||||
"downloadsummarypanel"
|
||||
{
|
||||
"ControlName" "DownloadSummaryPanel"
|
||||
}
|
||||
|
||||
"panel_list"
|
||||
{
|
||||
style=ListPanel
|
||||
}
|
||||
}
|
||||
|
||||
styles
|
||||
{
|
||||
DownloadsPageStyle
|
||||
{
|
||||
bgcolor=DarkGreenBG
|
||||
render
|
||||
{
|
||||
1="fill( x0, y0, x1, y0 + 1, BorderDark )" // top
|
||||
2="fill( x0, y1 - 1, x1, y1, BorderBright )" // bottom
|
||||
3="fill( x0, y0, x0 + 1, y1, BorderDark )" // left
|
||||
4="fill( x1 - 1, y0, x1, y1, BorderBright )" // right
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
layout
|
||||
{
|
||||
// place { control="panel_list" width=max height=max margin=1 }
|
||||
region { name=main x=0 y=0 margin-right=-2 }
|
||||
place { control="downloadsummarypanel,panel_list" dir=down region=main width=max height=max spacing=0 margin=0}
|
||||
}
|
||||
}
|
|
@ -1,346 +0,0 @@
|
|||
"resource/layout/downloadsummarypanel.layout"
|
||||
{
|
||||
controls
|
||||
{
|
||||
"downloadsummarypanel"
|
||||
{
|
||||
style=CDownloadSummaryPanel
|
||||
tall="130"
|
||||
}
|
||||
|
||||
"header"
|
||||
{
|
||||
"ControlName" "Label"
|
||||
"labelText" "#steam_downloads_networkusage"
|
||||
style=bigtext
|
||||
}
|
||||
|
||||
"download_rate"
|
||||
{
|
||||
"ControlName" "Label"
|
||||
"labelText" "#steam_downloads_downloadrate"
|
||||
style=bigtextlabel
|
||||
}
|
||||
|
||||
"download_rate_value"
|
||||
{
|
||||
"ControlName" "Label"
|
||||
"labelText" "%CurrentDLRate%"
|
||||
style=bigtextNonUpper
|
||||
}
|
||||
|
||||
"peak_download_rate"
|
||||
{
|
||||
"ControlName" "Label"
|
||||
"labelText" "#steam_downloads_peakdownloadrate"
|
||||
style="bigtextlabel"
|
||||
}
|
||||
|
||||
"peak_download_rate_value"
|
||||
{
|
||||
"ControlName" "Label"
|
||||
"labelText" "%PeakDLRate%"
|
||||
style="bigtextNonUpper"
|
||||
}
|
||||
|
||||
"total_downloaded"
|
||||
{
|
||||
"ControlName" "Label"
|
||||
"labelText" "#steam_downloads_totaldownloaded"
|
||||
style="bigtextlabel"
|
||||
}
|
||||
"total_downloaded_value"
|
||||
{
|
||||
"ControlName" "Label"
|
||||
"labelText" "%TotalDownloaded%"
|
||||
style="bigtextNonUpper"
|
||||
}
|
||||
|
||||
"disk_status_value"
|
||||
{
|
||||
"ControlName" "Label"
|
||||
"labelText" "%DiskUsage%"
|
||||
style="bigtextNonUpper"
|
||||
}
|
||||
|
||||
"disk_status_label"
|
||||
{
|
||||
"ControlName" "Label"
|
||||
"labelText" "#steam_downloads_diskusage"
|
||||
style="bigtextlabel"
|
||||
}
|
||||
|
||||
"pauseresumeallbutton"
|
||||
{
|
||||
"ControlName" "Button"
|
||||
style=PauseButton
|
||||
}
|
||||
|
||||
"throttling_label"
|
||||
{
|
||||
"ControlName" "Label"
|
||||
"labelText" "#steam_downloads_throttling"
|
||||
style="throttleLabel"
|
||||
group = "ShowWhenThrottled"
|
||||
}
|
||||
|
||||
"throttling_value"
|
||||
{
|
||||
"ControlName" "URLLabel"
|
||||
"URLText" "steam://settings/downloads"
|
||||
"labelText" "%throttle_value%"
|
||||
style="throttleValue"
|
||||
group = "ShowWhenThrottled"
|
||||
}
|
||||
|
||||
"blackout_label"
|
||||
{
|
||||
"ControlName" "Label"
|
||||
"labelText" "#steam_downloads_autoupdate_window_label"
|
||||
style="throttleLabel"
|
||||
group = "ShowWhenAutoUpdateWindow"
|
||||
}
|
||||
|
||||
"blackout_value"
|
||||
{
|
||||
"ControlName" "URLLabel"
|
||||
"URLText" "steam://settings/downloads"
|
||||
"labelText" "#steam_downloads_autoupdate_window_value"
|
||||
style="throttleValue"
|
||||
group = "ShowWhenAutoUpdateWindow"
|
||||
}
|
||||
|
||||
net_graphpanel { controlname="GraphPanel" style="NetGraphPanel" group="HideOnCompletion" zpos="-2" }
|
||||
disc_graphpanel { controlname="GraphPanel" style="DiscGraphPanel" group="HideOnCompletion" zpos="-1" }
|
||||
|
||||
"disk_legend_label" { ControlName="Label" labelText="#steam_downloads_legenddisk" style="throttleLabel" }
|
||||
"net_legend_label" { ControlName="Label" labelText="#steam_downloads_legendnet" style="throttleLabel" }
|
||||
"disk_legend_panel" { ControlName="Panel" style="diskLegendPanel" }
|
||||
"net_legend_panel" { ControlName="Panel" style="netLegendPanel" }
|
||||
}
|
||||
|
||||
|
||||
colors
|
||||
{
|
||||
panelBackground = "DarkGreenBG"
|
||||
panelBackgroundTransparent = "12 27 38 0"
|
||||
}
|
||||
|
||||
styles
|
||||
{
|
||||
CDownloadSummaryPanel
|
||||
{
|
||||
bgcolor=panelBackground
|
||||
inset="0 0 0 0"
|
||||
}
|
||||
|
||||
throttleLabel
|
||||
{
|
||||
bgcolor none
|
||||
font-size "15"
|
||||
textcolor "OffWhite"
|
||||
padding-top "0"
|
||||
font-style="uppercase"
|
||||
}
|
||||
throttleValue
|
||||
{
|
||||
bgcolor none
|
||||
font-size "15"
|
||||
textcolor "White"
|
||||
padding-top "0"
|
||||
}
|
||||
|
||||
container
|
||||
{
|
||||
bgcolor="none"
|
||||
}
|
||||
|
||||
bigtext
|
||||
{
|
||||
font-family=basefont
|
||||
font-size=17
|
||||
font-style="uppercase"
|
||||
textcolor="White"
|
||||
}
|
||||
|
||||
bigtextNonUpper
|
||||
{
|
||||
font-family=basefont
|
||||
font-size=17
|
||||
textcolor="White"
|
||||
}
|
||||
|
||||
bigtextlabel
|
||||
{
|
||||
font-family=basefont
|
||||
font-size=17
|
||||
font-style="uppercase"
|
||||
textcolor="Maize"
|
||||
}
|
||||
|
||||
bigtextHeader
|
||||
{
|
||||
font-family=basefont
|
||||
font-size=17
|
||||
font-style="uppercase"
|
||||
textcolor="OffWhite"
|
||||
}
|
||||
|
||||
|
||||
bigTextNumbers
|
||||
{
|
||||
font-family=basefont
|
||||
font-size="17"
|
||||
textcolor="White"
|
||||
font-style="uppercase"
|
||||
}
|
||||
|
||||
PauseButton
|
||||
{
|
||||
|
||||
font-family = basefont
|
||||
font-size="16"
|
||||
inset = "4 0 0 0"
|
||||
textcolor=White
|
||||
bgcolor=GreenBG
|
||||
render_bg
|
||||
{
|
||||
1="fill( x0, y0, x1, y0 + 1, BorderBright )" // top
|
||||
2="fill( x0, y1 - 1, x1, y1, BorderDark )" // bottom
|
||||
3="fill( x0, y0, x0 + 1, y1 - 1, BorderBright )" // left
|
||||
4="fill( x1 - 1, y0, x1, y1, BorderDark )" // right
|
||||
}
|
||||
}
|
||||
|
||||
PauseButton:Hover
|
||||
{
|
||||
font-family = basefont
|
||||
font-size="16"
|
||||
inset = "4 0 0 0"
|
||||
textcolor=White
|
||||
bgcolor=GreenBG
|
||||
render_bg
|
||||
{
|
||||
1="fill( x0, y0, x1, y0 + 1, BorderBright )" // top
|
||||
2="fill( x0, y1 - 1, x1, y1, BorderDark )" // bottom
|
||||
3="fill( x0, y0, x0 + 1, y1 - 1, BorderBright )" // left
|
||||
4="fill( x1 - 1, y0, x1, y1, BorderDark )" // right
|
||||
}
|
||||
}
|
||||
|
||||
ResumeButton
|
||||
{
|
||||
|
||||
font-family = basefont
|
||||
font-size="16"
|
||||
inset = "4 0 0 0"
|
||||
textcolor=White
|
||||
bgcolor=GreenBG
|
||||
render_bg
|
||||
{
|
||||
1="fill( x0, y0, x1, y0 + 1, BorderBright )" // top
|
||||
2="fill( x0, y1 - 1, x1, y1, BorderDark )" // bottom
|
||||
3="fill( x0, y0, x0 + 1, y1 - 1, BorderBright )" // left
|
||||
4="fill( x1 - 1, y0, x1, y1, BorderDark )" // right
|
||||
}
|
||||
}
|
||||
|
||||
ResumeButton:Hover
|
||||
{
|
||||
font-family = basefont
|
||||
font-size="16"
|
||||
inset = "4 0 0 0"
|
||||
textcolor=White
|
||||
bgcolor=GreenBG
|
||||
render_bg
|
||||
{
|
||||
1="fill( x0, y0, x1, y0 + 1, BorderBright )" // top
|
||||
2="fill( x0, y1 - 1, x1, y1, BorderDark )" // bottom
|
||||
3="fill( x0, y0, x0 + 1, y1 - 1, BorderBright )" // left
|
||||
4="fill( x1 - 1, y0, x1, y1, BorderDark )" // right
|
||||
}
|
||||
}
|
||||
|
||||
NetGraphPanel
|
||||
{
|
||||
bgcolor "none"
|
||||
textcolor "Maize"
|
||||
render_bg
|
||||
{
|
||||
// no background
|
||||
// 0="fill( x0, y0, x1, y1, red )"
|
||||
}
|
||||
}
|
||||
|
||||
DiscGraphPanel
|
||||
{
|
||||
bgcolor "none"
|
||||
textcolor="White"
|
||||
render_bg
|
||||
{
|
||||
// no background
|
||||
// 0="fill( x0, y0, x1, y1, red )"
|
||||
}
|
||||
}
|
||||
|
||||
DiskLegendPanel
|
||||
{
|
||||
render_bg
|
||||
{
|
||||
// background fill
|
||||
0="fill( x0, y0, x1,y1, White )"
|
||||
}
|
||||
}
|
||||
|
||||
NetLegendPanel
|
||||
{
|
||||
render_bg
|
||||
{
|
||||
// background fill
|
||||
0="fill( x0, y0, x1,y1, Maize )"
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
layout
|
||||
{
|
||||
|
||||
//set aside some room for the header section
|
||||
region { name=head dir=down x=10 y=10 height=max width=max margin-right=0 }
|
||||
|
||||
region { name=legend align=right width=90 margin-top=60 }
|
||||
|
||||
region { name=left_column x=0 y=21 width=max region=head }
|
||||
region { name=middle_column x=200 y=0 width=max region=head }
|
||||
|
||||
// graph
|
||||
place { control="net_graphpanel" region=head x=182 y=0 width="max" height="104" margin-right=112 }
|
||||
place { control="disc_graphpanel" region=head x=182 y=0 width="max" height="104" margin-right=112 }
|
||||
|
||||
// graph legend
|
||||
place { control="net_legend_panel" region=legend y=3 x=0 width=9 height=9 }
|
||||
place { control="net_legend_label" region=legend y=1 x=12 }
|
||||
|
||||
place { control="disk_legend_panel" region=legend y=16 x=0 width=9 height=9 }
|
||||
place { control="disk_legend_label" region=legend y=14 x=12 }
|
||||
|
||||
// put NETWORK USAGE in the top left
|
||||
place { control="header" region=head dir=down x=0 y=0 }
|
||||
|
||||
// top right
|
||||
place { control="pauseresumeallbutton" region=head align=right margin-right=10 margin-top=0 }
|
||||
|
||||
// three rows of network usage underneath the header
|
||||
place { region=left_column control="download_rate_value,download_rate" spacing=4 }
|
||||
place { region=left_column control="peak_download_rate_value, peak_download_rate" spacing=4 y=22 align=top }
|
||||
place { region=left_column control="total_downloaded_value, total_downloaded" spacing=4 y=44 align=top }
|
||||
place { region=left_column control="disk_status_value, disk_status_label" spacing=4 y=66 align=top }
|
||||
|
||||
// throttling info
|
||||
place { region=middle_column controls="blackout_label, blackout_value" spacing=4 }
|
||||
place { region=middle_column control="throttling_label" start=blackout_label dir=down margin-top=4 }
|
||||
place { region=middle_column control="throttling_value" start=throttling_label dir=right margin-left=4 }
|
||||
|
||||
|
||||
}
|
||||
}
|
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading…
Add table
Reference in a new issue