Search found 13 matches

by hermit purple
Wed Feb 24, 2010 02:03
Forum: Help
Topic: Key input support for listbox
Replies: 1
Views: 1498

Key input support for listbox

I found that if I attach a keyDown callback to a ItemListbox and in the callback increment the selected index of the list. This will highlight the next item and then the next. However, if the selection goes out of the box, the list doesn't scroll, and in effect you don't see what you're selecting an...
by hermit purple
Tue Feb 09, 2010 20:34
Forum: Modifications / Integrations / Customisations
Topic: Z value of all the quads
Replies: 1
Views: 2612

Z value of all the quads

When I'm implementing my own renderer module, it seems that all the quad's Z value are 0. I did some tracing, setTranslation() and appendGeometry() always pass me something with Z equal to 0. It seems that the function that pass me the vertex/vector are hard-coding the Z value to 0, they are from Wi...
by hermit purple
Mon Jan 18, 2010 22:26
Forum: Modifications / Integrations / Customisations
Topic: ListboxItem outside the box
Replies: 7
Views: 5633

Re: ListboxItem outside the box

The area return, basically the d_innerUnclippedRect of the listbox is way too high. I tried to make the box smaller in the editor and the area in code will be smaller but only by a very small margin. Before, top is 499 and bot is 969. After making the box 1/3 of it's original height, the top remains...
by hermit purple
Mon Jan 18, 2010 17:42
Forum: Modifications / Integrations / Customisations
Topic: ListboxItem outside the box
Replies: 7
Views: 5633

Re: ListboxItem outside the box

You're right, FairChar is part of the 0.7.0 lib that I use. I tested it on the sample project and it actually work. This means the original lib actually works fine. So the problem is only happening on my phyre ported version of the lib. My question is then, where is the code that determines which it...
by hermit purple
Mon Jan 18, 2010 15:34
Forum: Modifications / Integrations / Customisations
Topic: ListboxItem outside the box
Replies: 7
Views: 5633

Re: ListboxItem outside the box

I'm using Taharez as the skin and FairChar as the pixmap font.

I think they are the same as they were in the package, except that FairChar was downloaded from the CEGUI website as it's not part of the library (there are no pixmap font in the library).
by hermit purple
Wed Jan 13, 2010 16:53
Forum: Unofficial CEGUI-Related Tools
Topic: CELayoutEditor 0.7.1 with pixmap font
Replies: 1
Views: 9211

CELayoutEditor 0.7.1 with pixmap font

I'm having some strange issue with the new editor. Using the binary release, I added FairChar-30 font to the datafile and test it out. After I created a button and tried to set the text in Main Dialog, as I typed in letters, the editor crash, there is no error on screen or in the log file. The log f...
by hermit purple
Wed Jan 13, 2010 15:46
Forum: Modifications / Integrations / Customisations
Topic: ListboxItem outside the box
Replies: 7
Views: 5633

ListboxItem outside the box

I'm making a list of items using ItemListbox (the box) and ItemEntry (the items), but for some reason the items are overflow to outside the boundary of the box. For example, if the box can fit 3 items and I added 5, then there will be 2 items showing up beneath the listbox. This is not just a graphi...
by hermit purple
Thu Nov 19, 2009 19:30
Forum: Unofficial CEGUI-Related Tools
Topic: CheckListboxItem in ItemListbox is not saved by LayoutEditor
Replies: 7
Views: 13000

Re: CheckListboxItem in ItemListbox is not saved by LayoutEditor

I don't understand why this is a limitation in CEGUI and not in Layout Editor. I tried manually adding two ListboxItem into ItemListbox and it loads properly in my app. It even loads properly in Layout Editor. It's just that when saving in Layout Editor, it leaves out the two ListboxItem. It seems t...
by hermit purple
Thu Nov 05, 2009 21:20
Forum: Modifications / Integrations / Customisations
Topic: Highlight button using key input
Replies: 1
Views: 2921

Highlight button using key input

I know that you can highlight buttons using mouse hover, the button will change it's StateImagery to "Hover". Is this doable by using key input? For example, press right will highlight the button on the right. The button doesn't seem to go into "Hover" state and I'm not sure how ...
by hermit purple
Wed Oct 28, 2009 23:41
Forum: Modifications / Integrations / Customisations
Topic: Adding vertices to appendGeometry()
Replies: 6
Views: 5110

Adding vertices to appendGeometry()

When ImageSet:: draw() calls appendGeometry, it pass six vertices. The last 2 being the diagonal vertex. Is there a particular reason why we pass 6 vertex instead of 4. My system will be using quad so the last 2 vertices seems redundant. Am I safe to just ignore the last 2 vertices? Also, correct me...
by hermit purple
Wed Oct 28, 2009 23:37
Forum: Modifications / Integrations / Customisations
Topic: Disable exception
Replies: 7
Views: 5453

Re: Disable exception

Thanks for all the reply. It looks like it's save to replace exception with termination. CEGUI doesn't seem to use exception other than error reporting. And yes, PS3 does have exception support but devil always lies in the details. In this case, it depends on which CPU you use, and in certain case i...
by hermit purple
Mon Oct 26, 2009 14:31
Forum: Modifications / Integrations / Customisations
Topic: Disable exception
Replies: 7
Views: 5453

Re: Disable exception

Will commenting out throw lines effect how CEGUI work? What I'm asking is, does CEGUI use exception for regular operation? or only use exception for error handling? If it's just for error handling, then I assume it would be safe to remove them since we wouldn't run into these errors on final release...
by hermit purple
Fri Oct 23, 2009 22:49
Forum: Modifications / Integrations / Customisations
Topic: Disable exception
Replies: 7
Views: 5453

Disable exception

I'm porting CEGUI to PS3 and I encounter a problem. It seems that PS3 disable support for exception handling. So the code will not compile when it see CEGUI code. There are some info about using _HAS_EXCEPTIONS to disable STL dll but I'm not sure if that does anything since I'm getting compile error...

Go to advanced search