Results 1 to 3 of 3

Thread: Irrlicht GUI support..?

  1. #1
    Squire tehJP's Avatar
    Join Date
    Aug 2012
    Location
    Bristol, UK
    Posts
    14

    Default Irrlicht GUI support..?

    Hi,

    I've just started using Proton and would like to say a huge thanks for making a framework that has been so easy to port my Irrlicht project into, thus far

    I was using the Irrlicht GUI system for some temporary buttons etc in my game but it seems like the GUI system has been disabled in Proton?

    Was this for a specific reason? I see there's a Proton GUI system of some sort (not looked into it much yet) so maybe that's just the reason why? Would re-enabling the Irrlicht system be possible if I felt like taking that route?

  2. #2
    Administrator Seth's Avatar
    Join Date
    Jul 2002
    Location
    Japan
    Posts
    5,377

    Default

    You can compile with Irrlicht's internal GUI if you want, but the examples don't.

    To do it, add their .cpp files to your project, and define _IRR_COMPILE_WITH_GUI_ - mouse input/etc is not really wired up though, you'd probably have to hack it a bit and send Proton mouse/touch events.

    Sorry I haven't played with that yet, as I mostly use the Proton GUI stuff (it's very touch-centric, for instance, it can track all the different fingers at once, rather than expecting a single mouse) - but I do use the Irrlicht GUI to render fonts in my tank game, using the flag above and it does work.

    So, so summarize, that's how to compile it and have it render everything, but actual mouse/click/keyboard events are not handled yet, so the buttons won't really work.
    Seth A. Robinson
    Robinson Technologies

  3. #3
    Squire tehJP's Avatar
    Join Date
    Aug 2012
    Location
    Bristol, UK
    Posts
    14

    Default

    Cheers Seth, some things to think about there

Similar Threads

  1. Irrlicht OpenGL ES 2.0
    By Yogi in forum Proton SDK
    Replies: 3
    Last Post: 11-06-2012, 12:49 PM
  2. how to while(device->run()) loop in irrlicht?
    By blackMasoon in forum Proton SDK
    Replies: 5
    Last Post: 08-07-2011, 11:07 AM
  3. 2d in irrlicht
    By Egerexy in forum Proton SDK
    Replies: 0
    Last Post: 07-07-2011, 11:17 AM
  4. Replies: 3
    Last Post: 01-09-2011, 09:50 PM
  5. Big update comitted, Irrlicht updated
    By Seth in forum Proton SDK
    Replies: 1
    Last Post: 12-29-2010, 10:05 AM

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •