just a window (no frame, bg, ...) [solved]

For help with general CEGUI usage:
- Questions about the usage of CEGUI and its features, if not explained in the documentation.
- Problems with the CMAKE configuration or problems occuring during the build process/compilation.
- Errors or unexpected behaviour.

Moderators: CEGUI MVP, CEGUI Team

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

just a window (no frame, bg, ...) [solved]

Postby Pompei2 » Thu Oct 12, 2006 17:59

Hello,

I'd like to know wether it is possible and how to create a container for widgets. I mean something like a frame window but without the frae, background, ... I managed to get a framewindow without titlebar, frame, ... but i cant hide its background. Is there another solution ??

what i want to achieve is to load just a few buttons from an layout file, but as i need a root, i thought of an invisible window ... I could use a staticImage with no image, but isn't there a more proper way ??
Last edited by Pompei2 on Thu Oct 12, 2006 23:46, edited 1 time in total.

User avatar
spannerman
Home away from home
Home away from home
Posts: 330
Joined: Wed Jan 12, 2005 12:06

Postby spannerman » Thu Oct 12, 2006 23:40

Try the DefaultGUISheet E.g:

Code: Select all

Window* invisiWin = winMgr.createWindow("DefaultGUISheet", "invisiWin");

Pompei2
Home away from home
Home away from home
Posts: 489
Joined: Tue May 23, 2006 16:31

Postby Pompei2 » Thu Oct 12, 2006 23:46

great, that works ! thank you. my error was that i only looked in the looknfeel file :)

User avatar
spannerman
Home away from home
Home away from home
Posts: 330
Joined: Wed Jan 12, 2005 12:06

Postby spannerman » Fri Oct 13, 2006 12:06

Cool :D


Return to “Help”

Who is online

Users browsing this forum: No registered users and 21 guests