Problem with rolled up FrameWindow
Posted: Wed Nov 30, 2005 15:57
Hello there,
I am using the CEGUI FrameWindow widget, and I want my windows to be able to "titleize" (making the content part not visible, while only the titlebar remains) by double-clicking on the titlebar.
I found some methods in the FrameWindow :
toggleRollup( void );
setRollupEnabled( bool );
and so on...
So I figured out by myself (since the api isn't very helpful on this point) that these methods do what I want. So I enable the rollup on my windows, then bind the doubleclick event to a method that calls the toggle one.
But the only thing that I can see resulting from this call, is that my window is no longer resizable while it should be titleized". The cursor doesn't change anymore when I reach the window borders. Everything goes back to normal when I double-click again...
So, what have I wrong ? Thanks for any help
I am using the CEGUI FrameWindow widget, and I want my windows to be able to "titleize" (making the content part not visible, while only the titlebar remains) by double-clicking on the titlebar.
I found some methods in the FrameWindow :
toggleRollup( void );
setRollupEnabled( bool );
and so on...
So I figured out by myself (since the api isn't very helpful on this point) that these methods do what I want. So I enable the rollup on my windows, then bind the doubleclick event to a method that calls the toggle one.
But the only thing that I can see resulting from this call, is that my window is no longer resizable while it should be titleized". The cursor doesn't change anymore when I reach the window borders. Everything goes back to normal when I double-click again...
So, what have I wrong ? Thanks for any help