8000 Fixed for linux and overlay issues by Black4Blade · Pull Request #114 · somini/Pixelvision2 · GitHub
[go: up one dir, main page]

Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 44 additions & 0 deletions resource/layout/gamespage_details_compat_subheader.layout
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
"resource/layout/gamespage_details_compat_subheader.layout"
{
controls
{
compatdescription {
controlname="RichText"
style="RichTextSimple"
labeltext="#Steam_Settings_Compat_Launch"
zpos="2"
}
}

styles
{
CDetailsCompatSubHeaderPanel
{
bgcolor=backgroundstartsubtle
}
RichTextSimple
{
render
{
}
render_bg
{
}
}
}

layout
{
region { name="header" y=0 x=0 width=max height=120 }

place {
control=compatdescription
region=header
margin-top=0
margin-left=0
margin-right=0
width=380
dir=down
}
}
}
4 changes: 3 additions & 1 deletion resource/layout/overlaydesktop.layout
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@
WebSiteButton { controlname="URLLabel" labeltext="#Overlay_Taskbar_WebSite" style=sidemenu }
RecommendButton { controlname="URLLabel" labeltext="#Overlay_Taskbar_Recommend" style=sidemenu }
WorkshopButton { controlname="URLLabel" labeltext="#Overlay_Taskbar_Workshop" style=sidemenu }
EditControllerConfig { controlname="URLLabel" labeltext="#Overlay_Taskbar_EditControllerConfig" style=sidemenu }
ForceQuitButton { controlname="URLLabel" labeltext="#Overlay_Taskbar_ForceQuit" style=sidemenu }

FriendsDetailPanel { controlname="COverlay_Details_Friends" style="detailsbox" }
AchievementsDetailPanel { controlname="COverlay_Details_Achievements" style="detailsbox" }
Expand Down Expand Up @@ -87,7 +89,7 @@

place { controls="BroadcastDetailPanel" region=broadcastpanel width=330 height=87 spacing=10 }

place { controls="GameGroupsButton,ChatRoomButton,DLCButton,GuideButton,LegacyCDKeyButton,WebSiteButton,RecommendButton,WorkshopButton" y=74 align=left region=overlay dir=down spacing=7 margin-left=20 width=200 }
place { controls="GameGroupsButton,ChatRoomButton,DLCButton,GuideButton,LegacyCDKeyButton,WebSiteButton,RecommendButton,WorkshopButton,EditControllerConfig,ForceQuitButton" y=74 align=left region=overlay dir=down spacing=7 margin-left=20 width=200 }
place { controls="FriendsDetailPanel,NewsDetailPanel,AchievementsDetailPanel,GuidesDetailPanel" region=detailpanels width=330 height=187 spacing=10 }
place { controls="CommunityHubDetailPanel,CommunityDiscussionsDetailPanel,ScreenshotsDetailPanel" region=detailpanels2 align=top-center width=245 height=74 spacing=10 }

Expand Down
12 changes: 11 additions & 1 deletion resource/layout/steamrootdialog.layout
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"ControlName" "Button"
style="FullscreenButton"
command="fullscreen"
tooltiptext="#tooltip_view_fullscreen"
}

"New"
Expand Down Expand Up @@ -110,6 +111,15 @@
style="view_friends"
textAlignment=east
}

EOLAlert
{
ControlName=Button
labelText="#Steam_EOLAlert"
style="support_alert"
textAlignment=center
command="OpenEOLAlertWindow"
}
}

styles
Expand Down Expand Up @@ -635,7 +645,7 @@
place { control="InboxButton" align=right end-right="view_friends" margin-top=39 margin-right=8 height=24 }
place { control="AnnouncementButton" align=right end-right="InboxButton" margin-top=38 margin-right=0 height=24 width=34 }
place { control="ParentalLockButton" align=right end-right="AnnouncementButton" margin-top=38 margin-right=8 height=24 width=44 }
place { control="universe_label, XPVistaAlert, SupportAlert" spacing=8 align=right end-right="ParentalLockButton" margin-top=9 margin-right=8 height=24 }
place { control="universe_label, XPVistaAlert, EOLAlert, SupportAlert" spacing=8 align=right end-right="ParentalLockButton" margin-top=9 margin-right=8 height=24 }

