Search found 27 matches

by zhaosili
Tue Oct 19, 2010 10:38
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Extension of the interface of loadFromMemory of a Texture?
Replies: 0
Views: 3704

Extension of the interface of loadFromMemory of a Texture?

Recently I look into the Font module performance issue for the CJK charset, I found that CEGUI treats 256 chars as a block, loaded them together into one texture using the interface below: virtual void CEGUI::Texture::loadFromMemory(const void* buffer, const Size& buffer_size, PixelFormat pixel_...
by zhaosili
Mon Oct 12, 2009 08:01
Forum: Help
Topic: Another child window layout problem in 0.7.0
Replies: 12
Views: 9206

Re: Another child window layout problem in 0.7.0

Hi,

Sorry for replying so late,
The resolution of my program is fixed to 800 x 600 and I don't use any thing related to size changes.
I will try the new version in the svn trunk.
Thank you, CE.
by zhaosili
Sat Oct 10, 2009 10:36
Forum: Help
Topic: Another child window layout problem in 0.7.0
Replies: 12
Views: 9206

Re: Another child window layout problem in 0.7.0

Hi,
It seems correct in your demo, it's so strange that I don't know what's wrong with my program, currently I just use layouts without minus values to get it work around.

BTW: I use Irrlicht for my program, may it be related to this problem?
by zhaosili
Tue Oct 06, 2009 09:29
Forum: Help
Topic: Another child window layout problem in 0.7.0
Replies: 12
Views: 9206

Re: Another child window layout problem in 0.7.0

Hi, I am so busy these days. Sorry for replying so late. I think I found when the problem occurs. Try loading the following three layouts, then use 'UserInfo' as the child of 'Channel/Avatar' and 'Avatar' as the child of 'UserInfo/Ava', that is, Channel<--Channel/Avatar<--UserInfo<--UserInfo/Ava<--A...
by zhaosili
Sun Oct 04, 2009 10:10
Forum: Help
Topic: Another child window layout problem in 0.7.0
Replies: 12
Views: 9206

Re: Another child window layout problem in 0.7.0

Hi, I'm so sorry that I made a mistake. I have posted the wrong layout in the above reply. Try this one. <?xml version="1.0" encoding="UTF-8"?> <GUILayout > <Window Type="DefaultWindow" Name="Avatar" > <Property Name="InheritsAlpha" Value="False...
by zhaosili
Sat Oct 03, 2009 15:48
Forum: Help
Topic: Another child window layout problem in 0.7.0
Replies: 12
Views: 9206

Re: Another child window layout problem in 0.7.0

Hi, Replace the Avatar layout in that thread, I think it will reproduce the problem. <?xml version="1.0" encoding="UTF-8"?> <GUILayout > <Window Type="DefaultWindow" Name="Avatar" > <Property Name="InheritsAlpha" Value="False" /> <Property ...
by zhaosili
Thu Oct 01, 2009 21:01
Forum: Help
Topic: Another child window layout problem in 0.7.0
Replies: 12
Views: 9206

Another child window layout problem in 0.7.0

Another child window layout problem in 0.7.0

The problem is similar to the one:
viewtopic.php?f=10&t=4365
except that it happens in vertical axis but not in horizontal axis.
by zhaosili
Wed Sep 30, 2009 18:15
Forum: Help
Topic: Typing Tag in EditBox Crashing
Replies: 14
Views: 14447

Re: Typing Tag in EditBox Crashing

I agree with you, that's a good idea for users who want to porting from 0.7.0 to 0.7.1.

zhaosili
by zhaosili
Tue Sep 29, 2009 15:02
Forum: Help
Topic: Typing Tag in EditBox Crashing
Replies: 14
Views: 14447

Re: Typing Tag in EditBox Crashing

Yeah, the problem is sticky. Currently I hack CEGUI with this:

Code: Select all

    //void parseTextString() const;
    //Hack
    virtual void parseTextString() const;


Then I use 'MyListBoxTextItem:public ListboxTextItem' and 'MyTreeItem:public TreeItem',
override the 'parseTextString()' method to work around.
by zhaosili
Tue Sep 29, 2009 11:04
Forum: Help
Topic: Typing Tag in EditBox Crashing
Replies: 14
Views: 14447

Re: Typing Tag in EditBox Crashing

Thank you very much, CE.
I'll try it.
BTW: I found the code of the ListboxTextItem and TreeItem also includes basicStringParser, does the global parser affect this?
by zhaosili
Mon Sep 28, 2009 11:39
Forum: Help
Topic: [solved]A child window layout problem in 0.7.0
Replies: 9
Views: 6674

Re: A child window layout problem in 0.7.0

It works now, thank you.

zhaosili
by zhaosili
Mon Sep 28, 2009 10:15
Forum: Help
Topic: Typing Tag in EditBox Crashing
Replies: 14
Views: 14447

Re: Typing Tag in EditBox Crashing

This feature is so cool that we can port code from 0.6.x to 0.7.x easily :D

Thanks CE.

zhaosili
by zhaosili
Mon Sep 28, 2009 06:50
Forum: Help
Topic: Typing Tag in EditBox Crashing
Replies: 14
Views: 14447

Re: Typing Tag in EditBox Crashing

Hi, Yeah, if the library itself protects the scenario, the user'll lose the power to check whether the text is valid. But for users that are porting from 0.6.x, there maybe tens of dozens of setText or similar things in the code without try-catch for this. E.g. In a listbox, typically it's normal fo...
by zhaosili
Sun Sep 27, 2009 19:17
Forum: Help
Topic: Typing Tag in EditBox Crashing
Replies: 14
Views: 14447

Re: Typing Tag in EditBox Crashing

Hi, I have tested the new version, it may still crash if the text with tags in the EditBox is submitted to change other widget's Text Property. E.g. I change the Sample_FalagardDemo1's layout with the following first: <?xml version="1.0" ?> <GUILayout> <Window Type="Vanilla/FrameWindo...
by zhaosili
Sun Sep 27, 2009 17:39
Forum: Help
Topic: Typing Tag in EditBox Crashing
Replies: 14
Views: 14447

Re: Typing Tag in EditBox Crashing

That's so cool, I'll try the version newly committed to SVN. :D

zhaosili

Go to advanced search