From 9c0e19a3be2288db79e2502e5fa450c3e20a668d Mon Sep 17 00:00:00 2001 From: Guenter Geiger Date: Fri, 9 May 2003 16:04:00 +0000 Subject: This commit was generated by cvs2svn to compensate for changes in r610, which included commits to RCS files with non-trunk default branches. svn path=/trunk/; revision=611 --- pd/src/g_all_guis.c | 14 +++----------- 1 file changed, 3 insertions(+), 11 deletions(-) (limited to 'pd/src/g_all_guis.c') diff --git a/pd/src/g_all_guis.c b/pd/src/g_all_guis.c index 2cd4994a..97075684 100644 --- a/pd/src/g_all_guis.c +++ b/pd/src/g_all_guis.c @@ -10,13 +10,13 @@ #include #include #include -#include "m_imp.h" +#include "m_pd.h" #include "g_canvas.h" #include "t_tk.h" #include "g_all_guis.h" #include -#ifdef NT +#ifdef MSW #include #else #include @@ -770,19 +770,11 @@ void iemgui_delete(t_gobj *z, t_glist *glist) void iemgui_vis(t_gobj *z, t_glist *glist, int vis) { t_iemguidummy *x = (t_iemguidummy *)z; - t_rtext *y; - if(vis) - { - y = rtext_new_without_senditup(glist, (t_text *)z, glist->gl_editor->e_rtext); + if (vis) (*x->x_gui.x_draw)((void *)z, glist, IEM_GUI_DRAW_MODE_NEW); - } else - { - y = glist_findrtext(glist, (t_text *)z); (*x->x_gui.x_draw)((void *)z, glist, IEM_GUI_DRAW_MODE_ERASE); - rtext_free(y); - } } void iemgui_save(t_iemgui *iemgui, t_symbol **srl, int *bflcol) -- cgit v1.2.1