Roland: I applied that change. It looked fine on dark background themes but on Aero-ion it was still as not right. Maybe it has more to do with the theme? I did try an old GTK ruler widget with Aero-ion and it looked fine. snafu > Date: Thu, 16 Oct 2008 21:30:26 +0200 > From: box2OO6 eudoxos de > To: gtkdatabox-list gnome org > Subject: Re: Version 0.8.2.2: Ruler updates 'smearing' > > Hi John, > > nice photo of you, and yes, the application does look awful. > > Hmm. Since I am also not really themes expert (never cared about them, > my windows are still grey), I can only guess (and hope for more > knowledgeable readers of this mailing list): > > I quickly went through the code of the gtkdatabox_ruler. The only thing > that caught my eye is the following: > > gdk_draw_drawable (widget->window, > widget->style->black_gc, > ruler->priv->backing_pixmap, > ruler->priv->xsrc, ruler->priv->ysrc, > ruler->priv->xsrc, ruler->priv->ysrc, bs_width, bs_height); > > The black_gc probably needs to be replaced by > fg_gc[GTK_WIDGET_STATE(ruler)]. It does do no harm on my machine and > seems to be more consistent. > > Let me know, if that helped... > > > Regards, > > Roland > > > > John Smith wrote: > > Roland: > > > > Thanks for the speedy response! > > > > It turns out that the example program basics does the same thing on my > > target platform. > > > > In addition it appears that the problem is related to a GTK+ theme. I > > happen to be using Aero-ion3.1 theme that has a black background - this > > is where the problem is apparent. However if I select another theme such > > as Clearlooks with a light background the scale appears 'the way it > > should'. > > > > I've attached a photo of basics started when the Aero-ion3.1 theme is > > selected. > > > > Hope this helps... > > > > snafu > > > > > Date: Wed, 15 Oct 2008 20:38:09 +0200 > > > From: box2OO6 eudoxos de > > > To: gtkdatabox-list gnome org > > > Subject: Re: Version 0.8.2.2: Ruler updates 'smearing' > > > > > > Hi John, > > > > > > since version 0.8.0.0, GtkDatabox comes with its own rulers. > > > > > > The old gtk+ rulers have several problems, when ranges are very big or > > > very small. The gtk+ developers are aware of this and will eventually > > > remove the current rulers from gtk+. The GtkDatabox rulers aim at > > > dealing better with extreme ranges while being at least as good with > > > 'normal' ranges. > > > > > > In addition, the GtkDatabox rulers support logarithmic scaling. > > > > > > Your's is the first negative feedback regarding the new rulers, if I am > > > not mistaken. > > > > > > The only 'new' thing for you to that I can think of is: If you took care > > > of placing the rulers yourself in your old code (instead of using > > > gtk_databox_create_box_with_scrollbars_and_rulers), you would need to > > > modify your code to use the new rulers. Since your code obviously > > > compiles, there is nothing 'new' I can think of. Sorry. > > > > > > Also, I have no experience with the ARM platform at all. > > > > > > So what can be done? > > > > > > First of all, can you please try to zoom in and out with the examples, > > > which come with the library? This basically has the same effect for the > > > rulers as auto-rescaling. Do you see the same effect there? > > > > > > Second, can you reproduce the effect with a minimal program that you can > > > share so that others can check whether the see the same effect? > > > > > > Third: The rulers are using cairo and I am certainly not the most > > > knowledgeable person when it comes to cairo. So I suspect that there is > > > something not done in the right way with cairo. > > > > > > Maybe some cairo expert can take a closer look? > > > > > > > > > Regards, > > > > > > Roland > > > > > > > > > > > > > > > John Smith wrote: > > > > Platform: ARM 920T (Cirrus Logic EP9315) > > > > Kernel 2.6.21.5 > > > > GTK+ Version 2.10.14 > > > > X-Windows: Kdrive > > > > Build System: Angstrom/OpenEmbedded > > > > gcc Version: 4.1.2 > > > > > > > > Application: Updating plot with 'real-time' data and auto-scaling > > > > periodically. > > > > > > > > Was using rev 0.6.0.0 without a problem. Updated to 0.8.2.2 and now > > the > > > > rulers become all smeared and illegible. > > > > > > > > Is there something 'new' that has to be done or set with the new > > version? > > > > > > > > Thanks in advance, > > > > > > > > snafu > > > > > > > > > > ------------------------------------------------------------------------ > > > > Stay up to date on your PC, the Web, and your mobile phone with > > Windows > > > > Live. See Now > > <http://clk.atdmt.com/MRT/go/msnnkwxp1020093185mrt/direct/01/> > > > > > > > > > > > > > > ------------------------------------------------------------------------ > > > > > > > > _______________________________________________ > > > > gtkdatabox-list mailing list > > > > gtkdatabox-list gnome org > > > > http://mail.gnome.org/mailman/listinfo/gtkdatabox-list > > > > > > _______________________________________________ > > > gtkdatabox-list mailing list > > > gtkdatabox-list gnome org > > > http://mail.gnome.org/mailman/listinfo/gtkdatabox-list > > > > ------------------------------------------------------------------------ > > Want to do more with Windows Live? Learn “10 hidden secrets” from Jamie. > > Learn Now > > <http://windowslive.com/connect/post/jamiethomson.spaces.live.com-Blog-cns!550F681DAD532637!5295.entry?ocid=TXT_TAGLM_WL_domore_092008> > > ------------------------------------------------------------------------ > > > > > > ------------------------------------------------------------------------ > > > > _______________________________________________ > > gtkdatabox-list mailing list > > gtkdatabox-list gnome org > > http://mail.gnome.org/mailman/listinfo/gtkdatabox-list > > _______________________________________________ > gtkdatabox-list mailing list > gtkdatabox-list gnome org > http://mail.gnome.org/mailman/listinfo/gtkdatabox-list You live life beyond your PC. So now Windows goes beyond your PC. See how |