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 Titlebar is set, if I place a control at 0 from top, it is covered by the titlebar, is there anysolution to this? is there anyway to get the size of the titlebar?.
Thanks in advance,
HexDUmp.
Giving "selected" feedback for a Static Image?
Moderators: CEGUI MVP, CEGUI Team
- scriptkid
- Home away from home
- Posts: 1178
- Joined: Wed Jan 12, 2005 12:06
- Location: The Hague, The Netherlands
- Contact:
Hi,
for the Image part, you might look into using an ImageButton (taharez) and see how it works there.
About the titlebar, you might look here: http://www.cegui.org.uk/phpBB2/viewtopi ... dow+offset
Bit of a quick reply, but i'm in a hurry
HTH.
for the Image part, you might look into using an ImageButton (taharez) and see how it works there.
About the titlebar, you might look here: http://www.cegui.org.uk/phpBB2/viewtopi ... dow+offset
Bit of a quick reply, but i'm in a hurry
HTH.
Check out my released snake game using Cegui!
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Giving "selected" feedback for a Static Image?
HexDump wrote:If a Titlebar is set, if I place a control at 0 from top, it is covered by the titlebar, is there anysolution to this? is there anyway to get the size of the titlebar?.
Hi,
In addition to scriptkid's quick response, here is my quick response
Please see:
http://www.cegui.org.uk/phpBB2/viewtopi ... 2953#12953
and
http://www.cegui.org.uk/wiki/index.php/ ... to_Windows
HTH
CE.
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 titlebar thing, does it really works?.
Thanks in advance,
HexDump.
Thanks in advance,
HexDump.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
You'll need to give more information as regards to what did not work - i.e. post the code you tried, what you thought would happen, and what did (nor did not) happen, any errors you get, etc...
The Titlebar is indeed a child of the FrameWindow - the child count will remain the same whether it is enabled or not, since it is always created and attached, it is just hidden when disabled.
CE.
The Titlebar is indeed a child of the FrameWindow - the child count will remain the same whether it is enabled or not, since it is always created and attached, it is just hidden when disabled.
CE.
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
HexDump wrote:is it possible to have variable thum sizes in the scroll bar? I want it to reflect the pagesize vs documentsize ration.
This used to be possible as the WindowsLook scrollbars did this by default. I've just had a quick look and it appears that it's not currently possible anymore I've made a note to address this in the future as this is something that I myself want the system to do
CE.
Who is online
Users browsing this forum: No registered users and 13 guests