Page 1 of 1

CEGUI Beginner

Posted: Fri Jan 13, 2006 19:28
by SOMRoberto
Hi! I want to making non resize cegui window and non movable /drag and drop/ window.

Is possible? :oops:

Re: CEGUI Beginner

Posted: Fri Jan 13, 2006 19:41
by lindquist
I assume it's a FrameWindow you want (window with titlebar and frame).

This window type has properties you can use to control this behaviour.

Take a look at the API ref for these

FrameWindow
SizingEnabled
DragMovingEnabled

Re: CEGUI Beginner

Posted: Fri Jan 13, 2006 20:26
by SOMRoberto
Thank u. Is good.

<Window Type="ice/FrameWindow" Name="Demo7/Window1">
<Property Name="RelativeMinSize" Value="w:0.2 h:0.2" />
<Property Name="RelativeMaxSize" Value="w:0.8 h:0.8" />
<Property Name="Position" Value="x:0.2 y:0.2" />
<Property Name="Size" Value="w:0.5 h:0.5" />
<Property Name="Text" Value="" />
<Property Name="CloseButtonEnabled" Value="False" />
<Property Name="Alpha" Value="0.8" />
<Property Name="SizingEnabled" Value="false" />
<Property Name="DragMovingEnabled" Value="false" />

:))