Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: CEGUI and View  (Read 1275 times)

0 Members and 1 Guest are viewing this topic.

lordgordon

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://www.lordgordon.com
CEGUI and View
« on: February 05, 2010, 09:08:37 pm »
Dear developers,
I've started learning this interesting library and I'm writing a simple C++ videogame. So far I made a simple sprite engine with mouse controlled movements. Now it's time to try a simple GUI. I choose CEGUI. Installation and integration into my SFML project works perfect. But I ask to this forum for a question.

How to integrate the sf::View into CEGUI? In my windows I want an upper CEGUI frame with all game informations, and the rest of the window the sf::View with the real game. Now I have both, but the frame is over the view, so it covers the sprites. Someone has an example to do this better? Or I have to hardcode the check of the object position in order to avoid the problem? I'm sure exist a simple and elegant solutions.

Many thanks for your help!

Best regards,

BTW: all the code is GPLv3 avaiable at https://sourceforge.net/projects/chasingtarget

Nicholas Fiorentini

lordgordon

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://www.lordgordon.com
CEGUI and View
« Reply #1 on: February 05, 2010, 09:09:37 pm »
Ah, I miss this fact: I never used CEGUI so far! :)

thanks