Hello. If you see at samples provided with CEGUI lib, there you can find directory [common\src] and here is the file CEGUIOpenGLBaseApplication reshape function void CEGuiOpenGLBaseApplication::reshape(int w, int h) { glViewport (0, 0, (GLsizei) w, (GLsizei) h); glMatrixMode (GL_PROJECTION); glLoadI...
Hello. I have a little question: why you suggested to use your own String class versus standard string class? As for me, in my program I have to use 2 classes that represent same data - String. More over I should write own converters. It is not a problem, but intresting why we should have 2 classes ...
continue the idea it could be done more gracefully: we have base class Window //window.h //add abstract user command //all it could do is process; struct IUserCommand { virtual void process() = 0; }; class Widnow { //... protected: std::vector<IUserCommand*> m_UserCommands; pr...
Hi, Thanks a lot for the heads-up on this. I'll make an appropriate fix to the code in SVN :) CE. IMHO it should be like: System singleton has std::map<Window*, Window*> of items to be removed, call it m_WindowsToDestroy system singlten has function DestroyWindow(Window* wnd) (like CreateWindow) wh...
Hi guys. I'm not 100% sure what the issue is you were having :oops: Are you saying there is an issue with the latest 0.5.0 SDKs in debug mode? CE. Yep. I downloaded binary package (not sources) of 0.5 and it didn't work in debug profile. After I've downloaded sources and dependencies - I rebuilt al...
Is it possible, to resize the render window without rescaling cegui elements? In all the demos, the gui looks blury at higher resolutions. Id like it to behave more like windows applications. The text size should stay the same too. I am not shure, but take a look at CEGUI Layout editor, create simp...
PS: May be it is better to insert in binary package of CEGUI new versions of libraries - to same problems? That's a good point, i think it would be very appreciated to have compiled .lib , .dll files in the package, a lot of users fear to compile libraries :) Don't know what's the dev's opinion abo...
As I supposed. I downloaded sources of CEGUI and dependencies pack, built solution for MS Studio Express and rebuilt debug/release version, and replaced old *.lib and *.dll files with new ones - and voila - all works fine. Thank you all. PS: May be it is better to insert in binary package of CEGUI n...
It seem that something wrong with debug version of library which loads tgas - because I've set profile release (MS Studio Express) and all works fine, but I need debug profile too, could sombody help?
Thanks for the advice, but now that i got the application to work, it is no more a priority for me to make it compile on mingw. But thankx for the advice ;) Hello, I don't remember where I got this solution, but it works Answer Re: Running a very simple Win32 app on a comp without VC++ 2005 Express...
Hello. I am newbie in CEGUI and trying to understand how to use it. I created new test project, initialized OpenGL context (under windows os). Then I use such code void initResources() { m_GUIRenderer = new CEGUI::OpenGLRenderer(0); m_GUISystem =new CEGUI::System(m_GUIRender...