Search found 30 matches
- 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
- 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?
- Tue Nov 14, 2006 19:53
- Forum: Help
- Topic: a auto fade window like tooltip[resolved]
- Replies: 5
- Views: 3843
- 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...
- 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...
- 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
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
- 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!
its work perfect!
Code: Select all
CEGUI::PushButton *ThisButton = static_cast<CEGUI::PushButton*>(static_cast<const CEGUI::WindowEventArgs&>(e).window);
its work perfect!
- 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] }
- Thu Nov 09, 2006 14:26
- Forum: Help
- Topic: a auto fade window like tooltip[resolved]
- Replies: 5
- Views: 3843
- Thu Nov 09, 2006 14:19
- Forum: Help
- Topic: can cegui auto break long string to multiline?[resolved]
- Replies: 10
- Views: 6690
- Thu Nov 09, 2006 14:17
- Forum: Help
- Topic: can cegui auto break long string to multiline?[resolved]
- Replies: 10
- Views: 6690
- 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 ...
- 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...
- Thu Nov 09, 2006 01:18
- Forum: Help
- Topic: can cegui auto break long string to multiline?[resolved]
- Replies: 10
- Views: 6690
- 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 !
my question is, can StaticText do this also?
if could, what property(or something else) can make this happen!
thank you all !