It was really helpful
Search found 14 matches
- Tue Jul 24, 2007 18:25
- Forum: Modifications / Integrations / Customisations
- Topic: simulate user click?
- Replies: 2
- Views: 2937
- Mon Jul 23, 2007 22:31
- Forum: Modifications / Integrations / Customisations
- Topic: simulate user click?
- Replies: 2
- Views: 2937
simulate user click?
I want to make an automated test for game. What i want to do is, to simulate mouse click on some windows. Of course, I can generate mouse events at Windows API level, but then it's hard to control which window(CEGUI) to click. Is there any way to specify a CEGUI window and generate mouse click event...
- Wed Jun 06, 2007 18:41
- Forum: Modifications / Integrations / Customisations
- Topic: how to fire event repeatedly
- Replies: 1
- Views: 2654
how to fire event repeatedly
Hello,
I want to fire event repeatedly when the mouse pointer is on some button.
EventMouseEnters or EventMouseLeaves can help determining the positiong of the mouse pointer..
but I want to do some job during the mouse pointer's on a button.
Is there any good idea?
I want to fire event repeatedly when the mouse pointer is on some button.
EventMouseEnters or EventMouseLeaves can help determining the positiong of the mouse pointer..
but I want to do some job during the mouse pointer's on a button.
Is there any good idea?
- Tue May 01, 2007 16:52
- Forum: Modifications / Integrations / Customisations
- Topic: Please help~ change images for frame window dynamically
- Replies: 0
- Views: 2705
Please help~ change images for frame window dynamically
Hi, I want to change 9 images used in frame window dynamically. Currently, it is fixed in Look'n'Feel, and there seems to be no way to set it programmatically (or using layout XML) Even I modify the look'n'feel file, there seems to be no way to set images for frame border, because images for frame n...
- Wed Apr 25, 2007 17:11
- Forum: Modifications / Integrations / Customisations
- Topic: Question about DimOperator
- Replies: 2
- Views: 3001
I think you can do that in the following order. AbsoluteDim value='2' DimOperator op='/' (I'm not sure what the exact op name of /. Divide?) Text.h DimOperator op='-' ImageA.H /DimOperator /Text.h /DimOperator Since DimOperator does operation from inside to out, Text.H - ImageA.H is done first (I've...
- Mon Mar 19, 2007 19:21
- Forum: Help
- Topic: how to put background image in StaticText?
- Replies: 2
- Views: 3265
- Sat Mar 17, 2007 04:31
- Forum: Help
- Topic: how to put background image in StaticText?
- Replies: 2
- Views: 3265
how to put background image in StaticText?
Hi, all.. I'm trying to upgrade CEGUI from 0.4.x to 0.5.0b.. and it looks like there's no more background image things in StaticText. There was a method called setBackgroundImage in 0.4.x, but now it's gone, and I can't even set the property using setProperty. Does anybody know how to do this? thank...
- Tue Mar 13, 2007 18:01
- Forum: Help
- Topic: Create Custom Image Button
- Replies: 1
- Views: 2450
- Mon Mar 12, 2007 18:39
- Forum: Help
- Topic: StaticText::getTextRenderArea in 0.5.0?
- Replies: 0
- Views: 2262
StaticText::getTextRenderArea in 0.5.0?
Hello,
I've subclassed StaticText in 0.4.x.
Now, I'm trying to upgrade to 0.5.0, but there's no StaticText class, and the DefaultWindow class doesn't have "getTextRenderArea".
How should I change it to something compatible?
I've subclassed StaticText in 0.4.x.
Now, I'm trying to upgrade to 0.5.0, but there's no StaticText class, and the DefaultWindow class doesn't have "getTextRenderArea".
How should I change it to something compatible?
- Tue Mar 06, 2007 20:11
- Forum: Help
- Topic: 0.4.x => 0.5.0 BackgroundImage of StaticText
- Replies: 0
- Views: 2249
0.4.x => 0.5.0 BackgroundImage of StaticText
Hello, I understand that StaticText is now replaced by DefaultWindow. Most of the properties of StaticText can be used by setProperty. But, there're some properties disappeared, such as BackgroundImage, BottomFrameImage, BottomLeftFrameImage, BottomRightFrameImage, LeftFrameImage, RightFrameImage, T...
- Tue Mar 06, 2007 18:13
- Forum: Help
- Topic: 0.4.x => 0.5.0 upgrade questions..
- Replies: 6
- Views: 5417
- Tue Mar 06, 2007 01:51
- Forum: Help
- Topic: 0.4.x => 0.5.0 upgrade questions..
- Replies: 6
- Views: 5417
- Tue Mar 06, 2007 00:48
- Forum: Help
- Topic: 0.4.x => 0.5.0 upgrade questions..
- Replies: 6
- Views: 5417
Thanks, Rackle. I have some more questions..(Please excuse if the question doesn't make sense :( I'm a novice in game programming ) According to the WidgetGalore, to make the same effect with StaticText in 0.4.X, I need to use DefaultWindow. And from the code [http://www.cegui.org.uk/wiki/index.php/...
- Fri Mar 02, 2007 19:05
- Forum: Help
- Topic: 0.4.x => 0.5.0 upgrade questions..
- Replies: 6
- Views: 5417
0.4.x => 0.5.0 upgrade questions..
Hi, I'm trying to upgrade my program from CEGUI 0.4.x to 0.5.0.. I think lots of members(classes) have disappeared. I found somewhere in this forum that I can replace StaticText or StaticImage to DefaultWindow, but then, how can I replace many members of Static*? There're no such members in DefaultW...