On Fri, Feb 21, 2003 at 07:27:09PM +0100, Per Olofsson wrote:
> As we've discussed, the current format of the workspace configuration
> files is a bit of a problem. Each frame should have its own block.
>
> frame {
> id 4096
> name "myframe"
> show_tabs FALSE
> }
I was just working on new loading/saving code and currently it looks like
the format is going to be:
object "frame", "myframe" {
target_id 4096
}
The reason for the "object" keyword is that almost all kinds of (managed)
objects should be saveable and loadable and as the manager objects'
sections will contain the managed objects' data (or so is the plan at the
moment; another possibility would be to do this by parentship relations
instead of management), new config file sections would have to be added in
many places.
As name is a WRegion level property that many kinds of objects may have,
this information is also included on the starting line to reduce amount of
redundant code.
--
Tuomo