thats awesome! just make it extend ofBaseDraws (so it has a draw(x,y,w,h) and getWidth() and getHeight()) and you can add it to ofxSimpleGuiToo with ui.addContent(…)
hey guys, got a new version of the colour picker.
the big change after a little reverse engineering is that you now can set the colour through setColor() rather then having to manually select it yourself, so this will allow you to store colour settings for later use.
it now extends ofBaseDraws and you can add it to ofxSimpleGuiToo but its screwing up with the rendering… will have to look at that some other time.
let me know how you go with it and if there are any problems.
had to get it working on the iphone so i took the opportunity to give a real good clean.
refactored the entire way it draws itself, caching a lot of data to optimise on performance.
it now resizes correctly to any width and height you set it to.
Moebiussurfing: the ofxColorpicker example is working great on my macbook pro with OF .0071 osx 10.7.4 and Xcode 4.2.1.
Julapy: However, when I insert it into ofxSimpleGUIToo as explained by Memo earlier in the thread, the interface is drawn but it doesn’t respond at all. Have you gotten this to work ? Here’a a snippet of my testApp.cpp: