2005年11月15日

★Universal VGAでのダイアルパッド★

UniversalをVGAで使用する際、 ダイアルパッドが小さく使えない。

そこで標準のダイアルパッドのbmpファイルを拡大してVGA対応に出来ないものであろうか?

きっと出来る!

以前Blue AngelのQVGA用のダイアルパッドをはhw6515のSquare画面用にサイズを 縮小し、

読ませたことがあるのだ!同じ手法で拡大と言うて、或いは新たにBMPを書くことによって

VGAのダイアル画面が作れると信ずる!

しかしAsukaly EyesなAsukalは、 VGAを使っていない誰かテストして見るべし!

 


 

また下記はBuzz.netでの紹介されているWM5のダイアルパッドの情報である.

(これは新たにダイアルパッドを製作るための情報であるので、 これを参考にすれば使われているbmpのファイル名等が分るはずである)

This is the "PROGRESS" screen

blue buttons are "dialbutton"
yellow buttons are "VerbButton"
violet buttons are "erasebutton"
green button is "talkendbutton"

Every button have 3 states :
- normal
- pressed
- disabled

You can see the transparency of buttons ....

the transparent color is : RGB=FF,00,FF (255,0,255)

You have to create buttons and background in bmp 8 bits 256 colors

for example , create a dialpad skin to portrait mode:
1. for dial buttons
* normal state : dial_up_port.bmp
* pressed state : dial_dn_port.bmp
* disabled state : dial_ds_port.bmp

2. for verb buttons
* normal state : verb_up_port.bmp
* pressed state : verb_dn_port.bmp
* disabled state : verb_ds_port.bmp

3. for erase button
* normal state : era_up_port.bmp
* pressed state : era_dn_port.bmp
* disabled state : era_ds_port.bmp

4. for talk/end button
* talk normal state : talk_up_port.bmp
* talk pressed state : talk_dn_port.bmp
* talk disabled state : talk_ds_port.bmp
* end normal state : end_up_port.bmp
* end pressed state : end_dn_port.bmp
* end disabled state : end_ds_port.bmp

5. for background : back_port.bmp

You can choose to make diferent buttonns and background to progress and dialer screen , just name your image according to this . (eg. verb_up_dialerport.bmp , verb_up_progressport.bmp)

you can place these images everywhere you want , just don' forget the path ... (eg. "\Storage Card\PhoneSkin\")

now , we have to hack the registry to make this skin available ....

go to HKEY_LOCAL_MACHINE/Security/Phone
create a key named "Skin"
in this key , create 2 keys named :
- "DIALER"
- "PROGRESS"
and a dword named "enabled" with value 1

in the DIALER key ; create 2 keys named
- "portrait"
- "landscape"

we have now the registry path :
HKEY_LOCAL_MACHINE/Security/Phone/Skin/DIALER/portrait/
in this key , create 5 others keys :
- "dialbutton"
- "erasebutton"
- "other"
- "talkendbutton"
- "VerbButton"

i've noticed that a key named "text" can be created but , i've not found the value that we can put in to skin the font or other text ...

ok , good

this is in these 5 keys we can set the skin images

in "other" key :
create a string value "bmpNormal" with the path of the background image

in "dialbutton" key :
create 3 string value :
"bmpNormal" with the path of the dial normal state button image
"bmpPressed" with the path of the dial pressed state button image
"bmpDisabled" with the path of the dial disabled state button image
create a dword "bmpFlags" with value 0
create a dword "bmpTransparency" with value 0x01000000 (hex)

Do the same with "erasebutton" and "VerbButton"

With "talkendbutton" key , do this :
create 6 string value :
"bmpNormalTalk" with the path of the talk normal state button image
"bmpPressedTalk" with the path of the talk pressed state button image
"bmpDisabledTalk" with the path of the talk disabled state button image
"bmpNormalend" with the path of the end normal state button image
"bmpPressedend" with the path of the end pressed state button image
"bmpDisabledend" with the path of the end disabled state button image
create 2 dword "bmpFlagsEnd" and "bmpFlagsTalk" with value 0
create 2 dword "bmpTransparencyEnd" and "bmpTransparencyTalk" with value 0x01000000 (hex)

Now you can do the same things with a "landscape" key and after , you can do the same with the "PROGRESS" key ....

very long !!!!!

To help you and illustrate this skin method , i've make a cab file that create all the registry keys and create a folder named "PhoneSkin" in your storage card with the images to skin the dialpad in portrait mode ....

Download it here

Use at your own risk ....
Tested only on himalaya 1.60c

To install :
put the cab on your device .
make sure you have a sd card inserted
on "choose install location" screen , choose Storage Card
wait the end of installation ....
soft-reset

try to make your own and find the "text" key tricks please !!!

enjoy

Asukaly yours!

posted by Asukal at 15:48| 香港 ☁| Comment(0) | TrackBack(0) | WM5.0 and Universal | このブログの読者になる | 更新情報をチェックする
この記事へのコメント
コメントを書く
お名前: [必須入力]

メールアドレス: [必須入力]

ホームページアドレス: [必須入力]

コメント: [必須入力]

認証コード: [必須入力]


※画像の中の文字を半角で入力してください。

この記事へのトラックバック
×

この広告は180日以上新しい記事の投稿がないブログに表示されております。