Decorated frames or titlebar-less FrameWindows?

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

Garthy
Just popping in
Just popping in
Posts: 15
Joined: Thu Dec 02, 2010 02:06

Decorated frames or titlebar-less FrameWindows?

Postby Garthy » Tue Sep 13, 2011 03:44

Is there a simple way to create a window with a decorated frame that can contain other Windows? Sort of like a TaharezLook/FrameWindow without a titlebar.

I've tried a FrameWindow and disabling the titlebar with the "TitlebarEnabled" property, but it literally cuts the top of the window off and it looks terrible.

The intended use is for progress dialogs, "please wait"-style messages, popup messages that remain for a fixed time, etc.

I've been kludging a solution by setting a FrameWindow to have a 4-pixel high font, which shrinks the titlebar down somewhat. It's a definite kludge and I'm open to any suggestions for improvements. :)

User avatar
Kulik
CEGUI Team
Posts: 1382
Joined: Mon Jul 26, 2010 18:47
Location: Czech Republic
Contact:

Re: Decorated frames or titlebar-less FrameWindows?

Postby Kulik » Tue Sep 13, 2011 17:44

Does it need to be draggable?

If not you can use DefaultWindow and skin it with falagard.

Garthy
Just popping in
Just popping in
Posts: 15
Joined: Thu Dec 02, 2010 02:06

Re: Decorated frames or titlebar-less FrameWindows?

Postby Garthy » Wed Sep 14, 2011 03:40

Kulik wrote:Does it need to be draggable?

If not you can use DefaultWindow and skin it with falagard.


Luckily, it doesn't need to be draggable. I imagine it would get a bit more complicated if it did. :}

Thankyou for the suggestion and starting point. :) As I'm still quite new to CEGUI, knowing the best angle to tackle this problem from is still the biggest issue for me. I now know that I need to dig into skinning a bit more to solve this one. Thanks again. :)


Return to “Help”

Who is online

Users browsing this forum: No registered users and 12 guests