aboutsummaryrefslogtreecommitdiff
path: root/tcl_extras.h
diff options
context:
space:
mode:
authormescalinum <mescalinum@users.sourceforge.net>2009-09-01 17:41:16 +0000
committermescalinum <mescalinum@users.sourceforge.net>2009-09-01 17:41:16 +0000
commit893a02e2c234330cd547e2bbbdc779f5c6050bea (patch)
tree40389e1af44c1d33bb3e525af5af76906b215e38 /tcl_extras.h
parent5cfef34ec9fc67df3149436a83873ce527d4af9d (diff)
add skeleton for classes with widgetbehavior (GUI classes)
svn path=/trunk/externals/tclpd/; revision=12165
Diffstat (limited to 'tcl_extras.h')
-rw-r--r--tcl_extras.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/tcl_extras.h b/tcl_extras.h
index 370145d..cdfc2e5 100644
--- a/tcl_extras.h
+++ b/tcl_extras.h
@@ -45,6 +45,7 @@ void tclpd_interp_error(int result);
/* tcl_class.cxx */
t_class* tclpd_class_new(char* name, int flags);
+t_class* tclpd_guiclass_new(const char* name, int flags);
t_tcl* tclpd_new(t_symbol* classsym, int ac, t_atom* at);
void tclpd_free (t_tcl* self);
void tclpd_anything(t_tcl* self, t_symbol* s, int ac, t_atom* at);
@@ -54,6 +55,13 @@ t_tcl* tclpd_get_instance(const char* objectSequentialId);
t_object* tclpd_get_object(const char* objectSequentialId);
t_pd* tclpd_get_object_pd(const char* objectSequentialId);
void poststring2(const char* s);
+void tclpd_guiclass_getrect(t_gobj* z, t_glist* owner, int* xp1, int* yp1, int* xp2, int* yp2);
+void tclpd_guiclass_displace(t_gobj* z, t_glist* glist, int dx, int dy);
+void tclpd_guiclass_select(t_gobj* z, t_glist* glist, int selected);
+void tclpd_guiclass_activate(t_gobj* z, t_glist* glist, int state);
+void tclpd_guiclass_delete(t_gobj* z, t_glist* glist);
+void tclpd_guiclass_vis(t_gobj* z, t_glist* glist, int vis);
+int tclpd_guiclass_click(t_gobj* z, t_glist* glist, int xpix, int ypix, int shift, int alt, int dbl, int doit);
/* tcl_loader.cxx */
extern "C" int tclpd_do_load_lib(t_canvas* canvas, char* objectname);