Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

HTC Calendar Colors

OP _bastler_

27th May 2010, 12:51 PM   |  #31  
Member
Thanks Meter: 9
 
60 posts
Join Date:Joined: Mar 2010
More
Somebody modified manilla file from Manilla 2.5.2012 ??
27th May 2010, 01:02 PM   |  #32  
Member
Thanks Meter: 1
 
98 posts
Join Date:Joined: Nov 2008
Quote:
Originally Posted by geralt

Hi everybody,

I resolved the problem with colored weekends days for Manila 2.5.1921.1619.0 in my HD2 (ROM 1.48.479.1 (71294) WWE).

I modified manila files from "Colored Calendar Tab.cab".

Just download / unzip / copy to "Windows" folder in your HD2 with Manila 2.5.1921.1619.0 and enjoy.

It's work in my HD2. See sreenshots.

P.S.: When I will learn how to create "CAB" file I will do it in CAB

Hi, geralt....

Is there any way for manila 2.5.1920? Thanks in advance...
27th May 2010, 02:02 PM   |  #33  
geralt's Avatar
Senior Member
Flag Kladno
Thanks Meter: 18
 
102 posts
Join Date:Joined: Aug 2007
More
I think that yes.

In “Windows” folder in your HD2 find manila files “6f3f0c16_manila” and “071b4c9a_manila”. This two files you have to decompile using luadec.exe - you may find it here (SztupY thank you for this tool). Then :

1) In “071b4c9a_manila” file find following line :
1.1) “CalendarConsts.YearView_SaturdayColor = Color(128, 128, 128, 255)”
1.2) “CalendarConsts.YearView_SundayColor = Color(128, 128, 128, 255)” where change the first three numbers (it is RGB color scheme).

In my case I changed its for :
- “CalendarConsts.YearView_SaturdayColor” from “128, 128, 128” to “1, 93, 191” (light blue)
- “CalendarConsts.YearView_SundayColor” from “128, 128, 128” to “255, 0, 0” (red)

2) In “6f3f0c16_manila” file find following lines :

2.1) “MonthClass.CreateCalendar = function(l_24_0, l_24_1)” where after line “for l_24_27 = 0, 6 do” add this :


if l_24_0.Sunday then
weekendtext = Locale:GetString("IDS_CALENDAR_WEEK_" .. l_24_27)
else
mfdow = l_24_27 + 1
if mfdow == 7 then
mfdow = 0
end
weekendtext = Locale:GetString("IDS_CALENDAR_WEEK_" .. mfdow)
end


2.2) “MonthClass.initMonthDayText = function(l_27_0, l_27_1, l_27_2, l_27_3)” where after line “l_27_4.HorizontalAlignment = Alignment_HorizontalCenter” add this :

if weekendtext == "Sat" then
l_27_4.Color = CalendarConsts.YearView_SaturdayColor
end
if weekendtext == "Sun" then
l_27_4.Color = CalendarConsts.YearView_SundayColor
end


Then both files compile by luac.exe, download and copy to HD2 Windows folder. That’s all.
27th May 2010, 03:10 PM   |  #34  
Member
Thanks Meter: 1
 
98 posts
Join Date:Joined: Nov 2008
Dear geralt,

Thanks for your reply......

To be honest, I'm not so professional to do that, it's really complicated for me.......

Is there any easier way for me? Thanks again
27th May 2010, 04:47 PM   |  #35  
geralt's Avatar
Senior Member
Flag Kladno
Thanks Meter: 18
 
102 posts
Join Date:Joined: Aug 2007
More
Hi Gino

Copy two files (which I described in my previous post) from your Windows folder and attache its to this thread. I will look at it.
27th May 2010, 05:17 PM   |  #36  
Member
Thanks Meter: 0
 
50 posts
Join Date:Joined: May 2010
Quote:
Originally Posted by geralt

Hi Gino

Copy two files (which I described in my previous post) from your Windows folder and attache its to this thread. I will look at it.

What files do you neeed to make it compatible to manila version 2.5.1920.2525?
27th May 2010, 05:31 PM   |  #37  
geralt's Avatar
Senior Member
Flag Kladno
Thanks Meter: 18
 
102 posts
Join Date:Joined: Aug 2007
More
Quote:
Originally Posted by newhtchd2

What files do you neeed to make it compatible to manila version 2.5.1920.2525?

This manila files :
- “6f3f0c16_manila”
- “071b4c9a_manila”
27th May 2010, 06:13 PM   |  #38  
malhznoi's Avatar
Senior Member
Flag Jeddah
Thanks Meter: 1
 
549 posts
Join Date:Joined: Dec 2009
More
http://pocketnow.com/tweaks-hacks/co...stock-sense-25
27th May 2010, 08:13 PM   |  #39  
francescrm's Avatar
Senior Member
Flag Barcelona
Thanks Meter: 1
 
201 posts
Join Date:Joined: Mar 2008
More
Quote:
Originally Posted by geralt

Hi everybody,

I resolved the problem with colored weekends days for Manila 2.5.1921.1619.0 in my HD2 (ROM 1.48.479.1 (71294) WWE).

I modified manila files from "Colored Calendar Tab.cab".

Just download / unzip / copy to "Windows" folder in your HD2 with Manila 2.5.1921.1619.0 and enjoy.

It's work in my HD2. See sreenshots.

P.S.: When I will learn how to create "CAB" file I will do it in CAB

OK, thanks, but in my Leo only replaced "year view".
Running spanish stock 1.66 ROM and Manila 2.5.19211619.0




Rgds,
Last edited by francescrm; 27th May 2010 at 08:24 PM.
27th May 2010, 08:41 PM   |  #40  
geralt's Avatar
Senior Member
Flag Kladno
Thanks Meter: 18
 
102 posts
Join Date:Joined: Aug 2007
More
Quote:
Originally Posted by francescrm

OK, thanks, but in my Leo only replaced "year view".
Running spanish stock 1.66 ROM and Manila 2.5.19211619.0




Rgds,

In my Leo this files works. Maybe there are some diferencies in your "6f3f0c16_manila” file.

Post Reply Subscribe to Thread

Tags
calendar tab
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes