A new way to skin dialpad ....

  • Please support our website. Thank you.
  • Looking for something?

    Try our custom search:

    Advanced search

A new way to skin dialpad ....

Postby TofClock » Thu Sep 29, 2005 5:25 am

I've found a new procedure to skin the dialpad ...

A lot of possibility !!!

We have to follow these things :

Image

This is the "DIALER" screen

Image

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 :)
TofClock
Senior Member
Senior Member
 
Posts: 498
Joined: Mon Jul 04, 2005 4:18 pm

Re: A new way to skin dialpad ....

Postby CyWa » Thu Sep 29, 2005 1:27 pm

WOOOW !!:whistle:

I love those transparent buttons!

With my limited knowledge, I actually tried editing the individual .gif files and made them transparent, but what I got was a transparent button that was not showing the background image, but a white block where I can't even see the number. :unsure:

Will try TofClock's method. Thanx bro!!!
CyWa
Junior Member
Junior Member
 
Posts: 37
Joined: Fri Jul 22, 2005 11:27 am

Re: A new way to skin dialpad ....

Postby buzz_lightyear » Thu Sep 29, 2005 1:46 pm

That;s GREAT!!!

THANX for this excellent post. :o)
Now we have to combine it with tapres.dll editing, to get completely different dial app layout...

How about animated gifs??

cool!
buzz
User avatar
buzz_lightyear
Administrator
Administrator
 
Posts: 2347
Joined: Sat Jul 02, 2005 2:38 pm
Location: Slovakia

Re: A new way to skin dialpad ....

Postby TofClock » Thu Sep 29, 2005 3:14 pm

OH YEEEEEEEEEEEESSSSSSS !!!


I've found the text font color hack for verb , erase and talk/end button !!!!!!!!!!!!!
TofClock
Senior Member
Senior Member
 
Posts: 498
Joined: Mon Jul 04, 2005 4:18 pm

Re: A new way to skin dialpad ....

Postby TofClock » Thu Sep 29, 2005 4:37 pm

ouh ouh ouh ... very hard for the text ....

a lot of DWORD value ...

TextColor
TextDisabledColor
textFlags
textRCMLStyle
minorColor
majorColor
minorFlags
majorFlags
minorRCMLStyle
majorRCMLStyle
...
with a lot of possible value ....

soft-reset after every change to test all values ...

To start


For VerbButton and talkendbutton :
"textFlags" is the text position on button :
dword 0 : top left
dword 1 : top center
dword 2 : top right

dword 4 : middle left
dword 5 : middle center (default value)
dword 6 : middle right

dword 8 : bottom left
dword 9 : bottom center
dword A : bottom right

"textColor" is the text color when button is Normal or Pressed
dword value : BBGGRR (default value is 0 (000000))
where BB , GG , RR is value 0 -> FF
eg. FF0000 -> blue color , 00FF00 -> green color ...

"textDisabledColor" is the text color when button is Disabled
same as above for dword value

"textRCMLStyle" is the text font style on button
dword 0 : small size , normal
dword 1 : medium size , normal

dword 3 : small size , bold (default value)

dword 11 : medium size , bold

dword 20 : very big size , bold
dword 21 : big size , bold
dword 22 : big size , normal


yeah yeah yeah :)

let me a little time to hack the dial button font ....
TofClock
Senior Member
Senior Member
 
Posts: 498
Joined: Mon Jul 04, 2005 4:18 pm

Re: A new way to skin dialpad ....

Postby TofClock » Thu Sep 29, 2005 4:38 pm

ok .... a good way ....

For dialbuttons :)

minor prefix is for letters
major prefix is for numbers ...

colors are same as above

RCMStyle are same as above

Flags are same as above but letters and numbers are not superposable :)<br><br>Post edited by: TofClock, at: 2005/09/29 15:42
TofClock
Senior Member
Senior Member
 
Posts: 498
Joined: Mon Jul 04, 2005 4:18 pm

Re: A new way to skin dialpad ....

Postby TofClock » Thu Sep 29, 2005 5:48 pm

Another dword value to set order of dialbutton text :

"textLayoutFlags" :

