Search found 26 matches

by lcy03406
Fri Jul 16, 2010 09:01
Forum: CEGUI Library Development Discussion
Topic: ItemListbox, Listbox, Combobox, and MultiColumnList
Replies: 6
Views: 3049

Re: ItemListbox, Listbox, Combobox, and MultiColumnList

Sorry to reply a so old topic, but is the MultiColumnItemListbox available now? I'm using the 0.7 version, and find that MultiColumnList contains ListboxItem, not ItemEntry-based windows. I just want to add a popup menu for every row of the list. It seems the best way is make getItemAtPoint public t...
by lcy03406
Wed Jun 02, 2010 08:42
Forum: Modifications / Integrations / Customisations
Topic: problem about ItemEntry
Replies: 4
Views: 1232

Re: problem about ItemEntry

:D It works, thank you. But I wonder how you notify the child of clicked. My custom child window does something in onMouseClicked, so I cannot just fire an event from the child window. But onMouseClicked is a protected function, I must call it from a Window derived class. I do not want to write an I...
by lcy03406
Wed Jun 02, 2010 03:44
Forum: Modifications / Integrations / Customisations
Topic: problem about ItemEntry
Replies: 4
Views: 1232

Re: problem about ItemEntry

It seems that we have to manually dispatch the clicked events for such ItemEntries. It looks not so beautiful, but it should work. I'll try it! Thank you!
by lcy03406
Tue Jun 01, 2010 13:22
Forum: Modifications / Integrations / Customisations
Topic: problem about ItemEntry
Replies: 4
Views: 1232

problem about ItemEntry

Hi, I put a child window onto my ItemEntry. With MousePassThroughEnabled be True, the ItemEntry looks fine. But I want the child window to handle some mouse events, such as clicked. So I am in a dilemma now, if the child window's MousePassThroughEnabled is True, the chiled window cannot receive the ...
by lcy03406
Sat Nov 14, 2009 09:35
Forum: Modifications / Integrations / Customisations
Topic: [slvd]unicode character problem:desperate lag on render text
Replies: 3
Views: 1201

Re: [slvd]unicode character problem:desperate lag on render text

I'm Chinese. how large is the generated bitmap font? I think we need a lot of fonts for every style and every size, each has ten's of thousands characters. If these are all pregenerated instead of rendered to texture only when used, fonts may cost more memory. How much is it in your project?
by lcy03406
Tue Oct 27, 2009 01:19
Forum: CEGUI Library Development Discussion
Topic: Something about CEGUI::String
Replies: 1
Views: 1095

Re: Something about CEGUI::String

I'm sorry. The problem (a) will not happen, we have forced the message formated in English.

Now I have changed the value_type from int to wchar_t, and make String compatible with std::wstring.
by lcy03406
Tue Oct 27, 2009 01:11
Forum: Bug Reports, Suggestions, Feature Requests
Topic: BUG? FrameComponent and ProgressBar
Replies: 3
Views: 1123

Re: BUG? FrameComponent and ProgressBar

I think over and find there is two kinds of 'FrameComponent in ProgressBar'. Suppose here is a ProgressBar's background bbbbbbbbbbbb bbbbbbbbbbbb bbbbbbbbbbbb and here is a Frame xxxxxxxxxxxx xoooooooooox xxxxxxxxxxxx When the progress is 50%,which shound the bar looks like? xxxxxxbbbbbb xooooobbbbb...
by lcy03406
Tue Oct 20, 2009 09:05
Forum: Bug Reports, Suggestions, Feature Requests
Topic: BUG? FrameComponent and ProgressBar
Replies: 3
Views: 1123

BUG? FrameComponent and ProgressBar

1. In FrameComponent::render_impl(), the clipper is used when rendering the background, but is not used when rendering the other images, the 'frame'. 2. In FalProgressBar::render(), I think progressRect and progressClipper should swap. Now a ProgressBar which 'progress_light' contains a frame looks ...
by lcy03406
Tue Oct 20, 2009 01:09
Forum: Offtopic Discussion
Topic: Firing an event costs so much FPS?
Replies: 3
Views: 728

Firing an event costs so much FPS?

Hi, after commeting out onRenderingStarted and onRenderingEnded in Window::bufferGeometry(), I find the FPS increased from 33 to 60. I know only the windows really need redraw will bufferGeometry and fire these events. There are several windows update in every frame, but not too many. And there is n...
by lcy03406
Sat Oct 17, 2009 03:35
Forum: Bug Reports, Suggestions, Feature Requests
Topic: Add a function to Scrollbar?
Replies: 2
Views: 1306

Add a function to Scrollbar?

The problem is, I want the thumb fix to the end, even when the ducument size grows. In fact, I'm making a floating-up textbox, adding a blank line every seconds. I wrote this in updateSelf of my textbox class: bar->setDocumentSize( docSize ); bar->setScrollPosition( docSize - bar->getPageSize() ); T...
by lcy03406
Fri Oct 16, 2009 08:45
Forum: Offtopic Discussion
Topic: Something about setText
Replies: 1
Views: 600

Something about setText

I know many setter functions test the new setting and the old one first, and invalidate the window only if the setting is actually changed. But setText does not test, but invalidate the window and also it's renderedString on every time setText called. Is this intended? Maybe any decision about the R...
by lcy03406
Sat Oct 10, 2009 01:53
Forum: CEGUI Library Development Discussion
Topic: Something about CEGUI::String
Replies: 1
Views: 1095

Something about CEGUI::String

Hi all. I am developing games mainly on Windows with chinese language. That means, the wchar_t is 16 bits in UTF-16LE, and the Windows API expects char* to be in GBK, not in UTF-8. Since CEGUI is designed platform-independent, I think there is some bugs in String. I'm useing svn 2284, just a week af...
by lcy03406
Thu Sep 03, 2009 07:28
Forum: Help
Topic: deal with a large text?
Replies: 1
Views: 260

deal with a large text?

I'm making a chat window. It's text may be hundreads of lines. I'm worrying about the performance. The text may append frequently, the string concatenating may be slow, and I'm not sure whether rendering such a large text(clipped by a small rect) may be slow or not. Any good ideas about dealing with...
by lcy03406
Wed Jul 01, 2009 09:31
Forum: Help
Topic: [solved]Howto inform child widgets about the Selected state?
Replies: 3
Views: 433

Re: [help]How to inform child widgets about the Selected state?

Finally i decide to register an event handler for ItemEntry::EventSelectionChanged on EVERY item of the list. :shock:

Go to advanced search