{"id":72,"date":"2009-02-26T07:48:41","date_gmt":"2009-02-26T15:48:41","guid":{"rendered":"http:\/\/sambaker.net\/neattools\/?p=72"},"modified":"2009-02-26T07:53:07","modified_gmt":"2009-02-26T15:53:07","slug":"adding-with-iman","status":"publish","type":"post","link":"https:\/\/sambaker.net\/neattools\/?p=72","title":{"rendered":"Adding with Iman"},"content":{"rendered":"<p>Sounds like a children&#8217;s tv show.\u00c2\u00a0 The Add module was the next requested NeatTools feature, and here it is, more or less.\u00c2\u00a0 I still need to pretty it up.\u00c2\u00a0 For instance, if you type too much in a box it extends beyond the boundaries of the box.\u00c2\u00a0 Also Flash&#8217;s text boxes take strings, not numbers, so in my code, number are being turned back and forth from strings, something I think that&#8217;s causing the strange behavior if your number get&#8217;s too big.\u00c2\u00a0 But that aside, it&#8217;s working.\u00c2\u00a0 The two integer modules on the left feed into the add module and the output is displayed in the third integer module.\u00c2\u00a0 The output is dynamically updated when the numbers in the first two boxes change.<\/p>\n<p>This update also marks my first use of actual NeatTools source code.\u00c2\u00a0 The formula used to draw the plus sign on the add module was taken directly from <a title=\"View file revision log\" name=\"JAddObj.cpp\" href=\"http:\/\/neattools.cvs.sourceforge.net\/viewvc\/neattools\/NeatTools\/neat\/JAddObj.cpp?view=log\">JAddObj.cpp<\/a>.<\/p>\n<p><div id=\"swf75d61\">This movie requires Flash Player 9<\/div>\n<script type=\"text\/javascript\">\n\tswfobject.embedSWF(\"source\/neattools9.swf\", \"swf75d61\", \"400\", \"400\", \"9.0.0\", \"\", {}, {wmode: \"window\", menu: \"false\", quality: \"high\", bgcolor: \"#FFFFFF\", allowScriptAccess: \"always\"}, {});\n<\/script>\n<\/p>\n<p>Note: I&#8217;ve just disovered a small bug. If you click before the number and hit delete, it will erase the text style, and revert to black, so you won&#8217;t see it on a black background.\u00c2\u00a0 Instead, click after the number and use backspace to change it.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sounds like a children&#8217;s tv show.\u00c2\u00a0 The Add module was the next requested NeatTools feature, and here it is, more or less.\u00c2\u00a0 I still need to pretty it up.\u00c2\u00a0 For instance, if you type too much in a box it extends beyond the boundaries of the box.\u00c2\u00a0 Also Flash&#8217;s text boxes take strings, not numbers, [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[3],"tags":[4,5],"_links":{"self":[{"href":"https:\/\/sambaker.net\/neattools\/index.php?rest_route=\/wp\/v2\/posts\/72"}],"collection":[{"href":"https:\/\/sambaker.net\/neattools\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/sambaker.net\/neattools\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/sambaker.net\/neattools\/index.php?rest_route=\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/sambaker.net\/neattools\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=72"}],"version-history":[{"count":4,"href":"https:\/\/sambaker.net\/neattools\/index.php?rest_route=\/wp\/v2\/posts\/72\/revisions"}],"predecessor-version":[{"id":74,"href":"https:\/\/sambaker.net\/neattools\/index.php?rest_route=\/wp\/v2\/posts\/72\/revisions\/74"}],"wp:attachment":[{"href":"https:\/\/sambaker.net\/neattools\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=72"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/sambaker.net\/neattools\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=72"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/sambaker.net\/neattools\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=72"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}