Hi, regardingr12593 „C++ify calling a few SPLPEItem functions, much more work thanexpected... slowly slowly…”: I don’tknow what software you are using, with Eclipse my “optimized” workflow is asfollows: 1. Movefunction declaration in the header file into the class, remove the firstparameter 2. Go tothe function definition in the cpp-file, right click and select “Open CallHierarchy” 3. AddSPClass:: in front of the definition 4. Selectthe first parameter, press Shift+Alt+R and rename it to “this” 5. 6. Removethe first parameter, the function is c++ified 6. In theCall Hierarchy window go through the list and adjust the calls 7. Selectany occurrence of the function, again Shift+Alt+R and rename it But I agreethat it’s a lot of boring, monotonous, repetitive work :) . It took me tons ofcoffee and some really long nightly sessions. Scripting this process isn’t thateasy either. At least now I’ve got some deeper understanding of how the partsfit together… and how not to write code. There were some really nice code partsin these files, e. g. marker.cpp, parsing the viewbox attribute by movingaround a char-pointer. This code appears 1:1 in sp-root.cpp ;) .
Regards, Markus