Search found 30 matches

by silenttree
Wed Dec 06, 2006 21:08
Forum: Help
Topic: how can i hide my window when mouse leave out from it
Replies: 2
Views: 2729

i subscribe EventMouseLeaves event with a popupmenu, when mouse move on a menuitem, the EventMouseLeaves event of popupmenu occured! is this right?
by silenttree
Wed Dec 06, 2006 19:30
Forum: Help
Topic: how can i hide my window when mouse leave out from it
Replies: 2
Views: 2729

how can i hide my window when mouse leave out from it

how can i hide my window when mouse leave out from it?
by silenttree
Tue Nov 14, 2006 19:53
Forum: Help
Topic: a auto fade window like tooltip[resolved]
Replies: 5
Views: 3843

problem is resolved by adding a timer.:lol:

thank you CE!:wink:
by silenttree
Tue Nov 14, 2006 17:20
Forum: Help
Topic: How to use cegui to render to a texture?
Replies: 5
Views: 4010

My idea about how to realize that is as follows: CEGui creat a font texture with all the characters on it. I hope that I am able to find some utility methods to pull texture coords out of CEGui for unicode characters (But i find none can achieve my goal at the temporary ), and if I found, I could u...
by silenttree
Tue Nov 14, 2006 17:17
Forum: Modifications / Integrations / Customisations
Topic: how to use CEGUI (0.5)FONT TEXTURE render 3d effect?
Replies: 5
Views: 5245

Hi skydog, So did you want to use a CEGUI font within your 3d scene? If that's the case, it's dependent on the 3d engine you're using. It can be done in Ogre - you can use the same font texture to write text in the 3d scene, although you'll need to use an Ogre font definition file to kind of detail...
by silenttree
Tue Nov 14, 2006 15:57
Forum: Help
Topic: Draw Text To Texture
Replies: 1
Views: 2060

Draw Text To Texture

hi all.

can i draw a given text to texture like Font::drawTextLine() draw text to a given rect?

my final goal is use cegui font in ogre billbroad for language reason.

anyone know how?

thx!

-----------------------------
Silent Tree
by silenttree
Fri Nov 10, 2006 10:27
Forum: Help
Topic: Get Window Pointer In Event-Function[resolved]
Replies: 1
Views: 2225

i found it in forum!

Code: Select all

CEGUI::PushButton *ThisButton = static_cast<CEGUI::PushButton*>(static_cast<const CEGUI::WindowEventArgs&>(e).window);

its work perfect!
by silenttree
Fri Nov 10, 2006 10:05
Forum: Help
Topic: Get Window Pointer In Event-Function[resolved]
Replies: 1
Views: 2225

Get Window Pointer In Event-Function[resolved]

MyWnd->subscribeEvent (CEGUI::PushButton::EventClicked, CEGUI::Event::Subscriber (&MyOwnClass::ButtonClicked, this)); ... MyOwnClass::ButtonClicked(const CEGUI::EventArgs& e) { [b] How Can I Get The Window Ptr Here Who Subcriber This Event-Function?[/b] }
by silenttree
Thu Nov 09, 2006 14:26
Forum: Help
Topic: a auto fade window like tooltip[resolved]
Replies: 5
Views: 3843

at the first. say sorry to EC for my bad expression. my origin goal is: make a window auto fade by given time. i notice that "tooltip" can do this well. so i read it in cegui - solution, and make a new copy for my own. but its "doesnt work"(window show directly, but didnt invoke ...
by silenttree
Thu Nov 09, 2006 14:19
Forum: Help
Topic: can cegui auto break long string to multiline?[resolved]
Replies: 10
Views: 6690

CrazyEddie wrote:Hi,

I misunderstood the original questions :oops:
.........

CE.


I must say "im so sorry" for my poor english :?
by silenttree
Thu Nov 09, 2006 14:17
Forum: Help
Topic: can cegui auto break long string to multiline?[resolved]
Replies: 10
Views: 6690

hi spannerman, thx for your advice!

i think your mthod is what i want!


hehe :lol:
by silenttree
Thu Nov 09, 2006 04:35
Forum: Help
Topic: a auto fade window like tooltip[resolved]
Replies: 5
Views: 3843

a auto fade window like tooltip[resolved]

i notice that tooltip can auto fadein and fadeout. for some reason, i need a window like this. so i inherit a class from CEGUI::Window, and override updateSelf() method like Tooptip. and mark multi-window-state such as Active/FadeOut then i create a window with it, like below MyOwnWindow* WindowPtr ...
by silenttree
Thu Nov 09, 2006 04:29
Forum: Help
Topic: can cegui auto break long string to multiline?[resolved]
Replies: 10
Views: 6690

thx, spannerman! your method can work well! let me show you my problem again: a string, maybe like this A_Long_Text_Goes_Here_And_More_Text_Go_On! but my window( such as a Static Text), because of its size, can not hold so long string in one line, i must break it in mulitiline manual. my question is...
by silenttree
Thu Nov 09, 2006 01:18
Forum: Help
Topic: can cegui auto break long string to multiline?[resolved]
Replies: 10
Views: 6690

thank you all!

i mean sometimes a long string cant display in one line for the window-size reason.

how can i make it auto-break-line to display this long string in multiline.

thx again!
by silenttree
Wed Nov 08, 2006 09:14
Forum: Help
Topic: can cegui auto break long string to multiline?[resolved]
Replies: 10
Views: 6690

can cegui auto break long string to multiline?[resolved]

i know that the editbox can do this well.

my question is, can StaticText do this also?

if could, what property(or something else) can make this happen!


thank you all !

Go to advanced search