diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2016-12-24 23:16:47 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2016-12-24 23:16:47 +0000 |
commit | 30f4daf518bf907e560f9a60da6ae76fce86fb29 (patch) | |
tree | 046ec79762a2c1f0154448e4c9864c074dcb9605 /ui/gamesui.sh | |
parent | 6b3099135638121af264e3b37e0232a44585d3d7 (diff) |
add button icons, improve main UI, now it looks stunning
Diffstat (limited to 'ui/gamesui.sh')
-rwxr-xr-x | ui/gamesui.sh | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/ui/gamesui.sh b/ui/gamesui.sh new file mode 100755 index 0000000..1795ead --- /dev/null +++ b/ui/gamesui.sh @@ -0,0 +1,48 @@ +#!/usr/bin/env bash + +# create games user interface +export local gamesui=' +<window title="Sisyphus - A simple Epkg GUI" window-position="1" icon-name="gtk-search" modal="true" resizable="false" width-request="800" height-request="600"> +<vbox> +<frame Games> + <hbox space-expand="true" space-extend="true"> + <table hscrollbar-policy="1" vscrollbar-policy="1" exported-column="1"> + <variable>game</variable> + <label>Application Category|Application Name|Application Description</label> + <item>app-emulation|playonlinux|Set of scripts to easily install and use Windows games and software</item> + <item>app-emulation|steam|Digital distribution client bootstrap package</item> + <item>games-action|armagetronad|Fast-paced 3D lightcycle game based on Tron</item> + <item>games-action|chromium-bsu|Chromium B.S.U. - an arcade game</item> + <item>games-action|supertuxkart|A kart racing game starring Tux, the linux penguin (TuxKart fork)</item> + <item>games-action|teeworlds|Online multi-player platform 2D shooter</item> + <item>games-board|aisleriot|A collection of solitaire card games for GNOME</item> + <item>games-emulation|dosbox|DOS Emulator</item> + <item>games-emulation|zsnes|SNES (Super Nintendo) emulator that uses x86 assembly</item> + <item>games-fps|urbanterror|Hollywood tactical shooter based on the ioquake3 engine</item> + <item>games-fps|xonotic|Fork of Nexuiz, Deathmatch FPS based on DarkPlaces, an advanced Quake 1 engine</item> + <item>games-simulation|openttd|OpenTTD is a clone of Transport Tycoon Deluxe</item> + <item>games-strategy|0ad|Cross-platform, 3D and historically-based real-time strategy game</item> + </table> + </hbox> + <hbox space-expand="false" space-extend="false"> + <button space-expand="true" space-extend="true" label-text="install"> + <label>Install package</label> + <action>$showprogress epkg autoinstall $game</action> + </button> + <button space-expand="true" space-extend="true" label-text="uninstall"> + <label>Uninstall package</label> + <action>$showprogress epkg autoremove $game</action> + </button> + <button space-expand="true" space-extend="true" label-text="home"> + <label>Back home</label> + <action signal="button-press-event">gtkdialog --space-expand=true --space-fill=true --program=mainui &</action> + <action signal="button-release-event">EXIT:ok</action> + </button> + <button space-expand="true" space-extend="true" label-text="exit"> + <label>Exit</label> + <action>EXIT:ok</action> + </button> + </hbox> +</frame> +</vbox> +</window>' |