[ptx] artifacts when scrolling

douglas wilkins dgswilkins at yahoo.co.uk
Tue May 31 06:27:22 BST 2005


--- Rob Park <rbpark at gmail.com> wrote:

> On 5/30/05, douglas wilkins <dgswilkins at yahoo.co.uk> wrote:
> > > That's kinda sad, though. wx doesn't draw borders properly. Solution?
> > > Don't use borders.
> > 
> > Welcome to the world of wx. Actually in this case I really don't mind - it
> > looks  OK to me.
> 
> Well, I agree, the no-border look is sexier, but it just annoys me
> that the solution to something broken isn't to fix it, but to just not
> use it.

The fix is probably easy, but it implies patches to the library code, which
(most  linux users anyway) have as part of their distribution, so we can't do
that. We couldn't use scrollable windows on wx 2.4.2 because of a bug which had
a one line fix in the wx library.

> 
> Anyway, I've been playing with XUL all day and I'm really impressed by
> it. It's XML is *much* more concise than that XRC crap. To give you an
> example of how simple it is, I've recreated the "Images" and "Camera
> and Lens" tabs in XUL, with no experience, writing it by hand in
> emacs, in just a few hours.
> 
> The best part is that you can actually use CSS to control the look of
> the widgets, which is an absolute godsend as far as reducing
> redundancy in the XUL. Here's a couple screenshots for ya:
> 
> http://artography.ath.cx/hugin-xul-images.png

I like the look of this, but isn't it a little too long vertically? There
doesn't seem to be enough space at the bottom for the preview image.

> 
> http://artography.ath.cx/hugin-xul-lens.png
> 
> At this point I have no idea how hard it would be to code in the
> actual functionality, but I'm having fun with this, it's so easy to
> write and it looks good (yes, I'm a superficial bastard) ;)

If you take a look at the mozilla site for XUL you'll find the following
statement:
"The intention is to build cross-platform applications like browsers and mail
clients from a set of tools designed for that purpose. The intention is not to
implement a generic cross-platform application framework. That's been done, and
is a great deal of work. We intend to provide a subset of cross-platform
functionality suitable for building network applications like browsers,
leveraging the cross-platform functionality already built into Gecko, Mozilla's
HTML layout engine."

hugin doesn't fit into any of these categories. 

Also using XUL would imply using the xpfe component to do layout rendering, but
it does not have any of the other functionality that frameworks such as wx, QT,
GTK etc. provide and is really aimed at html rendering as far as I can see. The
work that we need the framework to do, on the control point tab for instance, I
doubt can be done by xpfe.

regards,
Doug


	
	
		
___________________________________________________________ 
Yahoo! Messenger - NEW crystal clear PC to PC calling worldwide with voicemail http://uk.messenger.yahoo.com


More information about the ptX mailing list