Search found 13 matches

by vasmann
Mon Jan 22, 2007 14:31
Forum: CEGUI Library Development Discussion
Topic: CEGUI String vs std::wstring
Replies: 7
Views: 6041

Das Gurke wrote:I asked me the same thing a while ago ... It seems that quite a few big libraries do their own stuff instead of using the STL. Why?


Yes. They use std::map, std::vector, why don't they use std::string(wstring)? Very intresting.
by vasmann
Mon Jan 22, 2007 12:45
Forum: Modifications / Integrations / Customisations
Topic: OpenGL Renderer : glViewport
Replies: 1
Views: 1014

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...
by vasmann
Mon Jan 22, 2007 12:36
Forum: Modifications / Integrations / Customisations
Topic: Destruction of CEGUI
Replies: 2
Views: 1071

Hello.
As I know - System is the singleton, and singletons are never destroyed, if there is no interface for such actions.

And why are you worry about destruction of System - it will automatically free when application will close.

Thank You.
by vasmann
Mon Jan 22, 2007 09:45
Forum: CEGUI Library Development Discussion
Topic: CEGUI String vs std::wstring
Replies: 7
Views: 6041

CEGUI String vs std::wstring

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 ...
by vasmann
Mon Nov 13, 2006 19:11
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Windows Update
Replies: 5
Views: 1993

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...
by vasmann
Mon Nov 13, 2006 15:05
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Windows Update
Replies: 5
Views: 1993

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...
by vasmann
Mon Nov 13, 2006 11:19
Forum: Help
Topic: Can't understand where problem is
Replies: 8
Views: 1462

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...
by vasmann
Mon Nov 13, 2006 09:30
Forum: Help
Topic: Resizing windows without resizing cegui elements.
Replies: 3
Views: 846

Re: Resizing windows without resizing cegui elements.

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...
by vasmann
Mon Nov 13, 2006 09:24
Forum: Help
Topic: Can't understand where problem is
Replies: 8
Views: 1462

Re: Problem was really in debug versions of dll's

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...
by vasmann
Sat Nov 11, 2006 19:27
Forum: Help
Topic: Can't understand where problem is
Replies: 8
Views: 1462

Problem was really in debug versions of dll's

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...
by vasmann
Sat Nov 11, 2006 18:24
Forum: Help
Topic: Can't understand where problem is
Replies: 8
Views: 1462

There is some problem with loading tga under debug profile

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?
by vasmann
Sat Nov 11, 2006 15:53
Forum: Help
Topic: CEGUI + Dev-c++, problems
Replies: 4
Views: 1505

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...
by vasmann
Sat Nov 11, 2006 15:29
Forum: Help
Topic: Can't understand where problem is
Replies: 8
Views: 1462

Can't understand where problem is

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...

Go to advanced search