Using the debugger.

Help with integrating libRocket into your engine and game

Using the debugger.

Postby CAREFiSH on Sat Aug 18, 2012 10:09 am

Hello there,

First of all, I'm trying to integrate libRocket, I'm also quite new to C++ programming still so bear with me for any foolishness you might see haha, so far I've been having a few problems with integrating libRocket.
The first: I can't click on any of the Debugger's buttons, quite annoying!
Here's the code; http://pastebin.com/UqjC8mQF (If you were wondering where I call glClear() / SDL_GL_SwapBuffers(), that can be found here: http://pastebin.com/6JQ92rc6 )
The second: I can't seem to figure out how to get <form> / <input> and <handle> tags to work, do I have to implement Python with libRocket to get those to work? Or can I use those tags from C++? If so, how?
I've been reading, trying out the samples from libRocket... And after a few days, I'm at a loss.

I would love some help/hints, and if you need more code I'll be happy to oblige.

Thanks in advance, and sorry for any mistakes as English isn't my native tongue.
CAREFiSH
 
Posts: 2
Joined: Sat Aug 18, 2012 9:58 am

Re: Using the debugger.

Postby CAREFiSH on Sat Aug 18, 2012 1:13 pm

It's been solved. I had to expose event handling to SDL, or vice versa not sure about terminology here... But I got that part working, the question remains on how to use those tags, I'll keep on fiddling with them.
CAREFiSH
 
Posts: 2
Joined: Sat Aug 18, 2012 9:58 am


Return to Engine Integration


cron