aboutsummaryrefslogtreecommitdiff
path: root/shared/tkwidgets.h
diff options
context:
space:
mode:
authorHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-11-24 04:07:23 +0000
committerHans-Christoph Steiner <eighthave@users.sourceforge.net>2007-11-24 04:07:23 +0000
commit6abfeaada311a61a9590f076ae100531cff42666 (patch)
treece3c9d3cc639fd30f58ca1ca4dfd6e7f6991181a /shared/tkwidgets.h
parentc00ea30f26399a1e94e923bcb5707434e745530a (diff)
moved inlet/outlet counts to tkwidgets.h
svn path=/trunk/externals/tkwidgets/; revision=9030
Diffstat (limited to 'shared/tkwidgets.h')
-rw-r--r--shared/tkwidgets.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/shared/tkwidgets.h b/shared/tkwidgets.h
index fa444fa..0bc3996 100644
--- a/shared/tkwidgets.h
+++ b/shared/tkwidgets.h
@@ -33,6 +33,10 @@
#pragma warning( disable : 4305 )
#endif
+/* so far, all of the tkwidgets objects have the same inlets/outlets */
+#define TOTAL_INLETS 1
+#define TOTAL_OUTLETS 2
+
/* size and offset for the resizing handle */
#define TKW_HANDLE_HEIGHT 15
#define TKW_HANDLE_WIDTH 15
@@ -92,8 +96,7 @@ t_symbol* tkwidgets_gen_all_tag(t_object *x);
// TODO perhaps I should try to use glist_drawiofor() from g_text.c
void tkwidgets_draw_iolets(t_object *x, t_glist *glist, t_symbol *canvas_id,
t_symbol *iolets_tag, t_symbol *all_tag,
- int width, int height,
- int total_inlets, int total_outlets);
+ int width, int height);
void tkwidgets_erase_iolets(t_symbol* canvas_id, t_symbol* iolets_tag);
void tkwidgets_draw_handle(); // TODO draw resize handle when selected in editmode