Update of /cvsroot/pure-data/externals/bbogart/entry In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28079
Modified Files: entry.c entry-help.pd Log Message: minor cleanups
Index: entry.c =================================================================== RCS file: /cvsroot/pure-data/externals/bbogart/entry/entry.c,v retrieving revision 1.22 retrieving revision 1.23 diff -C2 -d -r1.22 -r1.23 *** entry.c 30 Oct 2007 03:59:52 -0000 1.22 --- entry.c 6 Nov 2007 06:13:16 -0000 1.23 *************** *** 23,26 **** --- 23,27 ----
/* TODO: get Ctrl-A working to select all */ + /* TODO: make Ctrl-w bind to window close on parent canvas */ /* TODO: make [size( message redraw object */ /* TODO: set message doesnt work with a loadbang */ *************** *** 292,296 **** text_xpix(&x->x_obj, glist), text_ypix(&x->x_obj, glist)); } - post("canvas: %d glist: %d", canvas->gl_edit, glist->gl_edit); if( (x->x_glist->gl_edit) && (canvas == x->x_glist) ) draw_inlets(x, glist, firsttime, 1,2); --- 293,296 ---- *************** *** 572,580 **** t_entry *x = (t_entry *)z;
! binbuf_addv(b, "ssiisiiss", gensym("#X"),gensym("obj"), x->x_obj.te_xpix, x->x_obj.te_ypix, atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf)), x->x_width, x->x_height, x->x_bgcolour, x->x_fgcolour); ! binbuf_addv(b, ";"); }
--- 572,580 ---- t_entry *x = (t_entry *)z;
! binbuf_addv(b, "ssiisiiss;", &s__X, gensym("obj"), x->x_obj.te_xpix, x->x_obj.te_ypix, atom_getsymbol(binbuf_getvec(x->x_obj.te_binbuf)), x->x_width, x->x_height, x->x_bgcolour, x->x_fgcolour); ! /* binbuf_addv(b, ";"); */ }
Index: entry-help.pd =================================================================== RCS file: /cvsroot/pure-data/externals/bbogart/entry/entry-help.pd,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** entry-help.pd 30 Oct 2007 03:59:52 -0000 1.9 --- entry-help.pd 6 Nov 2007 06:13:16 -0000 1.10 *************** *** 1,3 **** ! #N canvas 172 88 781 680 10; #X obj 72 208 entry 150 100 grey black; #X obj 11 84 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 --- 1,3 ---- ! #N canvas 172 88 801 700 10; #X obj 72 208 entry 150 100 grey black; #X obj 11 84 bng 15 250 50 0 empty empty empty 0 -6 0 8 -262144 -1 *************** *** 20,24 **** #X msg 6 4 bgcolour grey; #X msg 52 52 fgcolour black; ! #X text 12 394 The size message currently only takes affect after a save and reopen.; #X msg 138 117 append seven eight nine; --- 20,24 ---- #X msg 6 4 bgcolour grey; #X msg 52 52 fgcolour black; ! #X text 12 396 The size message currently only takes affect after a save and reopen.; #X msg 138 117 append seven eight nine; *************** *** 28,32 **** #X msg 20 431 9; #X msg 85 429 98; ! #X obj 166 18 pddp/pddplink http://tcl.tk/man/tcl8.4/TkCmd/text.htm ; #X obj 442 91 entry 300 50 grey70 black; --- 28,32 ---- #X msg 20 431 9; #X msg 85 429 98; ! #X obj 148 31 pddp/pddplink http://tcl.tk/man/tcl8.4/TkCmd/text.htm ; #X obj 442 91 entry 300 50 grey70 black; *************** *** 77,81 **** ; #X msg 49 521 boat; - #X msg 84 521 bogosity; #X msg 52 577 option cursor $1; #X msg 9 521 clock; --- 77,80 ---- *************** *** 87,92 **** #X msg 266 547 mouse; #X msg 266 569 target; - #X text 174 615 for more:; - #X msg 266 611 trek; #X msg 384 194 option insertwidth $1; #X obj 386 48 hsl 128 15 0 127 0 0 empty empty empty -2 -6 0 10 -262144 --- 86,89 ---- *************** *** 107,110 **** --- 104,114 ---- #X msg 411 535 key a; #X msg 412 557 key 9; + #X obj 329 650 pddp/pddplink http://tcl.tk/man/tcl8.4/TkCmd/cursors.htm + ; + #X text 156 630 for more cursors:; + #X text 327 636 for more keynums:; + #X msg 403 516 key 65228; + #X msg 266 611 pencil; + #X msg 84 521 coffee_mug; #X connect 0 0 2 0; #X connect 0 0 10 0; *************** *** 143,148 **** #X connect 39 0 35 0; #X connect 40 0 35 0; ! #X connect 41 0 93 0; ! #X connect 42 0 93 0; #X connect 43 0 7 0; #X connect 47 0 50 0; --- 147,152 ---- #X connect 39 0 35 0; #X connect 40 0 35 0; ! #X connect 41 0 90 0; ! #X connect 42 0 90 0; #X connect 43 0 7 0; #X connect 47 0 50 0; *************** *** 160,168 **** #X connect 62 0 49 0; #X connect 63 0 49 0; ! #X connect 65 0 82 0; ! #X connect 67 0 71 0; #X connect 69 0 67 0; ! #X connect 70 0 67 0; ! #X connect 71 0 66 0; #X connect 73 0 67 0; #X connect 74 0 67 0; --- 164,173 ---- #X connect 62 0 49 0; #X connect 63 0 49 0; ! #X connect 65 0 79 0; ! #X connect 67 0 70 0; #X connect 69 0 67 0; ! #X connect 70 0 66 0; ! #X connect 71 0 67 0; ! #X connect 72 0 67 0; #X connect 73 0 67 0; #X connect 74 0 67 0; *************** *** 171,187 **** #X connect 77 0 67 0; #X connect 78 0 67 0; ! #X connect 79 0 67 0; ! #X connect 81 0 67 0; ! #X connect 82 0 64 0; ! #X connect 83 0 84 0; ! #X connect 84 0 26 0; ! #X connect 85 0 48 0; ! #X connect 86 0 85 0; ! #X connect 87 0 0 0; ! #X connect 88 0 0 0; ! #X connect 89 0 90 0; ! #X connect 89 0 91 0; ! #X connect 90 0 94 0; ! #X connect 92 0 0 0; ! #X connect 96 0 94 0; ! #X connect 97 0 94 0; --- 176,193 ---- #X connect 77 0 67 0; #X connect 78 0 67 0; ! #X connect 79 0 64 0; ! #X connect 80 0 81 0; ! #X connect 81 0 26 0; ! #X connect 82 0 48 0; ! #X connect 83 0 82 0; ! #X connect 84 0 0 0; ! #X connect 85 0 0 0; ! #X connect 86 0 87 0; ! #X connect 86 0 88 0; ! #X connect 87 0 91 0; ! #X connect 89 0 0 0; ! #X connect 93 0 91 0; ! #X connect 94 0 91 0; ! #X connect 98 0 91 0; ! #X connect 99 0 67 0; ! #X connect 100 0 67 0;