Search found 8 matches

by pighead10
Wed Nov 30, 2011 22:24
Forum: Help
Topic: CEGUI buttons not subscribing to events?
Replies: 0
Views: 3148

CEGUI buttons not subscribing to events?

When the class is initiated, a GUI layout is loaded and subscribed using the line: guiRoot->getChild("Root/AddMiner")->subscribeEvent(CEGUI::PushButton::EventClicked,CEGUI::Event::Subscriber(&GameState::addMiner,this)); which works fine. However, it is then swapped, changing the layout...
by pighead10
Thu Oct 27, 2011 20:36
Forum: Help
Topic: subscribeEvent function parameter taking more than one arg?
Replies: 4
Views: 4951

Re: subscribeEvent function parameter taking more than one a

I've never used the boost library myself. Is there an easy way of explaining what it does? I'm relatively new to C++ and am not familiar with stl bind functions either.
by pighead10
Thu Oct 27, 2011 16:53
Forum: Help
Topic: subscribeEvent function parameter taking more than one arg?
Replies: 4
Views: 4951

subscribeEvent function parameter taking more than one arg?

guiRoot->getChild("Root/AddMiner")->subscribeEvent(CEGUI::PushButton::EventClicked,CEGUI::Event::Subscriber(&GameState::addMiner,this)); I want GameState::addMiner to have an additional argument passed to it, as well as the necessary const CEGUI::EventArgs& one. Is there any easy ...
by pighead10
Sun Sep 11, 2011 15:57
Forum: Help
Topic: subscribeEvent produces error C2064
Replies: 4
Views: 3203

Re: subscribeEvent produces error C2064

Thanks!
by pighead10
Sun Sep 11, 2011 15:29
Forum: Help
Topic: subscribeEvent produces error C2064
Replies: 4
Views: 3203

Re: subscribeEvent produces error C2064

It doesn't like it, "no instance of CEGUI::SubscriberSlot::SubscriberSlot matches the argument list"
by pighead10
Sun Sep 11, 2011 11:50
Forum: Help
Topic: subscribeEvent produces error C2064
Replies: 4
Views: 3203

subscribeEvent produces error C2064

guiRoot->getChild("Root/AddMiner")->subscribeEvent(CEGUI::PushButton::EventClicked,CEGUI::Event::Subscriber(&GameState::addMiner)); This line produces an error: c:\cegui\cegui\include\CEGUIFunctorCopySlot.h(51): error C2064: term does not evaluate to a function taking 1 arguments Here...
by pighead10
Fri Jan 21, 2011 20:48
Forum: Help
Topic: [SOLVED] CEGUI throws CEGUI::GenericException
Replies: 2
Views: 2713

Re: CEGUI throws CEGUI::GenericException

I couldn't find my log file!

Anyways, I fixed it by looking at another thread about the same thread (OMG SEARCH BAR). Yep, I was missing quite a few DLLs...
by pighead10
Fri Jan 21, 2011 17:52
Forum: Help
Topic: [SOLVED] CEGUI throws CEGUI::GenericException
Replies: 2
Views: 2713

[SOLVED] CEGUI throws CEGUI::GenericException

I'm working on the basic tutorial 7, having just spent ages building CEGUI and getting all the dlls and libs to build and putting them in the correct place. It's still not working, although I'm not sure if it's because of missing dlls or libs. I've configuring the project correctly. Visual Studio 20...

Go to advanced search