diff options
author | Thomas Grill <xovo@users.sourceforge.net> | 2005-07-30 21:59:43 +0000 |
---|---|---|
committer | Thomas Grill <xovo@users.sourceforge.net> | 2005-07-30 21:59:43 +0000 |
commit | daa96ad41798ba2f9ccf55633141df55bd1d150c (patch) | |
tree | f1fd2dd23d0747cbbb95d1bc6567633b770f1d42 /externals/grill/flext/source/flclass.h | |
parent | 9b39e0d94c73773d0dc4b11d9355798d941921e8 (diff) |
- better handling of click callback
- more compatible handling of attributes in patcher (hiding is now an option - define FLEXT_ATTRHIDE)
svn path=/trunk/; revision=3395
Diffstat (limited to 'externals/grill/flext/source/flclass.h')
-rw-r--r-- | externals/grill/flext/source/flclass.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/externals/grill/flext/source/flclass.h b/externals/grill/flext/source/flclass.h index d7158d3d..cf7cec62 100644 --- a/externals/grill/flext/source/flclass.h +++ b/externals/grill/flext/source/flclass.h @@ -912,11 +912,13 @@ private: static void SetGfx(t_classid c); -#if !defined(FLEXT_NOATTREDIT) +#ifndef FLEXT_NOATTREDIT // attribute editor - static void attrsetup(t_classid c); static bool cb_AttrDialog(flext_base *c,int argc,const t_atom *argv); static void cb_GfxProperties(t_gobj *c, t_glist *); +#endif + +#ifdef FLEXT_ATTRHIDE static void cb_GfxVis(t_gobj *c, t_glist *gl, int vis); static void cb_GfxSave(t_gobj *c, t_binbuf *b); static void cb_GfxSelect(t_gobj *x, struct _glist *glist, int state); @@ -1022,7 +1024,7 @@ private: static void cb_loadbang(t_class *c); #if FLEXT_SYS == FLEXT_SYS_PD - static int cb_click(t_gobj *z, struct _glist *glist,int xpix, int ypix, int shift, int alt, int dbl, int doit); + static void cb_click(t_gobj *z,t_floatarg xpos,t_floatarg ypos,t_floatarg shift,t_floatarg ctrl,t_floatarg alt); #endif #if FLEXT_SYS == FLEXT_SYS_MAX |