diff options
| author | Jeff Armstrong <jeffrey.armstrong@approximatrix.com> | 2011-07-14 22:49:28 -0400 |
|---|---|---|
| committer | Jeff Armstrong <jeffrey.armstrong@approximatrix.com> | 2011-07-14 22:49:28 -0400 |
| commit | 7e9b495ca8c5aef1b4f3e4d5a29283df27348a84 (patch) | |
| tree | 44246a5ac35ab49e3d12543e2c08e9e581302c0f /lib/gem.c | |
| parent | f4be6ead7080a62c18058b42e4b50b9a92c2ff3a (diff) | |
| download | gempy-7e9b495ca8c5aef1b4f3e4d5a29283df27348a84.tar.gz gempy-7e9b495ca8c5aef1b4f3e4d5a29283df27348a84.zip | |
Added graphics functions and a stub for the event handling call.
Diffstat (limited to 'lib/gem.c')
| -rw-r--r-- | lib/gem.c | 14 |
1 files changed, 12 insertions, 2 deletions
@@ -28,6 +28,10 @@ GemMethods[] = { {"form_do", py_form_do, METH_VARARGS, "Processes a dialog"}, {"form_center", py_form_center, METH_VARARGS, "Centers an object"}, + /* AES Graphics Library */ + {"graf_handle", py_graf_handle, METH_NOARGS, "Return a handle to the VDI"}, + {"graf_mouse", py_graf_mouse, METH_VARARGS, "Sets the mouse pointer"}, + /* AES Resource Library */ {"rsrc_load", py_rsrc_load, METH_VARARGS, "Load a resource into memory"}, {"rsrc_gaddr", py_rsrc_gaddr, METH_VARARGS, "Return an encapsulated memory address of a resource component"}, @@ -86,6 +90,10 @@ PROC LibFunc[] = { "py_form_do", "Internal\n", py_form_do, "py_form_center", "Internal\n", py_form_center, + /* AES Graphics Library */ + "py_graf_handle", "Internal\n", py_graf_handle, + "py_graf_mouse", "Internal\n", py_graf_mouse, + /* AES Resource Library */ "py_rsrc_load", "Internal\n", py_rsrc_load, "py_rsrc_gaddr", "Internal\n", py_rsrc_gaddr, @@ -97,11 +105,13 @@ PROC LibFunc[] = { "py_wind_delete", "Internal\n", py_wind_delete, "py_wind_close", "Internal\n", py_wind_close, "py_wind_update", "Internal\n", py_wind_update, - "py_wind_set", "Internal\n", py_wind_set + "py_wind_set", "Internal\n", py_wind_set, + + NULL,NULL,NULL }; LDGLIB LibLdg[] = { - 0x0001, 18, LibFunc, "GEM Extensions for Python", 0 + 0x0001, 20, LibFunc, "GEM Extensions for Python", 0 }; int main( void) |
