Search found 9 matches

by IJs
Sat Feb 25, 2006 17:02
Forum: Modifications / Integrations / Customisations
Topic: Decimal number sorting
Replies: 6
Views: 1031

So I solved the problem. It turned out, I had to change the (bugged) original code of MultiColumnList::ListRow::operator<(const ListRow& rhs) const : return a.getText() < b.getText(); Not to the following (which I had first): return a < b; But to the following: return *a < *b; (I...
by IJs
Sat Feb 25, 2006 15:34
Forum: Modifications / Integrations / Customisations
Topic: Decimal number sorting
Replies: 6
Views: 1031

You have to convert the strings into number. and then compare the number value. someting like int v1 = atoi(a.getText().c_str()); int v2 = atoi(a.getText().c_str()); return v1 < v2; 1. I can't override that ListRow function. 2. I can't just make a hac...
by IJs
Fri Feb 24, 2006 22:05
Forum: Modifications / Integrations / Customisations
Topic: Decimal number sorting
Replies: 6
Views: 1031

I tried that with the following class structure: 1. CEGUI::ListboxItem 2. CEGUI::ListboxTextItem, derived from CEGUI::ListboxItem 3. MyListboxItem, derived from CEGUI::ListboxTextItem, with the following (overridden?) functions declared: bool operator < ( const ListboxItem& rhs ) const; ...
by IJs
Wed Feb 22, 2006 11:58
Forum: Modifications / Integrations / Customisations
Topic: Decimal number sorting
Replies: 6
Views: 1031

Decimal number sorting

Hey, I'm using CEGUI 0.4.0 for one of the main projects I work on. However I stumbled upon a sorting issue within our application. Whenever I sort an entire column in a MultiColumnList, that is made out of ListboxItems that only contains numbers, it is sorted character-wise instead of number-wise. I...
by IJs
Tue Aug 02, 2005 19:38
Forum: Modifications / Integrations / Customisations
Topic: windows trouble
Replies: 3
Views: 1004

Re: windows trouble

Just bumping this topic cause I've came across the same problem.

This problem seems to occurs either whenever I draw two FrameWindows or two windows/controls that are overlapping each other.

Any fix available for this? We're planning on a release for our program very soon :?
by IJs
Sun Jul 24, 2005 13:47
Forum: Modifications / Integrations / Customisations
Topic: Boxed textures bad perf
Replies: 1
Views: 581

Boxed textures bad perf

I'm designing a GUI for our CEGUI-powered application, and i've came across various issues related to the textures. Here's one. Controls like the editbox and combobox resize their texture to the height of the font. If you're using a theme with pixel-art-style textures (1 pixel borders) this becomes ...
by IJs
Sun Jun 12, 2005 09:54
Forum: Offtopic Discussion
Topic: Anti-Aliasing
Replies: 0
Views: 1150

Anti-Aliasing

Just wanted to report that forced Anti-Aliasing (through programs like PowerStrip or modded drivers) fscks up the scales of all the CEGUI windows.

I know I shouldn't be forcing the anti-aliasing but most of times it just looks better in games.
by IJs
Sat Mar 26, 2005 10:39
Forum: Modifications / Integrations / Customisations
Topic: DisplayModeChanged isn't defined?
Replies: 2
Views: 667

Re: DisplayModeChanged isnt defined?

(...)

Changing to 0.2.0 worked, as you suggested. Thanks!
by IJs
Fri Mar 25, 2005 14:20
Forum: Modifications / Integrations / Customisations
Topic: DisplayModeChanged isn't defined?
Replies: 2
Views: 667

DisplayModeChanged isn't defined?

I'm having this problem with CEGUI 0.1.0 (and 0.1.1) and it's annoying me. I can't find out what's causing it or how to solve it. When I start the application, it immediately bombs out with the following error in the log file: ---- CEGUI System initialisation completed ---- (Error) Exception...

Go to advanced search