summaryrefslogtreecommitdiff
path: root/lib/gem.c
diff options
context:
space:
mode:
authorJeff Armstrong <jeffrey.armstrong@approximatrix.com>2011-07-24 22:26:32 -0400
committerJeff Armstrong <jeffrey.armstrong@approximatrix.com>2011-07-24 22:26:32 -0400
commit5eaecae93f7ba32b6bec9515dfa465130bc8b808 (patch)
tree8eccbc1aafdbffc2684b43e77cffa0f9dbe7ecbd /lib/gem.c
parentfce2b435d228d240e24656d6baf47f7d6022b730 (diff)
downloadgempy-5eaecae93f7ba32b6bec9515dfa465130bc8b808.tar.gz
gempy-5eaecae93f7ba32b6bec9515dfa465130bc8b808.zip
Added VDI routines. Added proper resource handling, some menu library code, and object library code.
Diffstat (limited to 'lib/gem.c')
-rw-r--r--lib/gem.c15
1 files changed, 14 insertions, 1 deletions
diff --git a/lib/gem.c b/lib/gem.c
index cbb3b5b..f842dd1 100644
--- a/lib/gem.c
+++ b/lib/gem.c
@@ -49,8 +49,15 @@ GemMethods[] = {
{"wind_set_string", py_wind_set_string, METH_VARARGS, "Set a string window parameter"},
{"wind_update", py_wind_update, METH_VARARGS, "Lock window redraw for updates"},
+ /* AES Event Libary */
{"evnt_multi", py_evnt_multi, METH_VARARGS | METH_KEYWORDS, "Process multiple GEM events."},
+ /* AES Menu Library */
+ {"menu_bar", py_menu_bar, METH_VARARGS, "Install or hide a GEM menubar"},
+
+ /* AES Object Library */
+ {"objc_draw", py_objc_draw, METH_VARARGS, "Draw an AES object to the screen"},
+
/* VDI Functions */
{"v_open_screen", py_v_open_screen, METH_NOARGS, "Open and retrieve a handle to a virtual screen workstation"},
{"v_clsvwk", py_v_clsvwk, METH_VARARGS, "Close a virtual workstation"},
@@ -126,6 +133,12 @@ PROC LibFunc[] = {
/* AES Event Library */
"py_evnt_multi", "Internal\n", py_evnt_multi,
+ /* AES Menu Library */
+ "py_menu_bar", "Internal\n", py_menu_bar,
+
+ /* AES Object Library */
+ "py_objc_draw", "Internal\n", py_objc_draw,
+
/* VDI Functions */
"py_v_open_screen", "Internal\n", py_v_open_screen,
"py_v_clsvwk", "Internal\n", py_v_clsvwk,
@@ -138,7 +151,7 @@ PROC LibFunc[] = {
};
LDGLIB LibLdg[] = {
- 0x0001, 29, LibFunc, "GEM Extensions for Python", 0
+ 0x0001, 31, LibFunc, "GEM Extensions for Python", 0
};
int main( void)