Update of /cvsroot/pure-data/pd/src In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21195
Modified Files: Tag: impd_0_37 g_all_guis.c g_bang.c g_dropper.c g_hdial.c g_hslider.c g_mycanvas.c g_numbox.c g_toggle.c g_vumeter.c Log Message: changed client-server comm in property dialogs
Index: g_toggle.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/g_toggle.c,v retrieving revision 1.1.1.3.2.2.2.14 retrieving revision 1.1.1.3.2.2.2.15 diff -C2 -d -r1.1.1.3.2.2.2.14 -r1.1.1.3.2.2.2.15 *** g_toggle.c 3 May 2004 02:51:44 -0000 1.1.1.3.2.2.2.14 --- g_toggle.c 3 May 2004 04:34:30 -0000 1.1.1.3.2.2.2.15 *************** *** 67,84 **** t_toggle *x = (t_toggle *)z; char buf[800]; ! t_symbol *srl[3]; ! iemgui_properties(&x->x_gui, srl); sprintf(buf, "pdtk_iemgui_dialog %%s TOGGLE \ ! ----------dimensions(pix):----------- %d %d size: 0 0 empty \ ! -----------non-zero-value:----------- %g value: 0.0 empty %g \ ! -1 lin log %d %d empty %d \ ! %s %s %s %d %d %d %d %d %d %d\n", ! x->x_gui.x_w, IEM_GUI_MINSIZE, ! x->x_nonzero, 1.0,/*non_zero-schedule*/ ! x->x_gui.x_loadinit, -1, -1,/*no multi*/ ! srl[0]->s_name, srl[1]->s_name, ! srl[2]->s_name, x->x_gui.x_ldx, x->x_gui.x_ldy, ! x->x_gui.x_font_style, x->x_gui.x_fontsize, ! 0xffffff & x->x_gui.x_bcol, 0xffffff & x->x_gui.x_fcol, 0xffffff & x->x_gui.x_lcol); gfxstub_new(&x->x_gui.x_obj.ob_pd, x, buf); } --- 67,76 ---- t_toggle *x = (t_toggle *)z; char buf[800]; ! pd_upload((t_gobj *)x,owner); sprintf(buf, "pdtk_iemgui_dialog %%s TOGGLE \ ! ----------dimensions(pix):----------- %d 8 size: 0 0 empty \ ! -----------non-zero-value:----------- %g value: 0.0 empty 1.0 \ ! lin log empty -1 %x\n", ! x->x_gui.x_w, x->x_nonzero, x); gfxstub_new(&x->x_gui.x_obj.ob_pd, x, buf); }
Index: g_hdial.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/g_hdial.c,v retrieving revision 1.1.1.4.2.2.2.16 retrieving revision 1.1.1.4.2.2.2.17 diff -C2 -d -r1.1.1.4.2.2.2.16 -r1.1.1.4.2.2.2.17 *** g_hdial.c 3 May 2004 02:51:44 -0000 1.1.1.4.2.2.2.16 --- g_hdial.c 3 May 2004 04:34:30 -0000 1.1.1.4.2.2.2.17 *************** *** 61,65 **** int bflcol[3]; t_symbol *srl[3]; - iemgui_save(&x->x_gui, srl, bflcol); binbuf_addv(b, "ssiisiiiisssiiiiiiii", gensym("#X"),gensym("obj"), --- 61,64 ---- *************** *** 78,94 **** t_hradio *x = (t_hradio *)z; char buf[800]; ! t_symbol *srl[3]; ! iemgui_properties(&x->x_gui, srl); sprintf(buf, "pdtk_iemgui_dialog %%s hradio \ ! ----------dimensions(pix):----------- %d %d size: 0 0 empty \ ! empty 0.0 empty 0.0 empty %d \ ! %d new-only new&old %d %d number: %d \ ! %s %s %s %d %d %d %d %d %d %d\n", ! x->x_gui.x_w, IEM_GUI_MINSIZE, 0, ! x->x_change, x->x_gui.x_loadinit, -1, x->x_number, ! srl[0]->s_name, srl[1]->s_name, ! srl[2]->s_name, x->x_gui.x_ldx, x->x_gui.x_ldy, ! x->x_gui.x_font_style, x->x_gui.x_fontsize, ! 0xffffff & x->x_gui.x_bcol, 0xffffff & x->x_gui.x_fcol, 0xffffff & x->x_gui.x_lcol); gfxstub_new(&x->x_gui.x_obj.ob_pd, x, buf); } --- 77,85 ---- t_hradio *x = (t_hradio *)z; char buf[800]; ! pd_upload((t_gobj *)x,owner); sprintf(buf, "pdtk_iemgui_dialog %%s hradio \ ! ----------dimensions(pix):----------- %d 8 size: 0 0 empty \ ! empty 0.0 empty 0.0 empty 0 new-only new&old number: %d %x\n", ! x->x_gui.x_w, x->x_number, x); gfxstub_new(&x->x_gui.x_obj.ob_pd, x, buf); }
Index: g_vumeter.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/g_vumeter.c,v retrieving revision 1.1.1.3.2.2.2.12 retrieving revision 1.1.1.3.2.2.2.13 diff -C2 -d -r1.1.1.3.2.2.2.12 -r1.1.1.3.2.2.2.13 *** g_vumeter.c 3 May 2004 02:57:27 -0000 1.1.1.3.2.2.2.12 --- g_vumeter.c 3 May 2004 04:34:30 -0000 1.1.1.3.2.2.2.13 *************** *** 78,83 **** { t_vu* x = (t_vu*)z; ! *xp1 = text_xpix((t_pd *)x, glist) - 1; ! *yp1 = text_ypix((t_pd *)x, glist) - 2; *xp2 = *xp1 + x->x_gui.x_w + 2; *yp2 = *yp1 + x->x_gui.x_h + 4; --- 78,83 ---- { t_vu* x = (t_vu*)z; ! *xp1 = text_xpix((t_text *)x, glist) - 1; ! *yp1 = text_ypix((t_text *)x, glist) - 2; *xp2 = *xp1 + x->x_gui.x_w + 2; *yp2 = *yp1 + x->x_gui.x_h + 4; *************** *** 117,134 **** t_vu *x = (t_vu *)z; char buf[800]; ! t_symbol *srl[3]; ! ! iemgui_properties(&x->x_gui, srl); sprintf(buf, "pdtk_iemgui_dialog %%s VU-METER \ ! --------dimensions(pix)(pix):-------- %d %d width: %d %d height: \ ! empty 0.0 empty 0.0 empty %d \ ! %d no_scale scale %d %d empty %d \ ! %s %s %s %d %d %d %d %d %d %d\n", ! x->x_gui.x_w, IEM_GUI_MINSIZE, x->x_gui.x_h, IEM_VU_STEPS*IEM_VU_MINSIZE, ! 0, x->x_scale, -1, -1, -1, "nosndno", srl[1]->s_name, ! srl[2]->s_name, x->x_gui.x_ldx, x->x_gui.x_ldy, ! x->x_gui.x_font_style, x->x_gui.x_fontsize, ! 0xffffff & x->x_gui.x_bcol, -1/*no front-color*/, 0xffffff & x->x_gui.x_lcol); ! gfxstub_new(&x->x_gui.x_obj.ob_pd, x, buf); }
--- 117,126 ---- t_vu *x = (t_vu *)z; char buf[800]; ! pd_upload((t_gobj *)x,owner); sprintf(buf, "pdtk_iemgui_dialog %%s VU-METER \ ! --------dimensions(pix)(pix):-------- %d 8 width: %d %d height: \ ! empty 0.0 empty 0.0 empty 0 no_scale scale empty -1 %x\n", ! x->x_gui.x_w, x->x_gui.x_h, 8*IEM_VU_STEPS, x); ! gfxstub_new((t_pd *)x,x,buf); }
Index: g_all_guis.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/g_all_guis.c,v retrieving revision 1.1.1.4.2.4.2.22 retrieving revision 1.1.1.4.2.4.2.23 diff -C2 -d -r1.1.1.4.2.4.2.22 -r1.1.1.4.2.4.2.23 *** g_all_guis.c 3 May 2004 02:57:27 -0000 1.1.1.4.2.4.2.22 --- g_all_guis.c 3 May 2004 04:34:30 -0000 1.1.1.4.2.4.2.23 *************** *** 54,70 **** }
! int iemgui_clip_size(int size) ! { ! if(size < IEM_GUI_MINSIZE) ! size = IEM_GUI_MINSIZE; ! return(size); ! } ! ! int iemgui_clip_font(int size) ! { ! if(size < IEM_FONT_MINSIZE) ! size = IEM_FONT_MINSIZE; ! return(size); ! }
t_symbol *iemgui_raute2dollar(t_symbol *s) --- 54,59 ---- }
! int iemgui_clip_size(int size) {return MAX(8,size);} ! int iemgui_clip_font(int size) {return MAX(size,IEM_FONT_MINSIZE);}
t_symbol *iemgui_raute2dollar(t_symbol *s) *************** *** 202,212 **** }
- static void iemgui_all_dollar2raute(t_symbol **srlsym) - { - srlsym[0] = iemgui_dollar2raute(srlsym[0]); - srlsym[1] = iemgui_dollar2raute(srlsym[1]); - srlsym[2] = iemgui_dollar2raute(srlsym[2]); - } - static void iemgui_all_raute2dollar(t_symbol **srlsym) { --- 191,194 ---- *************** *** 361,364 **** --- 343,348 ---- }
+ /* it used to be that [bng] et al would call iemgui_properties(&x->x_gui, srl); + when opening a dialog. i don't exactly know what this code is for... */ void iemgui_properties(t_iemgui *iemgui, t_symbol **srl) { *************** *** 367,371 **** srl[2] = iemgui->x_lab; iemgui_all_sym2dollararg(iemgui, srl); ! iemgui_all_dollar2raute(srl); }
--- 351,357 ---- srl[2] = iemgui->x_lab; iemgui_all_sym2dollararg(iemgui, srl); ! srl[0] = iemgui_dollar2raute(srl[0]); ! srl[1] = iemgui_dollar2raute(srl[1]); ! srl[2] = iemgui_dollar2raute(srl[2]); }
*************** *** 376,381 **** pd_scanargs(argc,argv,"?????i?aaaiiiiiii;", &init,&srl[0],&srl[1],&srl[2],&ldx,&ldy,&f,&fs,&bcol,&fcol,&lcol); ! init = !!init; ! iemgui->x_loadinit = init; sndable = !!strcmp(srl[0]->s_name, "empty"); rcvable = !!strcmp(srl[1]->s_name, "empty"); --- 362,366 ---- pd_scanargs(argc,argv,"?????i?aaaiiiiiii;", &init,&srl[0],&srl[1],&srl[2],&ldx,&ldy,&f,&fs,&bcol,&fcol,&lcol); ! iemgui->x_loadinit = !!init; sndable = !!strcmp(srl[0]->s_name, "empty"); rcvable = !!strcmp(srl[1]->s_name, "empty"); *************** *** 386,398 **** if(strcmp(srl[1]->s_name, iemgui->x_rcv->s_name)) { ! if(iemgui->x_rcv_able) ! pd_unbind(&iemgui->x_obj.ob_pd, iemgui->x_rcv); iemgui->x_rcv = srl[1]; ! pd_bind(&iemgui->x_obj.ob_pd, iemgui->x_rcv); } } else if(!rcvable && iemgui->x_rcv_able) { ! pd_unbind(&iemgui->x_obj.ob_pd, iemgui->x_rcv); iemgui->x_rcv = srl[1]; } --- 371,382 ---- if(strcmp(srl[1]->s_name, iemgui->x_rcv->s_name)) { ! if(iemgui->x_rcv_able) pd_unbind((t_pd *)iemgui, iemgui->x_rcv); iemgui->x_rcv = srl[1]; ! pd_bind((t_pd *)iemgui, iemgui->x_rcv); } } else if(!rcvable && iemgui->x_rcv_able) { ! pd_unbind((t_pd *)iemgui, iemgui->x_rcv); iemgui->x_rcv = srl[1]; }
Index: g_mycanvas.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/g_mycanvas.c,v retrieving revision 1.1.1.3.2.2.2.8 retrieving revision 1.1.1.3.2.2.2.9 diff -C2 -d -r1.1.1.3.2.2.2.8 -r1.1.1.3.2.2.2.9 *** g_mycanvas.c 1 May 2004 15:38:35 -0000 1.1.1.3.2.2.2.8 --- g_mycanvas.c 3 May 2004 04:34:30 -0000 1.1.1.3.2.2.2.9 *************** *** 60,79 **** t_my_canvas *x = (t_my_canvas *)z; char buf[800]; ! t_symbol *srl[3]; ! ! iemgui_properties(&x->x_gui, srl); sprintf(buf, "pdtk_iemgui_dialog %%s MY_CANVAS \ ------selectable_dimensions(pix):------ %d %d size: 0.0 0.0 empty \ ! ------visible_rectangle(pix)(pix):------ %d width: %d height: %d \ ! %d empty empty %d %d empty %d \ ! %s %s %s %d %d %d %d %d %d %d\n", ! x->x_gui.x_w, 1, ! x->x_vis_w, x->x_vis_h, 0,/*no_schedule*/ ! -1, -1, -1, -1,/*no linlog, no init, no multi*/ ! srl[0]->s_name, srl[1]->s_name, ! srl[2]->s_name, x->x_gui.x_ldx, x->x_gui.x_ldy, ! x->x_gui.x_font_style, x->x_gui.x_fontsize, ! 0xffffff & x->x_gui.x_bcol, -1/*no frontcolor*/, 0xffffff & x->x_gui.x_lcol); ! gfxstub_new(&x->x_gui.x_obj.ob_pd, x, buf); }
--- 60,70 ---- t_my_canvas *x = (t_my_canvas *)z; char buf[800]; ! pd_upload((t_gobj *)x,owner); sprintf(buf, "pdtk_iemgui_dialog %%s MY_CANVAS \ ------selectable_dimensions(pix):------ %d %d size: 0.0 0.0 empty \ ! ------visible_rectangle(pix)(pix):------ %d width: %d height: 0 \ ! empty empty empty -1 %x\n", ! x->x_gui.x_w, 1, x->x_vis_w, x->x_vis_h, 0, x); ! gfxstub_new((t_pd *)x, x, buf); }
Index: g_hslider.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/g_hslider.c,v retrieving revision 1.1.1.3.2.2.2.18 retrieving revision 1.1.1.3.2.2.2.19 diff -C2 -d -r1.1.1.3.2.2.2.18 -r1.1.1.3.2.2.2.19 *** g_hslider.c 3 May 2004 02:51:44 -0000 1.1.1.3.2.2.2.18 --- g_hslider.c 3 May 2004 04:34:30 -0000 1.1.1.3.2.2.2.19 *************** *** 112,128 **** t_hslider *x = (t_hslider *)z; char buf[800]; ! t_symbol *srl[3]; ! ! iemgui_properties(&x->x_gui, srl); sprintf(buf, "pdtk_iemgui_dialog %%s HSLIDER \ ! --------dimensions(pix)(pix):-------- %d %d width: %d %d height: \ -----------output-range:----------- %g left: %g right: %g \ ! %d lin log %d %d empty %d \ ! %s %s %s %d %d %d %d %d %d %d\n", ! x->x_gui.x_w, IEM_SL_MINSIZE, x->x_gui.x_h, IEM_GUI_MINSIZE, ! x->x_min, x->x_max, 0.0, x->x_lin0_log1, x->x_gui.x_loadinit, ! x->x_steady, -1, srl[0]->s_name, srl[1]->s_name, srl[2]->s_name, ! x->x_gui.x_ldx, x->x_gui.x_ldy, x->x_gui.x_font_style, x->x_gui.x_fontsize, ! 0xffffff & x->x_gui.x_bcol, 0xffffff & x->x_gui.x_fcol, 0xffffff & x->x_gui.x_lcol); gfxstub_new(&x->x_gui.x_obj.ob_pd, x, buf); } --- 112,122 ---- t_hslider *x = (t_hslider *)z; char buf[800]; ! pd_upload((t_gobj *)x,owner); sprintf(buf, "pdtk_iemgui_dialog %%s HSLIDER \ ! --------dimensions(pix)(pix):-------- %d 8 width: %d 8 height: \ -----------output-range:----------- %g left: %g right: %g \ ! lin log empty -1 %x\n", ! x->x_gui.x_w, x->x_gui.x_h, ! x->x_min, x->x_max, 0.0, x); gfxstub_new(&x->x_gui.x_obj.ob_pd, x, buf); }
Index: g_dropper.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/Attic/g_dropper.c,v retrieving revision 1.1.2.8 retrieving revision 1.1.2.9 diff -C2 -d -r1.1.2.8 -r1.1.2.9 *** g_dropper.c 1 May 2004 15:38:35 -0000 1.1.2.8 --- g_dropper.c 3 May 2004 04:34:30 -0000 1.1.2.9 *************** *** 77,95 **** t_dropper *x = (t_dropper *)z; char buf[800]; ! t_symbol *srl[3]; ! ! iemgui_properties(&x->x_gui, srl); ! sprintf(buf, "pdtk_iemgui_dialog %%s dropper \ ! ----------dimensions(pix):----------- %d %d size: 0 0 empty \ ! empty 0.0 empty 0.0 empty %d \ ! %d new-only new&old %d %d number: %d \ ! %s %s %s %d %d %d %d %d %d %d\n", ! x->x_gui.x_w, IEM_GUI_MINSIZE, 0, ! -1, x->x_gui.x_loadinit, -1, -1, ! srl[0]->s_name, srl[1]->s_name, ! srl[2]->s_name, x->x_gui.x_ldx, x->x_gui.x_ldy, ! x->x_gui.x_font_style, x->x_gui.x_fontsize, ! 0xffffff & x->x_gui.x_bcol, 0xffffff & x->x_gui.x_fcol, 0xffffff & x->x_gui.x_lcol); ! gfxstub_new(&x->x_gui.x_obj.ob_pd, x, buf); }
--- 77,87 ---- t_dropper *x = (t_dropper *)z; char buf[800]; ! pd_upload((t_gobj *)x,owner); ! sprintf(buf, "pdtk_iemgui_dialog %%s BANG " ! "----------dimensions(pix):----------- %d 8 size: 0 0 empty " ! "--------flash-time(ms)(ms):--------- %d intrrpt: %d hold: 2 " ! "empty empty empty -1 %x\n", ! x->x_gui.x_w, -1, -1, x); ! gfxstub_new((t_pd *)x,x,buf); }
Index: g_bang.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/g_bang.c,v retrieving revision 1.1.1.3.2.2.2.18 retrieving revision 1.1.1.3.2.2.2.19 diff -C2 -d -r1.1.1.3.2.2.2.18 -r1.1.1.3.2.2.2.19 *** g_bang.c 3 May 2004 02:51:42 -0000 1.1.1.3.2.2.2.18 --- g_bang.c 3 May 2004 04:34:30 -0000 1.1.1.3.2.2.2.19 *************** *** 61,76 **** }
! void bng_check_minmax(t_bng *x, int ftbreak, int fthold) ! { ! if(ftbreak > fthold) ! { ! int h = ftbreak; ! ftbreak = fthold; ! fthold = h; ! } ! if(ftbreak < IEM_BNG_MINBREAKFLASHTIME) ftbreak = IEM_BNG_MINBREAKFLASHTIME; ! if( fthold < IEM_BNG_MINHOLDFLASHTIME) fthold = IEM_BNG_MINHOLDFLASHTIME; ! x->x_flashtime_break = ftbreak; ! x->x_flashtime_hold = fthold; }
--- 61,68 ---- }
! void bng_check_minmax(t_bng *x, int ftbreak, int fthold) { ! if(ftbreak > fthold) {int h = ftbreak; ftbreak = fthold; fthold = h;} ! x->x_flashtime_break = MAX(ftbreak,IEM_BNG_MINBREAKFLASHTIME); ! x->x_flashtime_hold = MAX(fthold, IEM_BNG_MINHOLDFLASHTIME); }
*************** *** 79,98 **** t_bng *x = (t_bng *)z; char buf[800]; ! t_symbol *srl[3]; ! ! iemgui_properties(&x->x_gui, srl); sprintf(buf, "pdtk_iemgui_dialog %%s BANG " ! "----------dimensions(pix):----------- %d %d size: 0 0 empty " ! "--------flash-time(ms)(ms):--------- %d intrrpt: %d hold: %d " ! "%d empty empty %d %d empty %d " ! "%s %s %s %d %d %d %d %d %d %d\n", ! x->x_gui.x_w, IEM_GUI_MINSIZE, ! x->x_flashtime_break, x->x_flashtime_hold, 2, ! -1, x->x_gui.x_loadinit, -1, -1, ! srl[0]->s_name, srl[1]->s_name, ! srl[2]->s_name, x->x_gui.x_ldx, x->x_gui.x_ldy, ! x->x_gui.x_font_style, x->x_gui.x_fontsize, ! 0xffffff & x->x_gui.x_bcol, 0xffffff & x->x_gui.x_fcol, 0xffffff & x->x_gui.x_lcol); ! gfxstub_new(&x->x_gui.x_obj.ob_pd, x, buf); }
--- 71,81 ---- t_bng *x = (t_bng *)z; char buf[800]; ! pd_upload((t_gobj *)x,owner); sprintf(buf, "pdtk_iemgui_dialog %%s BANG " ! "----------dimensions(pix):----------- %d 8 size: 0 0 empty " ! "--------flash-time(ms)(ms):--------- %d intrrpt: %d hold: 2 " ! "empty empty empty -1 %x\n", ! x->x_gui.x_w, x->x_flashtime_break, x->x_flashtime_hold, x); ! gfxstub_new((t_pd *)x,x,buf); }
*************** *** 172,177 **** }
! static void bng_init(t_bng *x, t_floatarg f) ! {x->x_gui.x_loadinit = (f==0.0)?0:1;} static void bng_tick_hld(t_bng *x) {x->x_flashed = 0;} static void bng_tick_brk(t_bng *x) {} --- 155,159 ---- }
! static void bng_init(t_bng *x, t_floatarg f) {x->x_gui.x_loadinit = !!f;} static void bng_tick_hld(t_bng *x) {x->x_flashed = 0;} static void bng_tick_brk(t_bng *x) {}
Index: g_numbox.c =================================================================== RCS file: /cvsroot/pure-data/pd/src/g_numbox.c,v retrieving revision 1.1.1.4.2.2.2.13 retrieving revision 1.1.1.4.2.2.2.14 diff -C2 -d -r1.1.1.4.2.2.2.13 -r1.1.1.4.2.2.2.14 *** g_numbox.c 3 May 2004 02:57:27 -0000 1.1.1.4.2.2.2.13 --- g_numbox.c 3 May 2004 04:34:30 -0000 1.1.1.4.2.2.2.14 *************** *** 191,219 ****
iemgui_properties(&x->x_gui, srl); ! if(x->x_gui.x_change) ! { x->x_gui.x_change = 0; CH clock_unset(x->x_clock_reset); glist_grab(x->x_gui.x_glist, 0, 0, 0, 0, 0); x->x_gui.x_draw(x, x->x_gui.x_glist, 0); - } sprintf(buf, "pdtk_iemgui_dialog %%s NUMBERBOX \ ! -------dimensions(digits)(pix):------- %d %d width: %d %d height: \ ! -----------output-range:----------- %g min: %g max: %d \ ! %d lin log %d %d log-height: %d \ ! %s %s \ ! %s %d %d \ ! %d %d \ ! %d %d %d\n", ! x->x_gui.x_w, 1, x->x_gui.x_h, 8, ! x->x_min, x->x_max, 0,/*no_schedule*/ ! x->x_lin0_log1, x->x_gui.x_loadinit, -1, ! x->x_log_height, /*no multi, but iem-characteristic*/ ! srl[0]->s_name, srl[1]->s_name, ! srl[2]->s_name, x->x_gui.x_ldx, x->x_gui.x_ldy, ! x->x_gui.x_font_style, x->x_gui.x_fontsize, ! 0xffffff & x->x_gui.x_bcol, 0xffffff & x->x_gui.x_fcol, ! 0xffffff & x->x_gui.x_lcol); gfxstub_new(&x->x_gui.x_obj.ob_pd, x, buf); } --- 191,205 ----
iemgui_properties(&x->x_gui, srl); ! if(x->x_gui.x_change) { x->x_gui.x_change = 0; CH clock_unset(x->x_clock_reset); glist_grab(x->x_gui.x_glist, 0, 0, 0, 0, 0); x->x_gui.x_draw(x, x->x_gui.x_glist, 0); } sprintf(buf, "pdtk_iemgui_dialog %%s NUMBERBOX \ ! -------dimensions(digits)(pix):------- %d 1 width: %d 8 height: \ ! -----------output-range:----------- %g min: %g max: 0 \ ! lin log log-height: %d %x\n", ! x->x_gui.x_w, x->x_gui.x_h, x->x_min, x->x_max, x->x_log_height, x); gfxstub_new(&x->x_gui.x_obj.ob_pd, x, buf); }