diff options
author | Olli Werwolff <qt-info@nokia.com> | 2010-05-25 12:26:47 +0200 |
---|---|---|
committer | Olli Werwolff <qt-info@nokia.com> | 2010-05-25 12:53:50 +0200 |
commit | 1d1a0021918219831ae122d1391307331ef6c77c (patch) | |
tree | 07fda5e2a05e9943af4656b60634d21afd42c7eb /models | |
parent | fd3cf85877865d3e39b8ced1a7b84d1fbd271aaf (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.png | bin | 0 -> 43409 bytes | |||
-rw-r--r-- | models/maemoFremantle/fremantle_portrait.png | bin | 0 -> 14714 bytes | |||
-rw-r--r-- | models/maemoFremantle/maemoFremantle.config | 5 | ||||
-rw-r--r-- | models/symbianTouch/menu_landscape.png | bin | 0 -> 27626 bytes | |||
-rw-r--r-- | models/symbianTouch/menu_portrait.png | bin | 0 -> 11492 bytes | |||
-rw-r--r-- | models/symbianTouch/symbianTouch.config | 5 |
6 files changed, 8 insertions, 2 deletions
diff --git a/models/maemoFremantle/fremantle_landscape.png b/models/maemoFremantle/fremantle_landscape.png Binary files differnew file mode 100644 index 0000000..9b1de05 --- /dev/null +++ b/models/maemoFremantle/fremantle_landscape.png diff --git a/models/maemoFremantle/fremantle_portrait.png b/models/maemoFremantle/fremantle_portrait.png Binary files differnew file mode 100644 index 0000000..d9e12bd --- /dev/null +++ b/models/maemoFremantle/fremantle_portrait.png 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 Binary files differnew file mode 100644 index 0000000..5a0f62c --- /dev/null +++ b/models/symbianTouch/menu_landscape.png diff --git a/models/symbianTouch/menu_portrait.png b/models/symbianTouch/menu_portrait.png Binary files differnew file mode 100644 index 0000000..fbb88cb --- /dev/null +++ b/models/symbianTouch/menu_portrait.png 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 |