Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add grid support (kinda) #8

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
Binary file added _art/var/background_gradient.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
58 changes: 58 additions & 0 deletions _art/var/button_favorite.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
54 changes: 54 additions & 0 deletions _art/var/button_launch.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
59 changes: 59 additions & 0 deletions _art/var/button_return.svg
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 8 additions & 0 deletions _templates/square_box.xml
@@ -0,0 +1,8 @@
<theme>
<formatVersion>4</formatVersion>
<view name="grid">
<imagegrid name="gamegrid">
<autoLayout>5 1</autoLayout>
</imagegrid>
</view>
</theme>
10 changes: 10 additions & 0 deletions _templates/wide_box.xml
@@ -0,0 +1,10 @@
<theme>
<formatVersion>4</formatVersion>
<view name="grid">
<imagegrid name="gamegrid">
<pos>0.05 0.65</pos>
<autoLayout>4 1</autoLayout>
<autoLayoutSelectedZoom>1.1</autoLayoutSelectedZoom>
</imagegrid>
</view>
</theme>
1 change: 1 addition & 0 deletions gb/theme.xml
@@ -1,6 +1,7 @@
<theme>
<formatVersion>4</formatVersion>
<include>./../theme.xml</include>
<include>./../_templates/square_box.xml</include>

<view name="basic, detailed, video, grid">
<text name="nameLabel" extra="true">
Expand Down
1 change: 1 addition & 0 deletions gba/theme.xml
@@ -1,6 +1,7 @@
<theme>
<formatVersion>4</formatVersion>
<include>./../theme.xml</include>
<include>./../_templates/square_box.xml</include>

<view name="basic, detailed, video, grid">
<text name="nameLabel" extra="true">
Expand Down
1 change: 1 addition & 0 deletions gbc/theme.xml
@@ -1,6 +1,7 @@
<theme>
<formatVersion>4</formatVersion>
<include>./../theme.xml</include>
<include>./../_templates/square_box.xml</include>

<view name="basic, detailed, video, grid">
<text name="nameLabel" extra="true">
Expand Down
1 change: 1 addition & 0 deletions n64/theme.xml
@@ -1,6 +1,7 @@
<theme>
<formatVersion>4</formatVersion>
<include>./../theme.xml</include>
<include>./../_templates/wide_box.xml</include>

<view name="basic, detailed, video, grid">
<text name="nameLabel" extra="true">
Expand Down
1 change: 1 addition & 0 deletions nds/theme.xml
@@ -1,6 +1,7 @@
<theme>
<formatVersion>4</formatVersion>
<include>./../theme.xml</include>
<include>./../_templates/square_box.xml</include>

<view name="basic, detailed, video, grid">
<text name="nameLabel" extra="true">
Expand Down
1 change: 1 addition & 0 deletions psx/theme.xml
@@ -1,6 +1,7 @@
<theme>
<formatVersion>4</formatVersion>
<include>./../theme.xml</include>
<include>./../_templates/square_box.xml</include>

<view name="basic, detailed, video, grid">
<text name="nameLabel" extra="true">
Expand Down
1 change: 1 addition & 0 deletions snes/theme.xml
@@ -1,6 +1,7 @@
<theme>
<formatVersion>4</formatVersion>
<include>./../theme.xml</include>
<include>./../_templates/wide_box.xml</include>

<view name="basic, detailed, video, grid">
<text name="nameLabel" extra="true">
Expand Down