Skip to content

Commit

Permalink
Black background with dynamic sized lines with directory name
Browse files Browse the repository at this point in the history
  • Loading branch information
angelaschmid committed Dec 19, 2021
1 parent 811fbdb commit c5e52be
Show file tree
Hide file tree
Showing 2 changed files with 145 additions and 1 deletion.
144 changes: 144 additions & 0 deletions base.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1897,6 +1897,150 @@
</imagetype>
</progressbar>

<!-- Gallery -->
<!-- Black background with dynamic sized lines with directory name -->
<group name="gallerybuttonname">
<area>10,10,-4,-4</area>
<minsize vanish="true">1,1</minsize>

<shape name="shadow">
<area>5,5,-6,-6</area>
<minsize vanish="true">5,5</minsize>
<type>roundbox</type>
<cornerradius>5</cornerradius>
<fill color="#000000" alpha="160"/>
</shape>

<textarea name="buttontext" from="basetextarea">
<area>10,5,-12,-6</area>
<align>bottom,right</align>
<minsize shrink="short" vanish="true">5,5</minsize>
<font>basesmall</font>
<multiline>yes</multiline>
</textarea>
</group>

<!-- A gallery button showing a picture, video or folder -->
<group name="galleryactivebutton">
<area>0,0,100%,100%</area>
<!-- Show a background image depending on node type -->
<statetype name="buttontype">
<area>0,0,100%,100%</area>
<state name="subfolder">
<area>0,0,100%,100%</area>
<imagetype name="background">
<area>0,0,100%,100%</area>
<filename>shared/folder-reg.png</filename>
</imagetype>
</state>
<state name="device" from="subfolder"/>
<state name="image">
<area>0,0,100%,100%</area>
<imagetype name="background">
<area>0,0,100%,100%</area>
<filename>shared/grid_back_reg.png</filename>
<alpha>64</alpha>
</imagetype>
</state>
<state name="video">
<area>0,0,100%,100%</area>
<imagetype name="background">
<area>0,0,100%,100%</area>
<filename>shared/movie-reg.png</filename>
</imagetype>
</state>
</statetype>
<!-- Show how many images / directories are in this directory -->
<textarea name="childcount" from="basetextarea">
<area>5%,0,100%,15%</area>
<font>gallerytext</font>
<align>left,vcenter</align>
</textarea>
<!-- Shows a picture image -->
<imagetype name="buttonimage">
<area>2%,2%,98%,98%</area>
<preserveaspect>yes</preserveaspect>
</imagetype>
<!-- Shows a single folder image -->
<imagetype name="folderimage">
<area>4%,15%,97%,98%</area>
<preserveaspect>yes</preserveaspect>
</imagetype>
<!-- Shows a video image -->
<imagetype name="videoimage">
<area>4%,10%,97%,90%</area>
<preserveaspect>yes</preserveaspect>
</imagetype>
<!-- Shows 4 images for default folder -->
<imagetype name="thumbimage0">
<area>4%,15%,47%,47%</area>
<preserveaspect>true</preserveaspect>
</imagetype>
<imagetype name="thumbimage1" from="thumbimage0">
<area>51%,15%,92%,47%</area>
</imagetype>
<imagetype name="thumbimage2" from="thumbimage0">
<area>4%,57%,47%,93%</area>
</imagetype>
<imagetype name="thumbimage3" from="thumbimage0">
<area>51%,57%,92%,93%</area>
</imagetype>
<!-- Show up arrow on parent dir with ancestors -->
<statetype name="parenttype">
<area>0,0,100%,100%</area>
<state name="upfolder">
<area>0,0,100%,100%</area>
<imagetype name="icon">
<area>4%,14%,10%,20%</area>
<filename>uparrow.png</filename>
<preserveaspect>no</preserveaspect>
<alpha>208</alpha>
</imagetype>
</state>
</statetype>
<!-- Darken hidden files/ folders -->
<statetype name="buttonstate">
<area>0,0,100%,100%</area>
<state name="visible"/>
<state name="hidden">
<area>0,0,100%,100%</area>
<shape name="hidden_background_shape">
<area>0,0,100%,100%</area>
<type>box</type>
<fill color="#000000" alpha="128"/>
</shape>
</state>
</statetype>
<!-- Shows that the image was marked/selected and
might be manipulated with other images -->
<statetype name="buttoncheck">
<area>0,0,100%,100%</area>
<state type="full">
<area>42%,49%,26%,26%</area>
<shape name="marked_background">
<area>0,0,100%,100%</area>
<type>ellipse</type>
<fill color="#000000"/>
</shape>
<imagetype name="marked">
<area>0,0,100%,100%</area>
<filename>schedule_recording.png</filename>
</imagetype>
</state>
</statetype>
<!-- disable single line of directory name
<textarea name="buttontext__useinstead__buttonname_gallerybuttonname">
<area>2%,100%-22,99%,22</area>
<font>gallerytext</font>
<align>allcenter</align>
</textarea>
-->
<!-- enable multiple lines of directory name -->
<group name="buttonname" from="gallerybuttonname"/>

</group>
<!-- Gallery END -->

<!-- Background Window -->
<window name="backgroundwindow">
<area>0,0,1920,1080</area>
Expand Down
2 changes: 1 addition & 1 deletion themeinfo.xml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@

<version>
<major>28</major>
<minor>02</minor>
<minor>03</minor>
</version>

<detail>
Expand Down

0 comments on commit c5e52be

Please sign in to comment.