1ATLAS janus object definition file (modeline for XEmacs: -*-Python-*-)
2IWILL Bach_beta2
3
4[
5## janus attributes, read in first
6{
7## Possible values are 'shown', 'hidden', and 'console'. 'console' indicates
8## an element in the game console instead of in a dialog, and can only
9## be set by inheriting from a parent with display_status of 'console'.
10## Also, 'console' archetypes cannot be packed into frames to create
11## new archetypes
12    id:"display_status",
13    parents:["string"],
14    objtype:"type",
15    summary:"whether or not the entity is currently displayed"
16},
17{
18    id:"valign",
19    parents:["string"],
20    objtype:"type",
21    summary:"vertical alignment of children in this frame"
22},
23{
24    id:"halign",
25    parents:["string"],
26    objtype:"type",
27    summary:"horizontal alignment of children in this frame"
28},
29{
30    id:"rel_pos",
31    parents:["string"],
32    objtype:"type",
33    summary:"relative position of successive children in this frame"
34},
35{
36    id:"target",
37    parents:["list"],
38    objtype:"type",
39    element_type:"string",
40    summary:"List of entities to watch for attribute changes"
41},
42## basic UI types
43{
44    id:"u_i_entity",
45    parents:["admin_entity"],
46    summary:"The root entity for UI elements. UI entities are (mostly) owned by the client instead of the server",
47    display_status:"hidden"
48},
49{
50    id:"frame",
51    parents:["u_i_entity"],
52    summary:"bear's widget packing frame class, see http://code-bear.dyndns.org/~bear/janus.html",
53    valign:"center",
54    halign:"left",
55    rel_pos:"below"
56## Child widgets are specified using the 'contains' attribute
57},
58{
59    id:"slot",
60    parents:["u_i_entity"],
61    summary:"A base class for entities which respond to changes in an entity's argument map",
62    target:[]
63}
64]
65