Is it possible to add checkbox into MultiColumnList?

For help with anything that CEGUI doesn't offer straight out-of-the-box, e.g.:
- Implementation of new features, such as new Core classes, widgets, WindowRenderers, etc. ...
- Modification of any existing features for specific purposes
- Integration of CEGUI in new engines or frameworks and writing of new plugins (Renderer, Parser, ...) or modules

Moderators: CEGUI MVP, CEGUI Team

kili
Not too shy to talk
Not too shy to talk
Posts: 45
Joined: Fri Apr 27, 2007 06:17

Is it possible to add checkbox into MultiColumnList?

Postby kili » Fri Feb 13, 2009 09:57

As title, we want to add checkbox in front of MultiColumnList's child items,
how to implement this?( I've inherited ListboxItem, added a checkbox member)

Any help appreciated.

User avatar
scriptkid
Home away from home
Home away from home
Posts: 1178
Joined: Wed Jan 12, 2005 12:06
Location: The Hague, The Netherlands
Contact:

Postby scriptkid » Fri Feb 13, 2009 13:06

Hi kili,

this wiki page might provide some help:
http://www.cegui.org.uk/wiki/index.php/ ... istboxItem

HTH :)
Check out my released snake game using Cegui!

kili
Not too shy to talk
Not too shy to talk
Posts: 45
Joined: Fri Apr 27, 2007 06:17

Postby kili » Sat Feb 14, 2009 01:50

Hi scriptkid,

I've added a StaticImage and a Checkbox to Listbox before, but this time, it is MultiColumnList.

mcl->addChildWindow(check);
couldn't help me add an Item into correspond row/column.

Should I also let the CheckListboxItem inherit ListboxItem?

User avatar
CrazyEddie
CEGUI Project Lead
Posts: 6760
Joined: Wed Jan 12, 2005 12:06
Location: England
Contact:

Postby CrazyEddie » Mon Feb 16, 2009 10:05

Adding Window based content to the MCL is big issue, in that it can't really be done.

You might get some value you of the PseudoListbox article - depending what your needs are it can give the effect of a listbox, wile not actually being one.

HTH

CE.

kili
Not too shy to talk
Not too shy to talk
Posts: 45
Joined: Fri Apr 27, 2007 06:17

Postby kili » Tue Feb 17, 2009 01:28

Hi CE,

Thanks for help, I'll try it next week. :)


Return to “Modifications / Integrations / Customisations”

Who is online

Users browsing this forum: No registered users and 0 guests