19 |
|
|
20 |
In testing mode: |
In testing mode: |
21 |
Object testing etc. only changes obj->spec, it never touches the |
Object testing etc. only changes obj->spec, it never touches the |
22 |
superspec. |
superspec. |
23 |
|
|
24 |
In saving the spec info: |
In saving the spec info: |
25 |
We always save the spec info using superSPEC. |
We always save the spec info using superSPEC. |
26 |
|
|
27 |
In Loading the spec info: |
In Loading the spec info: |
28 |
spec info is first loaded into a superspec, which |
spec info is first loaded into a superspec, which |
29 |
is then transfered into obj->spec. |
is then transfered into obj->spec. |
30 |
|
|
31 |
For object like buttons where some of the information is not |
For object like buttons where some of the information is not |
32 |
on the SPEC structure, we'll have to create the members |
on the SPEC structure, we'll have to create the members |
33 |
on SuperSPEC as well as a seperate structure that |
on SuperSPEC as well as a seperate structure that |
34 |
"hangs off" of SuperSPEC. When modifying attributes, |
"hangs off" of SuperSPEC. When modifying attributes, |
35 |
we modify this seperate structure as if it is part of the button. |
we modify this seperate structure as if it is part of the button. |
36 |
We copy this info SuperSPEC only if AcceptSpec. |
We copy this info SuperSPEC only if AcceptSpec. |
37 |
|
|
38 |
When save/emit, always do it from SuperSPEC |
When save/emit, always do it from SuperSPEC |