dword 0 : Numbers , then Letters
dword 1 : Letters , then Numbers
dword 2 : just Numbers (No letter)
TofClock
Senior Member
Senior Member
 
Posts: 498
Joined: Mon Jul 04, 2005 4:18 pm

Re: A new way to skin dialpad ....

Postby TofClock » Fri Sep 30, 2005 3:54 pm

yeah yeah yeah !!!!

ImageImage


i've not found at this time how to change the font style of text object (elapsed time , caller info , ...) , but i'm searching and i'll find it :)<br><br>Post edited by: TofClock, at: 2005/09/30 15:08
TofClock
Senior Member
Senior Member
 
Posts: 498
Joined: Mon Jul 04, 2005 4:18 pm

Re: A new way to skin dialpad ....

Postby SaBo » Fri Sep 30, 2005 4:30 pm

That looks awesome TofClock :woohoo:
Keep up the good work

Sascha
SaBo
Senior Member
Senior Member
 
Posts: 280
Joined: Sat Sep 10, 2005 1:06 am

Re: A new way to skin dialpad ....

Postby buzz_lightyear » Fri Sep 30, 2005 4:32 pm

Hi TofClock,

where do you search for all those reg keys??

THANX
buzz
User avatar
buzz_lightyear
Administrator
Administrator
 
Posts: 2347
Joined: Sat Jul 02, 2005 2:38 pm
Location: Slovakia

Re: A new way to skin dialpad ....

Postby tumtum » Fri Sep 30, 2005 4:37 pm

Excellent job.

To resize image is the thing that I'm looking for.:woohoo:
tumtum
Junior Member
Junior Member
 
Posts: 33
Joined: Sat Jul 02, 2005 10:08 pm

Re: A new way to skin dialpad ....

Postby dreamtheater39 » Sun Oct 02, 2005 8:33 pm

status????!!!

i cant wait bro :)

San
dreamtheater39
Full Member
Full Member
 
Posts: 91
Joined: Thu Jul 07, 2005 3:24 pm

Re: A new way to skin dialpad ....

Postby TofClock » Sun Oct 02, 2005 9:12 pm

buzz_lightyear wrote:
Hi TofClock,

where do you search for all those reg keys??

THANX
buzz


Good question :))

Just edit "cprog.exe" with hexa-editor ...

there is no resources on this file but lot of text in hexa-code ..

you can find a text ... "Security\Phone\Skin\Enabled" ....

i'm try this on
[HKEY_CURRENT_USER\Security\Phone" witout success
i'm try this on
[HKEY_LOCAL_MACHINE\Security\Phone"
after soft-reset , my dialpad was .... BLANK !!!!

with search a little in hexacoide of cprog.exe , i've found
some texte like :

talkendbutton \windows\dlrbtnend_up_port.gif ....
bmptransparency , bmpglyph , bmpnormal ... and so one and so one ..

i've tested all choice ... soft reset after every change ..

a long and hard work ...

but i've found a lot of things :)

in every registry key of buttons , we cvan add String values :
"Nm" for the font name
on "PROGRESS\Portrait"
we can add a regustry key named "text" with a string value
"Nm" for the font name to operator text ,elapsed-time text ...


i'll make a cab file with all registry possibility .
with this one , you can understand all the registry possibility to skin the dialpad :)
TofClock
Senior Member
Senior Member
 
Posts: 498
Joined: Mon Jul 04, 2005 4:18 pm

Re: A new way to skin dialpad ....

Postby tumtum » Sun Oct 02, 2005 9:49 pm

Great job TofClock.
I'm dying to know the result.

Sincerely,
tumtum
tumtum
Junior Member
Junior Member
 
Posts: 33
Joined: Sat Jul 02, 2005 10:08 pm

Re: A new way to skin dialpad ....

Postby buzz_lightyear » Mon Oct 03, 2005 4:54 pm

Hi TofClock,
i just opened cprog in some 'other' tool and there is much more than that.. :o)))

THANX
buzz
User avatar
buzz_lightyear
Administrator
Administrator
 
Posts: 2347
Joined: Sat Jul 02, 2005 2:38 pm
Location: Slovakia

Next

Return to Themes And Skins

Who is online

Users browsing this forum: No registered users and 1 guest