I need to know what to put in the remove addTuioObject() and delete addTuioObject() methods

edited June 2014 in Library Questions

I am having a feeling that the fact that i left those methods empty is having anadverse effect on my program. For instance, once i use a TUI object to carry out a function, as soon as it brings forth the function, i can't use it again to carry out a subsequent function.

   void addTuioObject(TuioObject obj) {

   int id=obj.getSymbolID();


  if(page=="options")
   {  
   if(id==1) {
   text("this is the options page");

   }
   }
Tagged:

Answers

  • I know nothing about TUIO, but when I see == used to compare strings, I know something is wrong in the code... :-)

  • edited June 2014

    if(page.equals("options"))

    you can also use ctrl-t for indents / auto-format

Sign In or Register to comment.