Re: Themes Themes... Drool time?
- From: Jason Gilbert <jason scott net>
- To: gnome-themes-list gnome org
- CC: gnome-gui-list gnome org
- Subject: Re: Themes Themes... Drool time?
- Date: Thu, 26 Feb 1998 14:02:08 -0600
Joel Dillon wrote:
>
> > ALL drawing code is outside of gtk (currently i have only moved butotn
> > drawing code out). the theme contains all the code to do this - so gtk
> > doesn't have any drawing code anymore. thsi makes gtkbuton about
> > 400 lines shorter- and makes it cleaner. the theme library contains the
> > drawing code - if no theme is specified the default theme library is
> > loaded to do the drawing - which loosk just like what you have now.
Well, I guess what I meant was (this could probably be gathered from the
src) say someone writes a new theme, but only decides to do the drawing
code in their theme and want everything else to use the default. Is it
a requirement that a theme .so must implement every drawing routine?
> It seems better to have a 'default' drawing code built into gtk
> in case loading the .so fails for some reason (library corruption,
> dodgy paths or whatever). Putting everything in .so's adds something
> else to go wrong ;)
good point. Gtk should probably be able to exist on its own w/o any
additional .so necessary.
BTW, is it planned for the themability to be merged into the main gtk
dist?
jason
--
Jason Gilbert | http://www.scott.net/~jason/ | http://www.mantissa.com/
"The total job will be in the software, and we'll be able to write big
fat programs. We can let them run somewhat inefficiently because there
will be so much horsepower that just sits there. The real focus won't
be who can cram it down in, or who can do it in machine language. It
will be on who can define the right user interface and properly
integrate the main packages." -- Bill Gates, PC Magazine 1982
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]