summaryrefslogtreecommitdiffstats
path: root/models
diff options
context:
space:
mode:
authorOlli Werwolff <qt-info@nokia.com>2010-05-25 12:26:47 +0200
committerOlli Werwolff <qt-info@nokia.com>2010-05-25 12:53:50 +0200
commit1d1a0021918219831ae122d1391307331ef6c77c (patch)
tree07fda5e2a05e9943af4656b60634d21afd42c7eb /models
parentfd3cf85877865d3e39b8ced1a7b84d1fbd271aaf (diff)
Refactored menu mockups in simulator
Instead of hardcoded menus the user can add mockup pictures for portrait and landscape pictures for every model (menuPortrait and menuLandscape). In order to make showFullScreen and showMaximized work as supposed he also has to state the available geometry for each orientation (availableGeometryPortrait and availableGeometryLandscape). Reviewed-by: ckamm
Diffstat (limited to 'models')
-rw-r--r--models/maemoFremantle/fremantle_landscape.pngbin0 -> 43409 bytes
-rw-r--r--models/maemoFremantle/fremantle_portrait.pngbin0 -> 14714 bytes
-rw-r--r--models/maemoFremantle/maemoFremantle.config5
-rw-r--r--models/symbianTouch/menu_landscape.pngbin0 -> 27626 bytes
-rw-r--r--models/symbianTouch/menu_portrait.pngbin0 -> 11492 bytes
-rw-r--r--models/symbianTouch/symbianTouch.config5
6 files changed, 8 insertions, 2 deletions
diff --git a/models/maemoFremantle/fremantle_landscape.png b/models/maemoFremantle/fremantle_landscape.png
new file mode 100644
index 0000000..9b1de05
--- /dev/null
+++ b/models/maemoFremantle/fremantle_landscape.png
Binary files differ
diff --git a/models/maemoFremantle/fremantle_portrait.png b/models/maemoFremantle/fremantle_portrait.png
new file mode 100644
index 0000000..d9e12bd
--- /dev/null
+++ b/models/maemoFremantle/fremantle_portrait.png
Binary files differ
diff --git a/models/maemoFremantle/maemoFremantle.config b/models/maemoFremantle/maemoFremantle.config
index adcea37..3d45983 100644
--- a/models/maemoFremantle/maemoFremantle.config
+++ b/models/maemoFremantle/maemoFremantle.config
@@ -7,5 +7,8 @@ offsetX:72
offsetY:165
defaultFontSize:18
forceDpi:96
-menu:maemoFremantle
nativeOrientation:landscape
+menuPortrait:fremantle_portrait.png
+availableGeometryPortrait:0,56,480,744
+menuLandscape:fremantle_landscape.png
+availableGeometryLandscape:0,57,800,423
diff --git a/models/symbianTouch/menu_landscape.png b/models/symbianTouch/menu_landscape.png
new file mode 100644
index 0000000..5a0f62c
--- /dev/null
+++ b/models/symbianTouch/menu_landscape.png
Binary files differ
diff --git a/models/symbianTouch/menu_portrait.png b/models/symbianTouch/menu_portrait.png
new file mode 100644
index 0000000..fbb88cb
--- /dev/null
+++ b/models/symbianTouch/menu_portrait.png
Binary files differ
diff --git a/models/symbianTouch/symbianTouch.config b/models/symbianTouch/symbianTouch.config
index c68b854..d44227f 100644
--- a/models/symbianTouch/symbianTouch.config
+++ b/models/symbianTouch/symbianTouch.config
@@ -10,5 +10,8 @@ style:s60
button:Key_TopMenu,,50,872,62,50
button:Key_Call,,165,864,42,66
button:Key_Hangup,,255,858,43,78
-menu:symbianTouch
+menuPortrait:menu_portrait.png
+availableGeometryPortrait:0,92,360,487
+menuLandscape:menu_landscape.png
+availableGeometryLandscape:0,73,502,288
nativeOrientation:portrait