Notices


Reply
Thread Tools
Posts: 133 | Thanked: 172 times | Joined on Jul 2009 @ Travel bag
#51
good to know that the SVGClock's performance has improved for you..

Writing the static SVG components to a buffer surface and removing the lines for rendering them from the expose event have helped the performance..

I will try updating the original post in this thread, with the optimized Python script to let anyone interested to get it easily. Perhaps I should look at repackaging the next version of the SVGClock with dependencies ..
 

The Following 3 Users Say Thank You to shin For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#52
Repackaging would be great shin since, from my understanding, I still would need to install Cairo Clock first for the dependencies even though I wouldn't use that clock.

Now that you got your first python applet script behind you, do you think you'd be willing to make another one?

I was thinking perhaps of a date notification applet that would go right on the desktop.

It would display day, month, date and year in a customizable arrangement and one could choose their own font and color for it.

Well, unless that's already been done by someone else and I don't know about it or if you're already sick of coding.
 
Posts: 133 | Thanked: 172 times | Joined on Jul 2009 @ Travel bag
#53
This is something that I was working on since the SVGClock performance tuning.. Should be able to post soon

 

The Following 3 Users Say Thank You to shin For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#54
That calendar looks gorgeous shin!

Yeah, I definitely will drop that on my desktop as well.

Who would have ever guessed that you code so well?
 
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#55
Heya shin!

I just noticed something for the first time with your SVG Clock.

Is there any way to set the opacity for this to 255 so that anything below it doesn't bleed through the clock?

 
Posts: 133 | Thanked: 172 times | Joined on Jul 2009 @ Travel bag
#56
Addison - Unlike the FlipCalendar that you are helping to test, SVGClock does not have the capability to adjust the opacity.. In otherwords, the opacity of the clock is based on the transparency level of the SVG theme that is being used..

For example, the HTC theme clock face (SVG file) that you are using is completely opaque. However you would find that the black transparent clock face from here would allow for a high level of transparency, which is due to the SVG file being created with that level of opacity

hope this answers your query..
 

The Following User Says Thank You to shin For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#57
Thanks shin! Yeah, that makes perfect sense.

The thing is, within some of these .svg files, I'm seeing coding such as:

Code:
inkscape:pageopacity="0.0"
style="stop-color:#ffffff;stop-opacity:0;"
style="stop-color:#7f7f7f;stop-opacity:0.49803922;" 
style="stop-color:#3f3f3f;stop-opacity:0.74901961;"
style="stop-color:#000000;stop-opacity:1;"
borderopacity="1.0"
So I was wondering if it's safe to set all these numbers to 255.

If that can be done, I'll give it a try..
 
Posts: 133 | Thanked: 172 times | Joined on Jul 2009 @ Travel bag
#58
looking at the opacity values mentioned in your msg the max and min values seem to be 1 and 0 respectively. So 255 may not work.. Having said that, not sure if editing the opacity values of the .SVG file as you mentioned would work..

Sure way of editing and increasing/decreasing opacity of a SVG file is through inkscape, the open source vector graphics editor from hereor VectorMagic from here .
 

The Following 2 Users Say Thank You to shin For This Useful Post:
Addison's Avatar
Posts: 3,811 | Thanked: 1,151 times | Joined on Oct 2007 @ East Lansing, MI
#59
Having said that, not sure if editing the opacity values of the .SVG file as you mentioned would work..
Nice call on that!

I decided not to listen to your advice and went ahead anyway and ended up exploding my desktop.

Maybe I shouldn't try doing that again. *lol*

Oh well, it wasn't even a complaint from me. It was just something at the time I was curious about for some odd reason.

Hey real quick.

Were you able to grab all of those clock themes back when you first started this project?

There's been a few that I have not been able to download such as this one:
http://gnome-look.org/content/show.p...content=108950

Thanks shin!
 
tso's Avatar
Posts: 4,783 | Thanked: 1,253 times | Joined on Aug 2007 @ norway
#60
Originally Posted by shin View Post
This is something that I was working on since the SVGClock performance tuning.. Should be able to post soon

what clock theme is that?
__________________
Be warned, posts are often line of thoughts at highway speeds...
 
Reply

Thread Tools

 
Forum Jump


All times are GMT. The time now is 22:19.