This is preview!
you are welcome. it's my pleasure to help in this project.Thank you for your help in the last couple days fixing the bugs, and updating the block!
I put all the ui images and fonts in each project because I thought it would be easier to understand how to include resources for the GUIyes, i understand, although i think it's not much harder to drag the ciUI/resources folder to the project along with ciUI/src. in this case there would not be multiple copies of the ui png files and the font file.
As for moving play.png and biorhythm.png to the sample resources folder, do you mean literally moving the resources to the "resources" folder within the sample project?yes, now they are in the xcode folder. if there's a windows port it won't be very nice. it's cleaner if the files in the sample resources folder, so vc and xcode can include the png's from there.
Will that eliminate the need for a Resources.h file? Let me know if you do this, I will pull it on github to see how its done :)no, it won't. it is needed for cross platform resources. as it mentioned above there are some problems with the resources on windows, if you don't use the Resources.h. i can send you a pull request for one of the project if you'd like.
I choose a header only implementation because it is simpler to include and modify...maybe, it's not that a big problem after all, because of precompiled headers. i'm not sure what others think about this.
fontLarge = Font( loadResource( filename ), fontsize);
and copy the font (NewMedia Fett.ttf) needed for this simple example from the xcode folder into the vc10 folder (in case you're using vs2010), if you have not changed the 'Working Directory' setting.fontLarge = Font( loadFile( filename ), fontsize);
into thisback = loadImage(loadResource(_pathURL));down = loadImage(loadResource(coreURL+"down"+extension));over = loadImage(loadResource(coreURL+"over"+extension));on = loadImage(loadResource(coreURL+"on"+extension));
cinder::ImageSourceRef emptyImg = cinder::ImageSourceRef();back = emptyImg;down = emptyImg;over = emptyImg;on = emptyImg;
compile and run the simple example (ciUISimpleExample) on Windows