Skip to content
This repository has been archived by the owner on Nov 7, 2024. It is now read-only.

Commit

Permalink
⚡ Split filemanager into separate dialogs for each pane for more cons…
Browse files Browse the repository at this point in the history
…istent appearance
  • Loading branch information
jurialmunkey committed Jul 17, 2024
1 parent 8c33ccc commit 5e2029c
Showing 1 changed file with 150 additions and 106 deletions.
256 changes: 150 additions & 106 deletions 1080i/FileManager.xml
Original file line number Diff line number Diff line change
Expand Up @@ -13,135 +13,179 @@
<param name="windowclose_condition">!$EXP[Exp_SettingsDialogs_Next]</param>
</include>

<include content="Settings_Dialog">
<include content="Settings_Main_Group">
<include>Settings_Landing</include>

<control type="group">
<include>Animation_Settings_WindowChange</include>
<control type="group">
<include>Dimension_DialogMainMenu</include>
<include content="Dialog_Dim_Side">
<param name="slide_condition">True</param>
</include>
</control>

<control type="group">
<left>120</left>
<control type="group">
<bottom>160</bottom>
<top>160</top>
<left>80</left>
<right>80</right>
<right>50%</right>
<control type="group">
<width>50%</width>
<left>0</left>
<include content="Dialog_Outline_InnerBox">
<right>10</right>
</include>
<include content="Dialog_Outline_InnerBox">
<right>50</right>
<include content="List_AddonCategories">
<param name="id">20</param>
<param name="detailed">true</param>
<param name="width" />
<onleft>30000</onleft>
<pagecontrol>60</pagecontrol>
<onright>60</onright>
<left>20</left>
<right>20</right>
<top>20</top>
<bottom>20</bottom>
<right>-10</right>
<control type="group">
<right>-120</right>
<!-- Bottom Layer -->
<include content="Dialog_Background_Side">
<param name="slide_condition">True</param>
<param name="dialog_size">Dimension_DialogWideMenu</param>
<!-- Side Buttons -->
<control type="group">
<include>Dimension_Dialog_Body</include>
<control type="grouplist" id="30000">
<include>Dialog_Side_Grouplist_Def</include>
<onright condition="!Window.IsVisible(EventLog.xml) + !Window.IsVisible(addonbrowser) + !Window.IsVisible(filemanager) + !Window.IsVisible(1115)">3</onright>
<onright condition="Window.IsVisible(EventLog.xml)">8000</onright>
<onright condition="Window.IsVisible(addonbrowser)">6000</onright>
<onright condition="Window.IsVisible(filemanager)">20</onright>
<onright condition="Window.IsVisible(1115)">340</onright>
<onleft>SetFocus(30040)</onleft>
<include>Settings_Standard_Buttons</include>
</control>
</control>
</include>
</control>
<control type="group">
<include content="Dialog_Foreground_Side">
<param name="dialog_size">Dimension_DialogWideMenu</param>
<param name="slide_condition">True</param>
<param name="lines_right">0</param>
<param name="topline">true</param>
<param name="subline">false</param>
<!-- Header -->
<include content="Dialog_Head">
<param name="id">9901</param>
<param name="label">$VAR[Label_Header_Mini]</param>
</include>
</include>
<control type="group">
<width>scrollbar_w</width>
<centerright>-20</centerright>
<bottom>20</bottom>
<top>20</top>
<control type="image">
<texture colordiffuse="dialog_fg_12" border="4">scrollbar/scrollv_line.png</texture>
<include>Dimension_Dialog_Body</include>
<control type="group">
<include>Dimension_Dialog_Body_Group</include>
<include content="List_AddonCategories">
<param name="id">20</param>
<param name="detailed">true</param>
<param name="width" />
<onleft>30000</onleft>
<pagecontrol>60</pagecontrol>
<onright>60</onright>
</include>
</control>
<control type="group">
<height>40</height>
<centerbottom>-5</centerbottom>
<left>40</left>
<right>40</right>
<control type="grouplist">
<right>120</right>
<orientation>horizontal</orientation>
<control type="label" id="101">
<textcolor>dialog_fg_70</textcolor>
<align>left</align>
<width>auto</width>
<font>font_tiny</font>
<haspath>true</haspath>
</control>
<control type="image">
<texture colordiffuse="dialog_fg_12">common/white.png</texture>
<height>1</height>
<centertop>58%</centertop>
<width>3000</width>
<left>20</left>
</control>
</control>
<control type="label" id="12">
<textcolor>dialog_fg_70</textcolor>
<align>right</align>
<font>font_tiny</font>
</control>
</control>
<control type="scrollbar" id="60">
<orientation>vertical</orientation>
<texturesliderbackground />
<texturesliderbar colordiffuse="main_logo" border="4">scrollbar/scrollv.png</texturesliderbar>
<include>Texture_Scrollbar_V</include>
<include content="Dialog_Scrollbar">
<param name="id">60</param>
<onleft>20</onleft>
<onright>21</onright>
</control>
</include>
</control>
<include content="Settings_InfoText">
<param name="id">9930</param>
<param name="heading">$INFO[Control.GetLabel(12)]</param>
<param name="override">true</param>
<param name="label">$INFO[Control.GetLabel(101)]</param>
<param name="dialog">true</param>
<param name="left">20</param>
<param name="height">80</param>
<param name="bottom">-100</param>
</include>
</include>
</control>
</control>

</control>
<control type="group">
<left>50%</left>
<control type="group">
<width>50%</width>
<right>0</right>
<include content="Dialog_Outline_InnerBox">
<left>10</left>
<left>-10</left>
<include content="Dialog_Foreground_Side">
<param name="dialog_size">Dimension_DialogWideMenu</param>
<param name="slide_condition">True</param>
<param name="lines_right">0</param>
<param name="topline">true</param>
<param name="subline">false</param>
<include>Dialog_Head_CloseButton</include>
</include>
<include content="Dialog_Outline_InnerBox">
<left>10</left>
<right>40</right>
<include content="List_AddonCategories">
<param name="id">21</param>
<param name="detailed">true</param>
<param name="width" />
<onleft>60</onleft>
<pagecontrol>61</pagecontrol>
<onright>61</onright>
<left>20</left>
<right>20</right>
<top>20</top>
<bottom>20</bottom>
<control type="group">
<include>Dimension_Dialog_Body</include>
<control type="group">
<include>Dimension_Dialog_Body_Group</include>
<include content="List_AddonCategories">
<param name="id">21</param>
<param name="detailed">true</param>
<param name="width" />
<onleft>60</onleft>
<pagecontrol>61</pagecontrol>
<onright>61</onright>
</include>
</control>
<include content="Dialog_Scrollbar">
<param name="id">61</param>
<onleft>21</onleft>
<onright>-</onright>
</include>
<control type="group">
<width>scrollbar_w</width>
<centerright>-20</centerright>
<bottom>20</bottom>
<top>20</top>
<control type="image">
<texture colordiffuse="dialog_fg_12" border="4">scrollbar/scrollv_line.png</texture>
<height>40</height>
<centerbottom>-5</centerbottom>
<left>40</left>
<right>40</right>
<control type="grouplist">
<right>120</right>
<orientation>horizontal</orientation>
<control type="label" id="102">
<textcolor>dialog_fg_70</textcolor>
<align>left</align>
<width>auto</width>
<font>font_tiny</font>
<haspath>true</haspath>
</control>
<control type="image">
<texture colordiffuse="dialog_fg_12">common/white.png</texture>
<height>1</height>
<centertop>58%</centertop>
<width>3000</width>
<left>20</left>
</control>
</control>
<control type="scrollbar" id="61">
<orientation>vertical</orientation>
<texturesliderbackground />
<texturesliderbar colordiffuse="main_logo" border="4">scrollbar/scrollv.png</texturesliderbar>
<include>Texture_Scrollbar_V</include>
<onleft>21</onleft>
<onright>-</onright>
<control type="label" id="13">
<textcolor>dialog_fg_70</textcolor>
<align>right</align>
<font>font_tiny</font>
</control>
</control>
<include content="Settings_InfoText">
<param name="id">9931</param>
<param name="heading">$INFO[Control.GetLabel(13)]</param>
<param name="override">true</param>
<param name="label">$INFO[Control.GetLabel(102)]</param>
<param name="dialog">true</param>
<param name="left">20</param>
<param name="height">80</param>
<param name="bottom">-100</param>
</include>
</include>
</control>
</control>
</control>
</include>
</include>
</control>
</control>

<include content="Settings_Changer">
<onup>3</onup>
</include>


<include content="Object_Hidden_Button">
<param name="id">12</param>
</include>
<include content="Object_Hidden_Button">
<param name="id">101</param>
</include>

<include content="Object_Hidden_Button">
<param name="id">13</param>
</include>
<include content="Object_Hidden_Button">
<param name="id">102</param>
<include content="Settings_Changer">
<onup>3</onup>
</include>

</controls>
Expand Down

0 comments on commit 5e2029c

Please sign in to comment.