Search found 19 matches

by HexDump
Mon Mar 31, 2008 14:45
Forum: Help
Topic: Exception thrown after calling removeEvent()
Replies: 2
Views: 2502

heheeh, thanks mate.

HexDump.
by HexDump
Sun Mar 30, 2008 11:54
Forum: Help
Topic: Exception thrown after calling removeEvent()
Replies: 2
Views: 2502

Exception thrown after calling removeEvent()

Hi all, I have a window that I attach a hidden event in runtime. This is the code I use for adding removing the event: template <class _T> void SetResultCallback(bool (_T::*function)(const EventArgs&), _T* pObj) { this->m_pWindow->subscribeEvent (CEGUI::FrameWind...
by HexDump
Fri Mar 28, 2008 20:24
Forum: Help
Topic: Menubar inactive?
Replies: 8
Views: 4143

Hehee, thanks for the answer mate.

HexDump.
by HexDump
Fri Mar 28, 2008 16:08
Forum: Help
Topic: Menubar inactive?
Replies: 8
Views: 4143

Hi again!, Well, I just came with a "I found a solution" full of proud, but I saw you just spotted the problem. I don´t really know what was hapenning but I suspect is something realted to what you stated. My layout is something like this -Sheet --MAIN MENU --Default Window (This will be u...
by HexDump
Fri Mar 28, 2008 12:52
Forum: Help
Topic: Menubar inactive?
Replies: 8
Views: 4143

Well, I think the injection is working ok because all the other things I have are working ok.

Anyway I will do what you said as soon as I get home.

Thanks for your time,
HexDump.
by HexDump
Fri Mar 28, 2008 10:27
Forum: Help
Topic: Menubar inactive?
Replies: 8
Views: 4143

HI Eddie, Here is my layout: <?xml version="1.0" encoding="UTF-8"?> <GUILayout > <Window Type="DefaultWindow" Name="MainWindow" > <Property Name="InheritsAlpha" Value="False" /> <Property Name="UnifiedMaxSize" Value="{&#...
by HexDump
Thu Mar 27, 2008 13:50
Forum: Help
Topic: Menubar inactive?
Replies: 8
Views: 4143

Menubar inactive?

Hi all, Here I am again with one of my newbie questions :/. This time is about the Menubar. I have created a menu bar with the editor. Nice, it has loaded perfectly. I can see the menu bar, but when I click on the items they don´t do anything. I have seen some code at the wiki, and it seems no event...
by HexDump
Wed Mar 26, 2008 10:13
Forum: Help
Topic: Mouse Button down and dragging.
Replies: 3
Views: 2307

Yes, this was my second option :). Just another question, I have a frame window that covers part of a "default window". For the dragging thing I have defined for the "default window" a mousedown/mouseup event. I was surprised when I noticed that when pressed mouse button on the f...
by HexDump
Tue Mar 25, 2008 14:36
Forum: Help
Topic: Mouse Button down and dragging.
Replies: 3
Views: 2307

Mouse Button down and dragging.

Hi all,

I need to model this behaviour:

1) User clicks on a grid -> a squared is painted
2) User drags the mouse -> more squared are painted as it moves.

I have been checking events but did not find any about mouse dragging, how can I accomplish this?.

HexDump.
by HexDump
Tue Mar 18, 2008 20:33
Forum: Help
Topic: Giving "selected" feedback for a Static Image?
Replies: 6
Views: 3140

Well, it is working now. It was my fault sorry.

By the way, is it possible to have variable thum sizes in the scroll bar? I want it to reflect the pagesize vs documentsize ration.

Thanks in advance,
HexDump.
by HexDump
Mon Mar 17, 2008 11:57
Forum: Help
Topic: Giving "selected" feedback for a Static Image?
Replies: 6
Views: 3140

Well, the tilebar thing doesn´t work for me. I have checked the size of the children array with titlebar and without it and it is the same, so I suppose, the Titlebar is not a child of the frame window (I used getchild() function). I have to check CrazyEddie solution, but I prefer just to do the tit...
by HexDump
Sat Mar 15, 2008 14:25
Forum: Help
Topic: Giving "selected" feedback for a Static Image?
Replies: 6
Views: 3140

Giving "selected" feedback for a Static Image?

Hi all, I have some images, and I want the user to click on them and make them change to tell the user one is selected. Is it possible to do this with cegui?. By the way, I have set a title bar for a framewindow, and the client zone of the windows seems to be the same that whitout it, I mean, If a T...
by HexDump
Thu Mar 13, 2008 22:36
Forum: Help
Topic: How to change imageset image dinmically.
Replies: 2
Views: 2768

Thanks for the answer.

HexDump.
by HexDump
Thu Mar 13, 2008 11:13
Forum: Help
Topic: How to change imageset image dinmically.
Replies: 2
Views: 2768

How to change imageset image dinmically.

Hi all, I´m trying to change the image of a StaticImage dynamically. The only way I have seen to do this is through a imageset. The imageset has a method defineImage where you insert an image in the set. Well, I have to change this image dynamically because it is a render to texture operation. I wan...
by HexDump
Mon Mar 10, 2008 21:00
Forum: Help
Topic: Creating custom controls guide?
Replies: 4
Views: 4272

Thanks for the answer scriptkid. Well, I will go back to the agregation way, because it seems pretty hard to make this run, and I don´t feel like touching cegui code right now. This was my first aproach but it is more sensible to me to do it the way I exposed before. Thanks in advance, HexDump.

Go to advanced search