[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Sun, 29 Apr 2007 13:37:36 +0200
Thunderbird 126.96.36.199 (X11/20060911)
there is a small but very annoying problem with your patch for gui: You
added some clean up of he formatting to it. Now it is great to replace
the tab characters that went into the files with spaces. After noticing
that my editor used tabs instead of spaces for indentation I switched
that off and started to clean up files myself, each time I do a commit
on GNUstep. But having to proofread a huge patch with mostly whitespace
changes is rather boring. It is too easy to miss out on the important
bits, while skipping over the formatting changes.
Also your indentation does not match with the formatting rules for
GNUstep. You use
whereas GNUstep has
(There are other differences as well, but this is the most prominent)
Could you please switch over to the GNUstep style before doing a huge
For the changes to the comments, I also don't see why the reformatting
As much as I like some of the stuff you did with the Windows themes, in
the current form this patch is not ready for a review.
Have your thought about moving your NSColor code into a separate
application that will just change the system colour list and write it
out? Your code is great for most cases, but when somebody tries to
access the system colour list the result will be totally different.
The theming extensions for menu and scrollers are surely something we need.
To make your live easier in the future I will submit a whitespace change
to NSButtonCell and NSMenuItemCell removing all the tab characters.
Christopher Armstrong wrote:
> I've been playing around with our theming API (GSTheme) with the intent
> of fleshing it out a bit further. In order to confirm the style of
> programmatic API I've been using, I have been trying to integrate
> Windows uxtheme with the API in order to demonstrate it that it is
> For those who are interested in what is happening, and are running
> GNUstep on Windows XP or Vista, please look at:
> The first is a patch that should be applied against the current
> gnustep-gui SVN (don't use your working copy as this patch is not by any
> means complete). It gives a (partial) API for theming menus and
> scrollbars, on top of the existing buttons themeing.
> The second file is a bundle that compiles to a theme. It links against
> uxtheme so you will need at least Windows XP (I've only tested against
> Windows Vista however) and uses code that is private and specific to the
> win32/winlib backend.
> I'm putting this up as a point of discussion. Comments and suggestions
> are welcome.
> carmstrong at fastmail dot com dot au
> Discuss-gnustep mailing list
- Themeing, Christopher Armstrong, 2007/04/29
- Re: Themeing,
Fred Kiefer <=