From 115fc1027528260161b2e9a35c8eaaf25ab66f4f Mon Sep 17 00:00:00 2001 From: nbd Date: Sun, 14 Jun 2009 21:17:50 +0000 Subject: include a skin for the goldfish emulator git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16460 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- package/goldfish-qemu/skins/HVGA/layout | 380 ++++++++++++++++++++++++++++++++ 1 file changed, 380 insertions(+) create mode 100644 package/goldfish-qemu/skins/HVGA/layout (limited to 'package/goldfish-qemu/skins/HVGA/layout') diff --git a/package/goldfish-qemu/skins/HVGA/layout b/package/goldfish-qemu/skins/HVGA/layout new file mode 100644 index 000000000..4c3d76420 --- /dev/null +++ b/package/goldfish-qemu/skins/HVGA/layout @@ -0,0 +1,380 @@ +parts { + device { + background { + image device.png + } + display { + width 320 + height 480 + x 31 + y 72 + } + + buttons { + soft-left { + image menu.png + x 147 + y 555 + } + home { + image home.png + x 48 + y 590 + } + back { + image back.png + x 286 + y 590 + } + dpad-up { + image arrow_up.png + x 140 + y 595 + } + dpad-down { + image arrow_down.png + x 140 + y 656 + } + dpad-left { + image arrow_left.png + x 111 + y 598 + } + dpad-right { + image arrow_right.png + x 222 + y 598 + } + dpad-center { + image select.png + x 142 + y 626 + } + phone-dial { + image send.png + x 48 + y 646 + } + phone-hangup { + image end.png + x 286 + y 646 + } + + power { + image power.png + x -38 + y 52 + } + + volume-up { + image volume_up.png + x 362 + y 260 + } + + volume-down { + image volume_down.png + x 362 + y 310 + } + } + } + + keyboard { + background { + image keyboard.png + } + buttons { + 1 { + image key.png + x 0 + y 0 + } + 2 { + image key.png + x 37 + y 0 + } + 3 { + image key.png + x 74 + y 0 + } + 4 { + image key.png + x 111 + y 0 + } + 5 { + image key.png + x 148 + y 0 + } + 6 { + image key.png + x 185 + y 0 + } + 7 { + image key.png + x 222 + y 0 + } + 8 { + image key.png + x 259 + y 0 + } + 9 { + image key.png + x 296 + y 0 + } + 0 { + image key.png + x 333 + y 0 + } + + q { + image key.png + x 0 + y 36 + } + w { + image key.png + x 37 + y 36 + } + e { + image key.png + x 74 + y 36 + } + r { + image key.png + x 111 + y 36 + } + t { + image key.png + x 148 + y 36 + } + y { + image key.png + x 185 + y 36 + } + u { + image key.png + x 222 + y 36 + } + i { + image key.png + x 259 + y 36 + } + o { + image key.png + x 296 + y 36 + } + p { + image key.png + x 333 + y 36 + } + + a { + image key.png + x 0 + y 72 + } + s { + image key.png + x 37 + y 72 + } + d { + image key.png + x 74 + y 72 + } + f { + image key.png + x 111 + y 72 + } + g { + image key.png + x 148 + y 72 + } + h { + image key.png + x 185 + y 72 + } + j { + image key.png + x 222 + y 72 + } + k { + image key.png + x 259 + y 72 + } + l { + image key.png + x 296 + y 72 + } + DEL { + image key.png + x 333 + y 72 + } + + CAP { + image key.png + x 0 + y 108 + } + z { + image key.png + x 37 + y 108 + } + x { + image key.png + x 74 + y 108 + } + c { + image key.png + x 111 + y 108 + } + v { + image key.png + x 148 + y 108 + } + b { + image key.png + x 185 + y 108 + } + n { + image key.png + x 222 + y 108 + } + m { + image key.png + x 259 + y 108 + } + PERIOD { + image key.png + x 296 + y 108 + } + ENTER { + image key.png + x 333 + y 108 + } + + ALT { + image key.png + x 0 + y 144 + } + SYM { + image key.png + x 37 + y 144 + } + AT { + image key.png + x 74 + y 144 + } + SPACE { + image spacebar.png + x 111 + y 144 + } + SLASH { + image key.png + x 259 + y 144 + } + COMMA { + image key.png + x 296 + y 144 + } + ALT2 { + image key.png + x 333 + y 144 + } + + } + } +} + +layouts { + portrait { + width 900 + height 730 + color 0xe0e0e0 + event EV_SW:0:1 + + part1 { + name device + x 40 + y -18 + } + part2 { + name keyboard + x 480 + y 200 + } + } + + landscape { + width 900 + height 670 + color 0xe0e0e0 + event EV_SW:0:0 + + part1 { + name device + x 50 + y 440 + rotation 3 + } + part2 { + name keyboard + x 250 + y 470 + } + } +} + +keyboard { + charmap qwerty2 +} + +network { + speed full + delay none +} -- cgit v1.2.3