Re: [ANNOUNCE] GimpMill - A Sawmill Theme Tool
Hi, > Nobody (I mean it ;) uses the gserialize feature, for example (which has > problems of its own) Do you know of any probelms with geserialize? I use the functions for a project at university and would like to hear about problems I have not yet been able to observe (the ones I found were fixed in Gimp CVS). Salut, Sven
Re: [ANNOUNCE] GimpMill - A Sawmill Theme Tool
On Tue, Jan 11, 2000 at 07:25:30AM -0500, Kelly Lynn Martin <[EMAIL PROTECTED]> wrote: > A convenient user-accessible parasite editor would make this sort of > thing MUCH friendlier -- instead of having to use magic cookie layer > names you'd just click on a button on the layer dialog and edit the > layer's externally-defined properties What do you have in mind? The current parasite-editor suffers from (among other problems) the lack of standardization. Nobody (I mean it ;) uses the gserialize feature, for example (which has problems of its own), so the only options are string and hex-editing at the moment. (Although I prefer human-readable parasites over difficult-to-prase gserialize for impossible to parse ad-hoc binary formats). There is also the problem of non-persistant parasites. Is it worth the effort to use a "portable" format for these kind of parasites? In theory the plug-ins that generate them should be able to edit them much better then a parasite-editor. (But I am sure plug-ins will be able to add themselves to the layers&channels menu in 1.2 or so, making it possible to add the parasite-editor (or a parasite editor) there). -- -==- | ==-- _ | ---==---(_)__ __ __ Marc Lehmann +-- --==---/ / _ \/ // /\ \/ / [EMAIL PROTECTED] |e| -=/_/_//_/\_,_/ /_/\_\ XX11-RIPE --+ The choice of a GNU generation | |
Re: [ANNOUNCE] GimpMill - A Sawmill Theme Tool
On Tue, Jan 11, 2000 at 07:25:30AM -0500, Kelly Lynn Martin wrote: > On Tue, 11 Jan 2000 00:55:10 +0800, Ian McKellar <[EMAIL PROTECTED]> said: > > >For each of the frame parts create a separate layer in the way > >described above, but call each of these "PART: name" where name will > >be used in the image name. To set frame part attributes append "name > >= value" pairs to the frame part's layer's name (e.g. "PART: > >closebutton class=close-button"). Finally to specify the difference > >between the default frame decoration and the focussed, mouseover, etc > >decoration you can optionally create layers called NORMAL, FOCUSED, > >HIGHLIGHTED and CLICKED. These are merged with frame part layers > >before they're saved. Often a black layer with 50% opacity in > >"Multiply" mode will be what you're after, but if nececarry you can > >provide complete replacement images. > > A convenient user-accessible parasite editor would make this sort of > thing MUCH friendlier -- instead of having to use magic cookie layer > names you'd just click on a button on the layer dialog and edit the > layer's externally-defined properties > I'm going to try to implement this tonight. I was going to write a user-accessible cryptic-cookie-layer-name editor, but parasites are the Right Way I guess. I'll also fix that problem whereby the plugin doesn't actually work at all :) Ian -- Ian McKellar | Email: yakk(a)yakk.net | Web: http://www.yakk.net/ Fax: +61 (8) 9265 0821 / +0 (775) 205 0307 | Home: +61 (8) 9389 9152 If God didn't want us to eat animals, he wouldn't have made them out of meat.
Re: [ANNOUNCE] GimpMill - A Sawmill Theme Tool
On Tue, 11 Jan 2000 00:55:10 +0800, Ian McKellar <[EMAIL PROTECTED]> said: >For each of the frame parts create a separate layer in the way >described above, but call each of these "PART: name" where name will >be used in the image name. To set frame part attributes append "name >= value" pairs to the frame part's layer's name (e.g. "PART: >closebutton class=close-button"). Finally to specify the difference >between the default frame decoration and the focussed, mouseover, etc >decoration you can optionally create layers called NORMAL, FOCUSED, >HIGHLIGHTED and CLICKED. These are merged with frame part layers >before they're saved. Often a black layer with 50% opacity in >"Multiply" mode will be what you're after, but if nececarry you can >provide complete replacement images. A convenient user-accessible parasite editor would make this sort of thing MUCH friendlier -- instead of having to use magic cookie layer names you'd just click on a button on the layer dialog and edit the layer's externally-defined properties Kelly
Re: [ANNOUNCE] GimpMill - A Sawmill Theme Tool
On Mon, Jan 10, 2000 at 09:09:51AM -0800, Carl B. Constantine wrote: > On 1/10/2000 8:55, Ian McKellar at [EMAIL PROTECTED] wrote: > > > GimpMill is a GIMP plugin written in Python using James Henstrige's > > really cool Python GIMP bindings. It allows the construction of Sawmill > > themes within The GIMP - extending the GIMP interface to allow theme > > creation like the GAP extends it to allow animation creation. > > very cool! I've been meaning to take a hard look at Sawmill and compare it > with E and such like. I have theme ideas and this will help greatly. Sawmill is vastly superior. For a start its missing all of E's extra features :) > > Also, slightly off topic, but there is also another sawmill theme creation > tool in the works by John Harper. There's a link to it on the > sawmill.themes.org site. > Yes, its apparently part of 0.21 which I haven't had a chance to look at yet. I thought I would write mine before I got to see his, so my ideas weren't clouded by reality. I strongly feel that theme production tools which are integrated into GIMP are the right way to go. Ian -- Ian McKellar | Email: yakk(a)yakk.net | Web: http://www.yakk.net/ Fax: +61 (8) 9265 0821 / +0 (775) 205 0307 | Home: +61 (8) 9389 9152 If God didn't want us to eat animals, he wouldn't have made them out of meat.
Re: [ANNOUNCE] GimpMill - A Sawmill Theme Tool
On 1/10/2000 8:55, Ian McKellar at [EMAIL PROTECTED] wrote: > GimpMill is a GIMP plugin written in Python using James Henstrige's > really cool Python GIMP bindings. It allows the construction of Sawmill > themes within The GIMP - extending the GIMP interface to allow theme > creation like the GAP extends it to allow animation creation. very cool! I've been meaning to take a hard look at Sawmill and compare it with E and such like. I have theme ideas and this will help greatly. Thank you very much. Also, slightly off topic, but there is also another sawmill theme creation tool in the works by John Harper. There's a link to it on the sawmill.themes.org site. -- __ _ Carl B. Constantine / / (_)__ __ __ [EMAIL PROTECTED] / /__/ / _ \/ // /\ \/ / (2.2.12)http://www.pobox.com/~macman //_/_//_/\_ _/ /_/\_\ Stormix 0.99b4 PGP key available on request VLUG - Victoria Linux Users GroupICQ: 26351441
[ANNOUNCE] GimpMill - A Sawmill Theme Tool
_ __ __ _ _ _ / ___(_)_ __ ___ _ __ | \/ (_) | | | | _| | '_ ` _ \| '_ \| |\/| | | | | | |_| | | | | | | | |_) | | | | | | | \|_|_| |_| |_| .__/|_| |_|_|_|_| |_| 0.1 A Sawmill theme tool for The GIMP. GimpMill is a GIMP plugin written in Python using James Henstrige's really cool Python GIMP bindings. It allows the construction of Sawmill themes within The GIMP - extending the GIMP interface to allow theme creation like the GAP extends it to allow animation creation. To run GimpMill you'll need GIMP 1.1 installed (I'm using 1.1.14, but I don't know what other versions will work) and pygimp (Debian package gimp-python, or look at http://www.daa.com.au/~james/pygimp/). Just copy the gimpmill.py file to ~/.gimp-1.1/plug-ins and start The GIMP. GimpMill's design revolves around the design of Sawmill and its themes, so to understand how to use GimpMill you'll need to have a understanding of Sawmill themes. Sawmill themes are based around "frame parts" - images or text that are stuck to the outside of windows. To use GimpMill, first create a mockup "screenshot" of how you would like one window to look. Next turn the "application window" bit of your image (i.e the bit in between your window borders) into its own layer - the size of the window - by selecting the area and using /Select/Float and then /New. Name this layer "WINDOW". For each of the frame parts create a separate layer in the way described above, but call each of these "PART: name" where name will be used in the image name. To set frame part attributes append "name = value" pairs to the frame part's layer's name (e.g. "PART: closebutton class=close-button"). Finally to specify the difference between the default frame decoration and the focussed, mouseover, etc decoration you can optionally create layers called NORMAL, FOCUSED, HIGHLIGHTED and CLICKED. These are merged with frame part layers before they're saved. Often a black layer with 50% opacity in "Multiply" mode will be what you're after, but if nececarry you can provide complete replacement images. Finally "/Filters/Misc/Make Sawmill Theme" will build your theme and put it in your ~/.sawmill/themes directory - ready for you to use and test. Take a look at the BoldLineY.xcf for the nitty gritty implementation details. PROBLEMS: o GIMP 1.1.14 seems to have a bug converting floating selections into layers by pressing /New. If often gets the size wrong and generally internally confused. o Only one frame type is supported. It is used for default, transient, shaped and shaped-transient windows. I would like to support differnt frame types, but I can't think of an elegant way of doing it. I would certainly welcome suggestions. o Its probably hard to produce really complex themes fully using this tool. It is however a good way to produce the required images and an initial theme.jl file. I'm planning to support tiled images when I can think of a nice way of specifying them (again, ideas are more than welcome). NOTE: BoldLineY is based off the BoldLineY screenshot I got off http://www.kaleidoscope.net/. It was designed by Hideaki Kamada. Some more of his themes (or schemes as Kaleidoscope calls them) for the Mac are available at: http://www.kaleidoscope.net/cgi-bin/schemes.cgi?author=hideakikamada Enjoy, and don't forget to submit your themes to sawmill.themes.org. Updates will be posted at http://www.yakk.net/projects.gimpmill.html. Files are stored at ftp://ftp.ucc.gu.uwa.edu.au/members/yakk/gimpmill/. Ian McKellar <[EMAIL PROTECTED]> Tue Jan 11 2000 -- Ian McKellar | Email: yakk(a)yakk.net | Web: http://www.yakk.net/ Fax: +61 (8) 9265 0821 / +0 (775) 205 0307 | Home: +61 (8) 9389 9152 If God didn't want us to eat animals, he wouldn't have made them out of meat.