Tables? Available, or recommended approach?

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

Protagonist
Not too shy to talk
Not too shy to talk
Posts: 23
Joined: Sat Mar 03, 2007 22:54

Tables? Available, or recommended approach?

Postby Protagonist » Mon Apr 02, 2007 15:14

Hi there

I've searched around, but can't quite get a straight answer/solution.

Are tables available for CEGUI? And if not, what's the best approach to make one manually?

I simply need to create a table of fixed dimensions and number of cells, where the only thing I'll change being the text in the the cells.

I've read that I could use statictext, but that the peformance hit would be considerable.

If anybody could help, that'd be greatly appreciated.

Thanks

Rackle
CEGUI Team (Retired)
Posts: 534
Joined: Mon Jan 16, 2006 11:59
Location: Montréal

Postby Rackle » Mon Apr 02, 2007 16:26

Check out the MultiColumnList widget, which is a "table" of text data.

Protagonist
Not too shy to talk
Not too shy to talk
Posts: 23
Joined: Sat Mar 03, 2007 22:54

Postby Protagonist » Mon Apr 02, 2007 18:02

Hmm thanks, but I only want the table for display of data, I don't want it modifiable. But multi column list seems to use listboxes..

Rackle
CEGUI Team (Retired)
Posts: 534
Joined: Mon Jan 16, 2006 11:59
Location: Montréal

Postby Rackle » Mon Apr 02, 2007 19:01

Download and run the code from WidgetGalore. You'll see that it's read-only. It really is what you are looking for.

Protagonist
Not too shy to talk
Not too shy to talk
Posts: 23
Joined: Sat Mar 03, 2007 22:54

Postby Protagonist » Mon Apr 02, 2007 19:41

Thanks. Got it working in my project.
However, I'd really like lines or borders or something of some sort to make rows and columns visible. Any suggestions?


Return to “Help”

Who is online

Users browsing this forum: No registered users and 30 guests