Ahhhh,
thank you very much, I become to understand the technique of CEGUI.
I will try this at home.
Btw:
I think not I'm a stupid noob programmer but some techniques I don't know.
Mayby you can give me some keywords that help me to understand this technique.
Bye ...
Search found 15 matches
- Mon Feb 08, 2010 12:05
- Forum: Modifications / Integrations / Customisations
- Topic: React on right clicked mouse Events [solved]
- Replies: 12
- Views: 7554
- Mon Feb 08, 2010 10:26
- Forum: Modifications / Integrations / Customisations
- Topic: React on right clicked mouse Events [solved]
- Replies: 12
- Views: 7554
Re: React on right clicked mouse Events [solved]
.... .... HTH CE. Okay... What you had said sounds logic. Ok, If I try to do this: MyPushButton* myButton(dynamic_cast<MyPushButton*>(CEGUI::WindowManager::createWindow("Vanilla/Pushutton","MyButton"))); and MyPushButton is derived from CEGUI::PushButton it will works, I mean my...
- Mon Feb 08, 2010 07:21
- Forum: Modifications / Integrations / Customisations
- Topic: React on right clicked mouse Events [solved]
- Replies: 12
- Views: 7554
Re: React on right clicked mouse Events
........... .......... bool OtherDialog::aHandle(const CEGUI::EventArgs& e) { const CEGUI::MouseEventArgs& args = reinterpret_cast<const CEGUI::MouseEventArgs&>(e); if (args.button != CEGUI::RightButton) { return false; } ... } ..... So, still one question: Why you use the reinterpret_c...
- Sat Feb 06, 2010 08:25
- Forum: Modifications / Integrations / Customisations
- Topic: React on right clicked mouse Events [solved]
- Replies: 12
- Views: 7554
Re: React on right clicked mouse Events
Thank you very much...
So, in one sentence:
MouseEventArgs is subclassed from EventArgs.
Now I am happy.
And I don't think my time is more valuable.
Bye JoseMan
So, in one sentence:
MouseEventArgs is subclassed from EventArgs.
Now I am happy.
And I don't think my time is more valuable.
Bye JoseMan
- Fri Feb 05, 2010 17:38
- Forum: Modifications / Integrations / Customisations
- Topic: React on right clicked mouse Events [solved]
- Replies: 12
- Views: 7554
React on right clicked mouse Events [solved]
Hi dear Community, I want to react on a right mouse click on a window. But how it can be realize? Normal (left clicked mouse events) I implemented like this: CEGUI::WindowManager::getSingleton().getWindow((CEGUI::utf8*)windowStr->subscribeEvent(Window::EventMouseClick, Event::Subscriber(&OtherDi...
- Mon Dec 21, 2009 07:22
- Forum: Help
- Topic: General help
- Replies: 2
- Views: 1757
Re: General help
Hi, the second to your 2nd question: If I understand right, you need something, how you define the image for a window dynamic: Window* img = WindowManager::getSingleton().getWindow("Example/Window/StaticImage"); img->setProperty("Image", "set:BackgroundImage image:full_image...
- Sun Dec 20, 2009 15:25
- Forum: Help
- Topic: [solved] App crashes after SchemeManager::create(..)
- Replies: 1
- Views: 1554
Re: App crashes after SchemeManager::create(..)
Okay, sorry for not using the search....
Sorry for not reading important information on the wiki.
So the reason could be, thats a little mistake with the release version..
Link.
I try to compile from source...
But If anybody has another idea, please post it.
Ciao J...
Sorry for not reading important information on the wiki.
So the reason could be, thats a little mistake with the release version..
Link.
I try to compile from source...
But If anybody has another idea, please post it.
Ciao J...
- Sun Dec 20, 2009 08:13
- Forum: Help
- Topic: [solved] App crashes after SchemeManager::create(..)
- Replies: 1
- Views: 1554
[solved] App crashes after SchemeManager::create(..)
Hi again, I got a problem. When I run my program in debug mode all works fine, but when I try to run in release mode, the program crashes at this line: CEGUI::SchemeManager::getSingleton().create("VanillaSkin.scheme" ); I use the CEGUI version 0.7.1 and I use VS2008. Here is the CEGUI.log ...
- Fri Dec 18, 2009 12:12
- Forum: Help
- Topic: [solved]Vanilla/Editbox no input
- Replies: 4
- Views: 2171
Re: Vanilla/Editbox no input
Hi,
yes thank you, that was the solution.
Now it works fine.. ..
Thanks and ciao
J...
yes thank you, that was the solution.
Now it works fine.. ..
Thanks and ciao
J...
- Sun Dec 13, 2009 18:11
- Forum: Help
- Topic: [solved]Vanilla/Editbox no input
- Replies: 4
- Views: 2171
Re: Vanilla/Editbox no input
Hi, I considered ignoring your post completely; you haven't posted any relevant information. Sorry, but what informations do you need? The version I use is 0.7.1. 3) You're using 0.7.1, have subscribed Window::EventCharacterKey and are returning true from the handler (thus marking the event handled...
- Sun Dec 13, 2009 14:36
- Forum: Help
- Topic: [solved]Vanilla/Editbox no input
- Replies: 4
- Views: 2171
[solved]Vanilla/Editbox no input
Hi at all, I've got a problem: I create an EditBox where a player can type his name. But when I click in this widget a blue cursor appears but I can't do a input. Here is the code how I create the EditBox: Window* editName = WindowManager::getSingleton().createWindow("Vanilla/Editbox",&quo...
- Tue Nov 10, 2009 13:37
- Forum: Help
- Topic: Render an image on a Window
- Replies: 7
- Views: 4618
Re: Render an image on a Window
Yes, that works. Thanks. I begin to understand how CEGUI works :D . How I know which properties there are exist? Can anybody tell me, where I can find a list of properties? Should I take a look in the *.scheme files, or something like this? I'm using the latest releas of CEGUI. (Mayby a stupid quest...
- Mon Nov 09, 2009 07:31
- Forum: Help
- Topic: Render an image on a Window
- Replies: 7
- Views: 4618
Re: Render an image on a Window
Okay, another problem: BTW: My english is a little bit terrible. :oops: I want to have a flexible image. When someting is happen use XYZ.tga as image, when something else is happen use ABC.tga..... and so on. In my game, there can be 20-30 possibilities for the use of an image. How I realize that? S...
- Sun Nov 08, 2009 17:06
- Forum: Help
- Topic: Render an image on a Window
- Replies: 7
- Views: 4618
Re: Render an image on a Window
Thanks Jabberwocky.
StaticImage is the keyword.....
I'll try it.
Bye J...
StaticImage is the keyword.....
I'll try it.
Bye J...
- Sun Nov 08, 2009 08:45
- Forum: Help
- Topic: Render an image on a Window
- Replies: 7
- Views: 4618
Render an image on a Window
Hi there, 1st: CEGUI is a nice Lib (or Framework?). 2nd: The registration to the forum was a bit difficult/confused for me.... but now I'm happy :) . Okay, to my question. I want to render an image on a CEGUI-Window, for example on a button or on a window (used as a frame) under a button. I can't fi...