Scrolling a list of custom elements

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

realloc
Just popping in
Just popping in
Posts: 2
Joined: Tue May 05, 2015 17:14

Scrolling a list of custom elements

Postby realloc » Thu May 14, 2015 19:31

HI!

Now that I got cegui and ceed working I played a bit with it and already created a custom filesystem dialog in combination with boost::filesystem -> cegui is very awesome!

However, for some sort of map editor I already wrote a GUI with SFGui some time ago and now I want to replace it with an implementation using cegui.
For this purpose I need to create some sort of palette, in SFGui I created some kind of scrollable list widget containing instances of a custom widget:

Image

Image

Image

What would you suggest/How would you achieve something like this in cegui? Should I create some sort of modified version of the Listbox or a totally new container widget?

Thank you for your help and interest!

(sry for bad English, it's not my native language)

lucebac
Just can't stay away
Just can't stay away
Posts: 193
Joined: Sat May 24, 2014 21:55

Re: Scrolling a list of custom elements

Postby lucebac » Thu May 14, 2015 19:48

I think you need something like ScrollabelPane. Just look into the samples - there should be one showing how ScrollablePane works.


Return to “Help”

Who is online

Users browsing this forum: No registered users and 4 guests