Thanks for bumping this thread, was exactly what i was looking for (and it works wonderfully) but couldn't find a way to do it Was bugging the hell out of me i couldn't see strings under debugging.
Just force a render 1 frame call in the screenshot function to ensure you get the latest, grab the backbuffer content and add any overlay on top if you want that.
Thanks all, well better to fix the data for sure. Cheers You're welcome :) Yeah i really think you're better off doing that. The more i think about your custom solution the more i think it will be a bad idea tbh. On many of my layouts i do something like: 1.0, -10 to always position something 10 pi...
if you use CEED load up your layout set the offset to 0 and drag the widget around to fit where it was, it will automatically use the scale component. There are 2 tools to convert dimensions in CEED, it cycles for absolute and relative. Just clicking this will convert either position or size to rel...
Right I can understand if you have a lot of layouts made using offset that it may seem a lot of work to change them to use scale, however, it's really not that bad if you use CEED load up your layout set the offset to 0 and drag the widget around to fit where it was, it will automatically use the sc...
Btw, Is it possible to manual change the pixel sizes of windows? lets say something like, (just an preview) but also calculate using current element size and offset from resolution change. for(int n=0; n < mSheet->getChildCount(); n++) { CEGUI::Window *child = mSheet->getChildAtIdx(n); if( child ) ...
You could just create a layout with a DefaultWindow type and a StaticText control. If you want it delayed like in your video then you would need to create some custom class for it with a timer on it. I haven't looked much into the Animation feature in CEGUI yet, haven't had a need to use it for any ...
Found another minor 0.7 compatibility issue, when saving "HorizontalAlignment" setting to "WordWrapCentreAligned" in 0.7 it should be "WordWrapCentred"
Setting /MT will make it link with static MSVC++ lib compile CEGUI with /MT as well in this case and include the CEGUI libs in your application in linker section (remember the dependencies as well. dependencies/lib/static)