It is currently May 1st, 2024, 2:19 pm

Cowon Clock Customization

Get help with creating, editing & fixing problems with skins
saikat
Posts: 4
Joined: November 21st, 2011, 6:43 am

Cowon Clock Customization

Post by saikat »

Hi
I have been using Cowon Clock skin for Rainmeter for quite some time and I am really happy with it. But with few backgrounds it looses visibility...
I was wondering if it's possible to change the colors for the numbers and letters.
It would be even better if the size of the fonts also could be changed!

I am a new user of Rainmeter and can't really find the way to do it.
It is possible to customize? If yes how?

I would greatly appreciate any help.

/S/
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Cowon Clock Customization

Post by MerlinTheRed »

It is very likely that you can change the colors. We can only tell if we can take a look at the code though. Could you provide a link to the skin or post the code of the ini file in code tags here?
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
saikat
Posts: 4
Joined: November 21st, 2011, 6:43 am

Re: Cowon Clock Customization

Post by saikat »

Thanks for the reply Merlin.

Here is the link of the skin:
http://marcarnal.deviantart.com/art/Cowon-Clock-for-rainmeter-191393706

And here is the code from the ini:

Code: Select all

------- Main -------
;Metadata added by Marc22

[Metadata]
Name=Digital_Clock
Config=
Description=
Instructions=
Version=
Tags=
License=
Variant=
Preview=

;End of added Metadata

--------------------

FONT=Mangal

--------------------

[Rainmeter]
	Author=marc22
	BackgroundMode=1

[mTime]
        Measure=Time
        Format=%I

[(time)]
Meter=BITMAP
MeasureName=mTime
X=110
Y=20
BitmapImage=\digitshours.png
BitmapFrames=10
BitmapExtend=1
BitmapDigits=2
BitmapAlign=CENTER

[mTime2]
        Measure=Time
        Format=%M

[(time2)]
Meter=BITMAP
MeasureName=mTime2
X=110
Y=150
BitmapImage=\digitsminutes.png
BitmapFrames=10
BitmapExtend=1
BitmapDigits=2
BitmapAlign=CENTER

 [DATE]
	Measure=Time
	Format=%A
              

[(date)]
MeasureName=DATE
Meter=String
StringAlign=LEFT
X=40
Y=365
W=300
FontColor=199,196,181
FontSize=14
AntiAlias=1
FontFace=#FONT#
Hidden=0

 [DATE2]
	Measure=Time
	Format=%B .%d

[(date2)]
MeasureName=DATE2
Meter=String
StringAlign=LEFT
X=40
Y=385
W=300
FontColor=199,196,181
FontSize=14
AntiAlias=1
FontFace=#FONT#
Hidden=0


[AM/PM]
	Measure=Time
	Format=%p

[(am/pm)]
MeasureName=AM/PM
Meter=String
X=45
Y=0
FontColor=225,161,66
FontFace=#FONT#
FontSize=12
AntiAlias=1
StringAlign=CENTER
AntiAlias=1



[Meterbacking]
Meter=IMAGE
ImageName=clock_bar.png
X=35
Y=360
W=1
H=42
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Cowon Clock Customization

Post by jsmorley »

All you really need to do is add:

ImageTint=255,0,0,255

To the [(time)] and [(time2)] meters and you can change the color of the bitmaps for the hours and minutes to anything you want. The 255,0,0,255 is "red", but you can use any color "Red,Green,Blue,Alpha" you like.

If you also add

GreyScale=1

To each meter, you will fully replace the existing colors with new ones. With just ImageTint alone, you are "adding" the new color to the existing one as a tint. Play with both approaches until you get what you want.

http://rainmeter.net/cms/Meters-ColorCodes_beta
http://rainmeter.net/cms/Meters-Bitmap_beta

You can't change the "size" of the hours and minutes unless you actually resize those two bitmap images using a tool like Photoshop or Gimp. Bitmap meters will not allow dynamic resizing of the image due to the way it uses "slices" of the image to display.
saikat
Posts: 4
Joined: November 21st, 2011, 6:43 am

Re: Cowon Clock Customization

Post by saikat »

Thank you Jsmorley!
I can change the colors now!

Changing size seems to be a bit cumbersome, will try it later.
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: Cowon Clock Customization

Post by jsmorley »

saikat wrote:Thank you Jsmorley!
I can change the colors now!

Changing size seems to be a bit cumbersome, will try it later.
Glad to help. Yeah, changing the bitmap images is going to be a bit tricky, as you not only need to resize the image(s) in some tool, but then probably would need to mess with the positioning in the skin with the X and Y settings on the various meters so things line up as they should.
User avatar
MerlinTheRed
Rainmeter Sage
Posts: 889
Joined: September 6th, 2011, 6:34 am

Re: Cowon Clock Customization

Post by MerlinTheRed »

I managed to whip something up that looks similar. Perhaps it's not as pretty but you can easily adjust the size by modifying the "Scale" variable. It won't even get blurry when you scale it up. You can change fonts etc. but you'll have to mess with the positioning then. And you'll have to use a font with monospaced numbers or it will look weird.
Preview.jpg
Download here:

http://www.mediafire.com/?fsb5lhcy7aj93w9
You do not have the required permissions to view the files attached to this post.
Have more fun creating skins with Sublime Text 2 and the Rainmeter Package!
saikat
Posts: 4
Joined: November 21st, 2011, 6:43 am

Re: Cowon Clock Customization

Post by saikat »

Thank you MerlinTheRed!