Patcher.java code questions


#1

Hi - a bit boring but hopefully you have some time to comment.

generatedobjects/patch.java
- Are these functions that draw the graphics?
- How is this file related to the axoloti/patch.java? i didnt look at common functions tbh
- the code that follows "static AxoObject ..", I don't understand what is the purpose of it. Is it just for descriptions or is it important for the object to work correctly?

I am assuming that certain functions do belong in the code of an axoloti object, but I am also suspecting that my outlet/inlet string has an important function that I am entering into the name of the object - and it luckily gets parsed correctly. I think I should tidy it up and add proper a proper if function to apply char * to the data of the inlet.


#2

The code in the generatedobjects tree, generates the standard object library *.axo's.
This is only accessible when "expertmode" is true in axoloti.prefs, that enables a menu item File->Regenerate Objects. Drawing primitives used in a patch are in "components".
The code in generatedobjects is otherwise not used. And it will disappear in the future, in favor of an object editor.


#3

oh nice. i guess that explains why i didn't notice any problems after realizing i misspelled things there :smile:

poking around with patcher.java now. forgot some bits in there also for the inlet.
gonna poke around before deciding something more serious has to be changed.


#4

woohoo! inlet string seems to work :smile: