Search found 72 matches

by J_A_X
Fri Aug 19, 2005 14:43
Forum: Modifications / Integrations / Customisations
Topic: CEGUI getID error
Replies: 8
Views: 5017

Re: CEGUI getID error

Gotcha. Well, I guess i'm going to have to do changes in that widget then. If i get everything working, I'll be sure to post the patch. Is there a specific patch template/protocol or something I should use or just post the code?
by J_A_X
Thu Aug 18, 2005 18:55
Forum: Modifications / Integrations / Customisations
Topic: CEGUI getID error
Replies: 8
Views: 5017

Re: CEGUI getID error

I just tried using removeChildWindow. It works, but the tab still stays there and of course returns and error when trying to click on the tab...this is too confusing...
by J_A_X
Thu Aug 18, 2005 18:26
Forum: Modifications / Integrations / Customisations
Topic: CEGUI getID error
Replies: 8
Views: 5017

Re: CEGUI getID error

*sigh* I must be bug prone or something cause it keeps crapping out on me. What you said helped me for the bit of code that was erronous before, but it just made other errors. I think there is something very flawed with the tabControl which you should look into. More specifically, the addTab and rem...
by J_A_X
Wed Aug 17, 2005 21:18
Forum: Modifications / Integrations / Customisations
Topic: CEGUI getID error
Replies: 8
Views: 5017

CEGUI getID error

So I got this code: void TabManager::removeTab(){ if(tabIndex>1){ // Delete Grid and tab gridArray[selectedTab]->hide(); tabControl->removeTab(tabArray[selectedTab]->getID()); // Reorganize tab & grid array for(int i = selectedTab;i<Constant:...
by J_A_X
Wed Aug 17, 2005 16:48
Forum: Modifications / Integrations / Customisations
Topic: Disabling custom pushbuttons
Replies: 1
Views: 1761

Disabling custom pushbuttons

On my screen I have many custom pushbuttons that I made using different images for each state of the button. I noticed that when I disable said button, it disapears completly from the screen but when I disable normal buttons, it becomes blacker which is the effect I want to achieve with my custom bu...
by J_A_X
Tue Aug 16, 2005 17:53
Forum: Modifications / Integrations / Customisations
Topic: Weird Mouse Behavior
Replies: 7
Views: 5184

Re: Weird Mouse Behavior

well, I disabled all the static text boxes without any results, it still does that lag thing... I also optimized the function to change position and all depending if the zoom or move button has been used without any effects to the performance. welp, I guess I'll have to use the rendering engine's fo...
by J_A_X
Tue Aug 16, 2005 17:40
Forum: Modifications / Integrations / Customisations
Topic: Subscriber problems
Replies: 25
Views: 14776

Re: Subscriber problems

Well, I've been using the timeinjection extensively for testing. Right now I have this in my update function: CEGUI::System::getSingleton().injectTimePulse(0.01); When the second are anything lower than that, it doesn't work. I want it to be lower because the auto repeat for the mous...
by J_A_X
Tue Aug 16, 2005 14:20
Forum: Modifications / Integrations / Customisations
Topic: Subscriber problems
Replies: 25
Views: 14776

Re: Subscriber problems

I'll see what I can do about that. I think EventSelectionChanged might help. I'll just need to devise a way to find out which child has been selected and that should be good. Though in my opinion eddie, it would be nice to be able to put a normal button event on the tab buttons themselves without go...
by J_A_X
Tue Aug 16, 2005 14:14
Forum: Modifications / Integrations / Customisations
Topic: Weird Mouse Behavior
Replies: 7
Views: 5184

Re: Weird Mouse Behavior

Yes, I know about the position changing every draw, I'm going to make a function to see if there's a change or not, but then again, it is doing it every draw and there is no lag or anything at runtime, ONLY when i click. I will try with the disable, sure hope it works or else i'm going to have to do...
by J_A_X
Tue Aug 16, 2005 14:10
Forum: Modifications / Integrations / Customisations
Topic: StaticText Formatting incorrect.
Replies: 5
Views: 3614

Re: StaticText Formatting incorrect.

I think lind is right, i'm pretty sure you need a space to get wordwrap to work. (Though it would be a nice little thing to implement in CEGUI, no space wordwrap)
by J_A_X
Mon Aug 15, 2005 19:44
Forum: Modifications / Integrations / Customisations
Topic: StaticText Formatting incorrect.
Replies: 5
Views: 3614

Re: StaticText Formatting incorrect.

I don't think you have you go through HorzFormatting or VertFormatting for the format type. They just need it to be of HorzFormatting or VertFormatting type. Try the following instead: setFormatting(StaticText::WordWrapLeftAligned ,StaticText::TopAligned); If that doesn't work, show us more ...
by J_A_X
Mon Aug 15, 2005 18:31
Forum: Modifications / Integrations / Customisations
Topic: Subscriber problems
Replies: 25
Views: 14776

Re: Subscriber problems

Well, i got that working no prob.

One thing missing now, I need a function to be called when I click one of the tab button. Is there a way to this from the tab control widget or do I have to get the window using the automatic name giving it to by cegui?
by J_A_X
Mon Aug 15, 2005 17:35
Forum: Modifications / Integrations / Customisations
Topic: Weird Mouse Behavior
Replies: 7
Views: 5184

Re: Weird Mouse Behavior

hum, I think I've found the problem, but I don't know what's causing it. As you can see in the image in my first post, I have labels on the side of my grid which are all static text widgets (that are contained in 2 arrays, one for X and one for Y) which are then positioned and labeled depending on t...
by J_A_X
Mon Aug 15, 2005 17:00
Forum: Modifications / Integrations / Customisations
Topic: Weird Mouse Behavior
Replies: 7
Views: 5184

Re: Weird Mouse Behavior

Like I said, I commented out every single subscribeEvent in my code and it still did it...

I'm just gonna remove each part one after the other till I find in what section of my code my problem is persisting.
by J_A_X
Mon Aug 15, 2005 15:06
Forum: Modifications / Integrations / Customisations
Topic: how to hiding the CEGUI default image
Replies: 2
Views: 2300

Re: how to hiding the CEGUI default image

Well, there are 2 ways to do this. Go into your TaharezLook.imageset (or the windowslook, which ever you're using) and you will see a bunch of xml code. Every line specified an image with x,y coordinates with height and width and it assigns it to a specific name. If you do not want say the backgroun...

Go to advanced search