place { control="UINavigatorPanel" width=max height=max margin-right=-3 margin-left=-3 margin-bottom=5 margin-top=20 }
place { control="UIStatusPanel" width=max height=36 align=bottom }
Expand Down
18 changes: 16 additions & 2 deletions resource/layout/steamrootdialog_gamespage_details.layout
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@
// Header text labels
gametitleheader { controlname="CDetailsGameTitleHeaderPanel" zpos="2" }
gamesubheader { controlname="CDetailsGameSubHeaderPanel" zpos="2" }
compatsubheader { controlname="CDetailsCompatSubHeaderPanel" visible=1 zpos="2" }

linkslabel { controlname="Label" labeltext="#Steam_Links" style="rightcolumnheadertext" }
sendguestpasslink { controlname="URLLabel" labeltext="#steam_send_guestpass" style="rightcolumnlink" tabposition=7 command="SendGuestPass" }
Expand All @@ -40,6 +41,7 @@

// Body contents
welcomedetails { controlname="CGamesPage_Details_Welcome" zpos="1" }
rentaldetails { controlname="CGamesPage_Details_Rental" zpos="1" }
dlcdetails { controlname="CGamesPage_Details_DLC" zpos="1" }
friendsdetails { controlname="CGamesPage_Details_Friends" zpos="1" }
clouddetails { controlname="CGamesPage_Details_Cloud" zpos="1" }
Expand All @@ -48,7 +50,7 @@
newsdetails { controlname="CGamesPage_Details_News" zpos="1" }
nonsteamdetails { controlname="CGamesPage_Details_NonSteam" zpos="1" }
screenshotsdetails { controlname="CGamesPage_Details_Screenshots" zpos="1" }

turnnotifications { controlname="CGamesPage_Details_TurnNotifications" zpos="1" visible="0" }
// Empty list contents
emptylisttext { controlname="RichText" style="emptylisttext" }
}
Expand Down Expand Up @@ -290,7 +292,18 @@
place { control=GamesList region=list width=275 height=max margin=0 }

// Body contents
place { control=welcomedetails,friendsdetails,clouddetails,communityfilesdetails,achievementsdetails,dlcdetails,newsdetails,nonsteamdetails,screenshotsdetails region=detailsbody dir=down width=max margin-right=0 margin-top=25 margin-left=5 spacing=10 margin-bottom=10 }
place
{
control=welcomedetails,rentaldetails,turnnotifications,friendsdetails,clouddetails,communityfilesdetails,achievementsdetails,dlcdetails,clouddetails,newsdetails,nonsteamdetails,screenshotsdetails
region=detailsbody
dir=down
width=max
margin-right=0
margin-top=25
margin-left=5
spacing=10
margin-bottom=10
}

// Details border
place { control=DetailsBorder y=1 x=1 width=max height=max }
Expand All @@ -304,6 +317,7 @@
// Header text
place { control=gametitleheader region=headertext dir=down height=46 }
place { control=gamesubheader start=gametitleheader region=headertext dir=down y=-1 }
place { control=compatsubheader start=gamesubheader region=headertext dir=right margin-left=10 }

// Buttons and links on the right
place
Expand Down
2 changes: 2 additions & 0 deletions resource/menus/steam.menu
Original file line number Diff line number Diff line change
Expand Up @@ -130,5 +130,7 @@
Divider {}
SystemInfo { text="#steam_menu_systeminfo" command="SystemInfo" }
About { text="#steam_about" command="About" }
Divider {}
SkinHelp { text="Help with PixelVision2 Skin" command="steam://url/steamcommunity.com/groups/pixelvision2/discussions/0/1697176044369556496/"}
}
}
Loading
0