Search found 8 matches

by yllfever
Wed Mar 18, 2009 04:01
Forum: Modifications / Integrations / Customisations
Topic: How to add images "freely" among text.
Replies: 4
Views: 4726

Thanks for your reply, CE. You are alwlays patient, and your replies are helpful. As there is no easy way, I'll have to create a new window type like "RichEditbox". I've read some of the source files of CEGUI. But I didn't find where to put my window's text and images to the renderer. How ...
by yllfever
Tue Mar 17, 2009 03:49
Forum: Modifications / Integrations / Customisations
Topic: How to add images "freely" among text.
Replies: 4
Views: 4726

How to add images "freely" among text.

Hi, all.

Just like in the MSN, we will need to send faces or other larger images,
when chatting.

I'm writing a chatbox, how can I display text mixed with freely placed images? Is it possible just using a ItemListbox with my own ItemEnty?

Any suggestion will be appreciated.
by yllfever
Tue Mar 17, 2009 03:27
Forum: Help
Topic: Can't read from objects of sub-class of ItemEntry?
Replies: 5
Views: 2374

Becouse of the problem.
I had to define some properties in my looknfeel, and use setProperty(),
and getProperty() .

Is it possible for me to add "property" in my derived class ?
by yllfever
Tue Mar 17, 2009 03:23
Forum: Help
Topic: Can't read from objects of sub-class of ItemEntry?
Replies: 5
Views: 2374

My layout file: <?xml version="1.0" encoding="UTF-8"?> <GUILayout> <Window Type="TaharezLook/FrameWindow" Name="MainWindow" > <Property Name="UnifiedAreaRect" Value="{{0.15,0},{0.15,0},{0.85,0.00},{0.85,0....
by yllfever
Tue Mar 17, 2009 03:16
Forum: Help
Topic: Can't read from objects of sub-class of ItemEntry?
Replies: 5
Views: 2374

Hi, thanks for you reply. I tried the issue again, and gain a "bad allocation" this time. This is my derived class: namespace CEGUI { class CheckListboxItem : public ItemEntry { protected: String a; public: String getA() { return a; } void setA(const String&...
by yllfever
Tue Mar 17, 2009 03:01
Forum: Help
Topic: [Solved]Should I destroy all sub-windows recursively?
Replies: 2
Views: 1678

Thanks a lot.
:)
by yllfever
Mon Mar 16, 2009 03:34
Forum: Help
Topic: Can't read from objects of sub-class of ItemEntry?
Replies: 5
Views: 2374

Can't read from objects of sub-class of ItemEntry?

Hi, every one. Here is another problem i have. I tried to use the getBuddyId() method below, and get a crash. "... Access violation reading location 0xfeeefef2. " Why ? #pragma once #include <cegui/CEGUI.h> namespace CEGUI { class ImageListboxItem : public CEGUI::ItemEntry { prot...
by yllfever
Mon Mar 16, 2009 01:37
Forum: Help
Topic: [Solved]Should I destroy all sub-windows recursively?
Replies: 2
Views: 1678

[Solved]Should I destroy all sub-windows recursively?

Hello, every one. I have a question on destroying windows. Please help me. Initially, I created some windows. But when some event occured, I do not need those windows anymore. In order to release memory. Should i recursively call the destroy() methods of every sub-windows, or just call the destroy()...

Go to advanced search