PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > TP2 Themes & Software
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 11-27-2009, 08:29 PM
santod's Avatar
"MODS"
Offline
Pocket PC: Touch Pro 2/Thunderbolt
Carrier: Verizon Wireless
Location: NorCal
 
Join Date: Sep 2008
Posts: 3,984
Reputation: 22765
santod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation levelsantod can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Post Edit color of Sense 2.1 Home Font (call history, calendar,etc.)

So after some time was spent scrolling through manila files in Mode9 and pictures and searching the net, I was looking for a way to modify the font color on the home screen with Mode9 for Calendar and Call History, here is what I found and thought I'd share, as others who use mode9 may find it useful. If this has been already posted clearly on here before, I apologize.

__________________________________________________ ___________


* 2 manila files are involved :

* 1c684cd8_manila
This file is the Home mode9 file. It controls how the fixed elements are displayed. This one will be used to change fixed text font color on the home tab.

* 77faa36d_manila
This file is the manilla lua script files that controls how the font colors are handled when event occurs (typically, clicking on the alarm change the alarm font color, so ot is for calendar and so on)

After that, follow these steps :

1 - Install M9Editor
2 - Copy these two files from you phone to your computer
3 - Open M9Editor and choose the directory where you copied the above files as source directories
4 - Open 1c684cd8_manila in M9Editor and change the Color attribute of the elements you want to change knowing that R,G,B are the red, green, blue colors components.
ie: CarrierNetwork for the Carrier text, MissedCallText, VoicemailText, UrgentVoicemailsText, Appointment0_Time, and so on.
5 - Save the file

After these steps, go to your PDA, disable Sense Home plugin and copy the modified file to /windows/ directory then restart manila.
You will see that all colors have been changed !!!
BUT, if you click on alarm or calendar and return to the home screen, colors have been changed back to previous color. That is why we need to edit the 77faa36d_manila file.

6 - Go back to your computer and open 77faa36d_manila in M9editor.
7 - Right click on the file and choose decompile and save source. This will generate the associated source script file as 77faa36d_manila.lua
The file should look like :

-- Decompiled using luadec 1.0 by sztupy (http://winmo.sztupy.hu)
-- Command line was: temp.luaA

require("themecommon")
Theme_MainTextUnselectedLevel0 = Color(0, 0, 0, 255)
Theme_MainTextSelectedLevel0 = Color(255, 255, 255, 255)
Theme_MainTextUnselectedLevel1 = Color(120, 120, 120, 255)
Theme_MainTextSelectedLevel1 = Color(255, 255, 255, 255)
Theme_MainTextUnselectedMenu = Color(120, 120, 120, 255)
Theme_MainTextSelectedMenu = Color(255, 255, 255, 255)
Theme_SubTextUnselectedLevel0 = Color(204, 204, 204, 255)
Theme_SubTextSelectedLevel0 = Color(204, 204, 204, 255)
Theme_SubTextUnselectedLevel1 = Color(51, 51, 51, 255)
Theme_SubTextSelectedLevel1 = Color(204, 204, 204, 255)
Theme_OnOffTextUnselectedLevel0 = Color(179, 179, 179, 255)
Theme_OnOffTextSelectedLevel0 = Color(179, 179, 179, 255)
Theme_OnOffTextUnselectedLevel1 = Color(50, 50, 50, 255)
Theme_OnOffTextSelectedLevel1 = Color(179, 179, 179, 255)
Theme_AlarmTextUnselected = Color(255, 255, 255, 255)
Theme_AlarmTextSelected = Color(255, 255, 255, 255)
Theme_AlarmTextOff = Color(153, 153, 153, 255)
Theme_DateTextUnselected = Color(255, 255, 255, 255)
Theme_DateTextSelected = Color(255, 255, 255, 255)
Theme_HomeNotificationsMainSelected = Color(255, 255, 255, 255)
Theme_HomeNotificationsSubSelected = Color(204, 204, 204, 255)
Theme_HomeNotificationsMainUnselected = Color(255, 255, 255, 255)
Theme_HomeNotificationsSubUnselected = Color(255, 255, 255, 255)

8 - Here you can change the color of the font for unselected and selected elements of the manila sense interface. If you change the first one (Theme_MainTextUnselectedLevel0) then all unselected text color through manila will change (for instance, the setting tab unselected text will change to this color, as will the home alarm and calendar text and so on).
Entries of interest here are :

Theme_HomeNotificationsMainSelected = Color(255, 255, 255, 255)
Theme_HomeNotificationsSubSelected = Color(204, 204, 204, 255)
Theme_HomeNotificationsMainUnselected = Color(255, 255, 255, 255)
Theme_HomeNotificationsSubUnselected = Color(255, 255, 255, 255)

Change these ones to the color you want.

9 - Save the lua file and go back to M9editor. Right Click on the 77faa36d_manila file and then choose compile and import. This will recompile your modified lua script.

10 - Copy the modified 77faa36d_manila file to your PDA /windows/ directory (don't forget to deactivate manila first).

11 - Reactivate manila plugin.

12 - YOU'RE DONE !!!!!

Hope this will be helpful ...
__________________

~My Ultimate WVGA Wallpapers Collection~
Donations accepted not expected!



Last edited by santod; 12-05-2009 at 06:01 AM.
Reply With Quote
This post has been thanked 6 times.
  #2 (permalink)  
Old 12-05-2009, 05:43 AM
Pegasus"143"'s Avatar
The Great Winged Horse
Offline
Pocket PC: XV6700 XV6800 TP2
Carrier: Big Red
Location: Port Arthur Tx.
 
Join Date: Dec 2007
Posts: 555
Reputation: 2485
Pegasus"143" is a VIPPegasus"143" is a VIPPegasus"143" is a VIPPegasus"143" is a VIPPegasus"143" is a VIPPegasus"143" is a VIPPegasus"143" is a VIPPegasus"143" is a VIPPegasus"143" is a VIPPegasus"143" is a VIPPegasus"143" is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Edit color of Sense 2.1 Home Font (call history, calendar)

Great post I was looking for this, and some Info on Luac
__________________
If I've helped you Please hit the thanks button
Donations gladly acceptedNothing but thanks expected
Reply With Quote
  #3 (permalink)  
Old 01-19-2010, 05:59 PM
stegg's Avatar
Lurker
Offline
Pocket PC: HTC Diamond
Carrier: I-Wind
 
Join Date: Mar 2009
Posts: 1
Reputation: 0
stegg is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Question Re: Edit color of Sense 2.1 Home Font (call history, calendar,etc.)

what about font SIZE?
e.g in SMS page, the character are too small for my eyes and would like to increase the font size
Reply With Quote
  #4 (permalink)  
Old 01-19-2010, 09:58 PM
lw00d's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC TP2 is my first wm phone
Carrier: VERIZON
Location: Los Angeles
 
Join Date: May 2009
Posts: 166
Reputation: 280
lw00d is becoming a PPCGeeks regularlw00d is becoming a PPCGeeks regularlw00d is becoming a PPCGeeks regular
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Edit color of Sense 2.1 Home Font (call history, calendar,etc.)

does anyone have any pictures of this in action?
__________________
IF I HELP ANYONE OUT IN ANYWAY.. PLEASE HIT THE THANKS BUTTON..
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > TP2 Themes & Software


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 04:45 PM.


Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com