[Openmcl-devel] LUI with OpenGL (was: bad impressions to Lisp newbies)
Raffael Cavallaro
raffaelcavallaro at mac.com
Sat Apr 25 11:06:29 PDT 2009
On Apr 25, 2009, at 12:58 AM, Alexander Repenning wrote:
> Let me know if you can crash this.
This example code from "test case examples.lisp"
<application-window title="OpenGL 3D" margin="12" width="300"
height="300">
<column align="stretch" valign="stretch">
<row minimize="vertical" align="stretch" valign="middle">
<label text="red" align="right" width="50"/>
<slider name="red" action="adjust-vertex-color-action" max-
value="1.0" flex="1"/>
<label text="0.00" name="red label" width="40"/>
</row>
<row minimize="vertical" align="stretch" valign="middle">
<label text="green" align="right" width="50"/>
<slider name="green" action="adjust-vertex-color-action" max-
value="1.0" flex="1"/>
<label text="0.00" name="green label" width="40"/>
</row>
<row minimize="vertical" align="stretch" valign="middle">
<label text="blue" align="right" width="50"/>
<slider name="blue" action="adjust-vertex-color-action" max-
value="1.0" flex="1"/>
<label text="0.00" name="blue label" width="40"/>
</row>
<spacer height="12"/>
<triangle-opengl-dialog name="opengl" vflex="1"/>
<spacer height="12"/>
<row align="stretch" valign="stretch" vflex="2">
<triangle-opengl-dialog name="opengl2" flex="1"/>
<spacer height="12" width="12"/>
<triangle-opengl-dialog name="opengl3" flex="1"/>
</row>
</column>
</application-window>
results in this error:
> Error: class: XML-CONTENT does not have slot matching attribute
name: NAME
> While executing: #<STANDARD-METHOD SET-ATTRIBUTE-VALUE (XML-
SERIALIZER T T)>, in process Listener(6).
> Type :POP to abort, :R for a list of available restarts.
> Type :? for other options.
warmest regards,
Ralph
Raffael Cavallaro, Ph.D.
raffaelcavallaro at mac.com
More information about the Openmcl-devel
mailing list