[haiku-development] Re: Resource files (and other questions)
- From: pete.goodeve@xxxxxxxxxxxx
- To: haiku-development@xxxxxxxxxxxxx
- Date: Tue, 12 May 2009 14:47:03 -0700
On Tue, May 12, 2009 at 08:57:28AM +0200, Stephan Assmus wrote:
> Hi Pete,
>
> On 2009-05-11 at 23:32:37 [+0200], pete.goodeve@xxxxxxxxxxxx wrote:
> > How are people handling resource files in Haiku?
> > I'm used to popping them open in FileTypes and updating things like
> > version number, but this doesn't currently seem to work. xres obviously
> > is present and does its job, but it's not at all convenient for most
> > little updates.
>
> I just tried to open an "application" .rsrc file and while it does open in
> FileTypes, you don't get the application resource window, but the regular
> file window. It could be considered "correct", because it's indeed just a
> file, not an application, only happes to be resources for an application,
> but the BeOS behavior was of course more convenient. Maybe we could change
> that...
Yeah -- I believe that earlier BeOS versions of FileTypes didn't have
special resource file handling either, but it sure is convenient.
I can't imagine it would be hard to put in -- looks like the BeOS one
just treats resource files like apps.
>
> However, what has become a lot more popular in Haiku is using the
> text-based .rdef files. You can convert your .rsrc to .rdef (and back)
> using rc, which is installed by default on Haiku. It will tell you how to
> use it. I find editing .rdef files more flexible than editing .rsrc files
> using FileTypes in BeOS. Also Icon-O-Matic and WonderBrush both have
> special export support for .rdef files.
Ahh -- "rc"... not an app name that immediately jumps to mind! (:-))
Never needed to play with rdefs, but I'll give them a try.
Should the makefile-engine maybe include support for them, too?
I don't suppose Dianne or any of the others involved with QuickRes have
ever shown up around here? That never seemed to be considered particularly
proprietary by Be, but there's no source, is there?
Thanks,
-- Pete --
Other related posts: