diff --git a/pd/nw/pdgui.js b/pd/nw/pdgui.js index 8a88dc38b3c42454be34b4d3072307572ebacd4b..0d9f2f75be8162a250158a621ad81fcc6984dd48 100644 --- a/pd/nw/pdgui.js +++ b/pd/nw/pdgui.js @@ -1055,6 +1055,9 @@ function gui_canvas_new(cid, width, height, geometry, editable, name, dir, dirty //#pdtk_standardkeybindings $cid.c } +/* This gets sent to Pd to trigger each object on the canvas + to do its "vis" function. The result will be a flood of messages + back from Pd to the GUI to draw these objects */ function canvas_map(name) { console.log("canvas mapping " + name + "..."); pdsend(name + " map 1"); @@ -2161,7 +2164,7 @@ function text_to_tspans(canvasname, svg_text, text) { } function gui_text_new(canvasname, myname, type, isselected, x, y, text, font) { - gui_post("font is " + font); +// gui_post("font is " + font); var lines, i, len, tspan; var g = get_gobj(canvasname, myname); var svg_text = create_item(canvasname, 'text', { @@ -3093,7 +3096,7 @@ function gui_plot_vis(cid, basex, basey, data_array, attr_array, tag_array) { function gui_drawnumber_vis(cid, parent_tag, tag, x, y, scale_x, scale_y, font, fontsize, text) { - gui_post("font is " + font); +// gui_post("font is " + font); var lines, i, len, tspan; var g = get_item(cid, parent_tag); var svg_text = create_item(cid, 'text', { diff --git a/pd/nw/todo.txt b/pd/nw/todo.txt index 3f5c87611cc68fd48ce7fcdd88afd27032c3ef0a..069bb9f3b624fba7b8d2a2eb787544b7c1141a58 100644 --- a/pd/nw/todo.txt +++ b/pd/nw/todo.txt @@ -71,7 +71,7 @@ Everything else: (A [x] means we've fixed it) manner. In doing so we must decide whether or not we want to be able to fetch the bounding box of objects from within a Pd patch. (Currently [canvasinfo] and [objectinfo] are the only objects that can - do this, though there might also be) + do this, though there might also be some externals) [x] replace things like gui_select_color with css [ ] find a better approach to escaping characters for the gui than escape_double_quotes kludge (and handle any other problematic chars)