
	spComponentEx

Introduction
------------

spComponentEx is an extension set of spComponent which is a GUI toolkit
working on multiple platforms. The part that many people have difficulty in
compilation is isolated from spComponent.

Currently, a set of functions to support for OpenGL is prepared. This OpenGL
support enables multi-platform programming using GUI and OpenGL.

In some environments (Android version and Cocoa version), there is no library
file (such as `.a' file) specific to spComponentEx. In this case, the object
files related to spComponentEx are linked to spComponent library.


Bugs
----

Mac OS X (Carbon version) has a bug that multiple OpenGL canvases in one
window cannot execute drawing correctly. You can see this bug in
example/multicanvas.c. In this example, the application draws to the two
canvases ideally, but it draws only to the left canvas instead.


Data Types
----------

spGLContext
spGLVisual
spGLString


Functions
---------

spIsGLCanvas
spIsGLDrawableComponent
spIsGLDrawable

spCreateGLVisual
spDestroyGLVisual
spCreateGLContext
spDestroyGLContext
spCreateGLCanvas
spSetGLContext
spGetGLContext

spGLSwapBuffers
spGLFlush
spGLWaitGLDrawing
spGLWaitSystemDrawing

spGLUseFont

spCreateGLString
spDestroyGLString
spSetGLStringParams
spGetGLStringExtent
spSetGLStringPos3f
spDrawGLString
