From 7de9115293936b9f672ed1579695726008ec2a6c Mon Sep 17 00:00:00 2001 From: Jonathan Wilkes <jon.w.wilkes@gmail.com> Date: Sat, 29 Aug 2015 19:44:05 -0400 Subject: [PATCH] update todo and comment out debug msgs --- pd/nw/pdgui.js | 7 +++++-- pd/nw/todo.txt | 2 +- 2 files changed, 6 insertions(+), 3 deletions(-) diff --git a/pd/nw/pdgui.js b/pd/nw/pdgui.js index 8a88dc38b..0d9f2f75b 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 3f5c87611..069bb9f3b 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) -- GitLab