Page 1 of 1

Congrats on 0.4

Posted: Wed Sep 07, 2005 19:16
by spannerman
Hello guys,

Congrats on the 0.4 release! Lots of good stuff in here, and Im looking forward to using the new Falagard system. Being able to use absolute and relative values together kicks ass!

8)

Re: Congrats on 0.4

Posted: Thu Sep 08, 2005 08:20
by CrazyEddie
Thanks for the kind words - glad you like what's in the new release :)

Re: Congrats on 0.4

Posted: Thu Sep 08, 2005 14:42
by Taharez
Congratulations guys, good job!

Re: Congrats on 0.4

Posted: Sat Sep 17, 2005 21:47
by martignasse
hello world,

i'm new here (phantomaticly watching forum for a while now...), and want to say thanks and congrats to all peoples who participate to this project and especially to the boss... CrazyEddie.

keep up the good work ! :)

but,
I have noticed, in the new Falagard Demo some lazy widget placement (especialy when resizing), and in a way to learn the new unified system, made some sort of cleanning....

here are the two files :

VanillaConsole.layout :
_________________________________________________________
<?xml version="1.0" ?>
<GUILayout>
<Window Type="Vanilla/FrameWindow" Name="Vanilla/Console">
<Property Name="AlwaysOnTop" Value="True" />
<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.05 y:0.05" />
<Property Name="Size" Value="w:0.5 h:0.45" />
<Property Name="Text" Value="Console" />
<Property Name="CloseButtonEnabled" Value="False" />

<Window Type="Vanilla/Button" Name="Vanilla/Console/Submit">
<Property Name="ID" Value="1" />
<Property Name="VerticalAlignment" Value="Bottom" />
<Property Name="HorizontalAlignment" Value="Right" />
<Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
<Property Name="UnifiedPosition" Value="{{0,-7},{0,-7}}" />
<Property Name="UnifiedSize" Value="{{0.25,0},{0,30}}" />
<Property Name="Text" Value="Submit" />
</Window>

<Window Type="Vanilla/Editbox" Name="Vanilla/Console/Editbox">
<Property Name="ID" Value="2" />
<Property Name="VerticalAlignment" Value="Bottom" />
<Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
<Property Name="UnifiedPosition" Value="{{0,7},{0,-7}}" />
<Property Name="UnifiedSize" Value="{{0.75,-21},{0,30}}" />
<Property Name="Text" Value="" />
</Window>

<Window Type="Vanilla/MultiLineEditbox" Name="Vanilla/Console/History">
<Property Name="ID" Value="3" />
<Property Name="ReadOnly" Value="True" />
<Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
<Property Name="UnifiedPosition" Value="{{0,7},{0,35}}" />
<Property Name="UnifiedSize" Value="{{1,-14},{1,-75}}" />
<Property Name="Text" Value="CEGUI Demo Console - F12 toggles this window" />
</Window>
</Window>
</GUILayout>
___________________________________________________________

and VanillaWindows.layout :
____________________________________________________________
<?xml version="1.0" ?>
<GUILayout>
<Window Type="Vanilla/StaticImage" Name="root">
<Property Name="Position" Value="x:0 y:0" />
<Property Name="Size" Value="w:1 h:1" />
<Property Name="FrameEnabled" Value="False" />
<Property Name="BackgroundEnabled" Value="False" />
<Property Name="Image" Value="set:Backdrop-Images image:Magic" />

<Window Type="Vanilla/FrameWindow" Name="Demo/NewNode">
<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.6 y:0.1" />
<Property Name="Size" Value="w:0.3 h:0.5" />
<Property Name="Text" Value="New Node" />
<Property Name="CloseButtonEnabled" Value="False" />

<Window Type="Vanilla/Listbox" Name="Demo7/Window2/Listbox">
<Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
<Property Name="UnifiedPosition" Value="{{0,7},{0,35}}" />
<Property Name="UnifiedSize" Value="{{1,-14},{1,-108}}" />
</Window>

<Window Type="Vanilla/StaticText" Name="Demo/NewNode/label1">
<Property Name="BackgroundEnabled" Value="False" />
<Property Name="FrameEnabled" Value="False" />
<Property Name="VerticalAlignment" Value="Bottom" />
<Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
<Property Name="UnifiedPosition" Value="{{0,7},{0,-45}}" />
<Property Name="UnifiedSize" Value="{{0,60},{0,30}}" />
<Property Name="Text" Value="Name:" />
</Window>

<Window Type="Vanilla/Editbox" Name="Demo/NewNode/Editbox">
<Property Name="VerticalAlignment" Value="Bottom" />
<Property Name="HorizontalAlignment" Value="Right" />
<Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
<Property Name="UnifiedPosition" Value="{{0,-7},{0,-40}}" />
<Property Name="UnifiedSize" Value="{{1,-74},{0,30}}" />
<Property Name="Text" Value="" />
</Window>

<Window Type="Vanilla/Button" Name="Demo/NewNode/Okay">
<Property Name="VerticalAlignment" Value="Bottom" />
<Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
<Property Name="UnifiedPosition" Value="{{0,7},{0,-7}}" />
<Property Name="UnifiedSize" Value="{{0,60},{0,30}}" />
<Property Name="Text" Value="Okay" />
</Window>

<Window Type="Vanilla/Button" Name="Demo/NewNode/Cancel">
<Property Name="VerticalAlignment" Value="Bottom" />
<Property Name="HorizontalAlignment" Value="Right" />
<Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
<Property Name="UnifiedPosition" Value="{{0,-7},{0,-7}}" />
<Property Name="UnifiedSize" Value="{{0,60},{0,30}}" />
<Property Name="Text" Value="Cancel" />
</Window>


</Window>

<Window Type="Vanilla/FrameWindow" Name="Demo/NamespaceViewer">
<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.25 y:0.48" />
<Property Name="Size" Value="w:0.5 h:0.5" />
<Property Name="Text" Value="Namespace Viewer" />
<Property Name="CloseButtonEnabled" Value="False" />

<Window Type="Vanilla/StaticText" Name="Demo/NamespaceViewer/area1">
<Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
<Property Name="UnifiedPosition" Value="{{0,7},{0,35}}" />
<Property Name="UnifiedSize" Value="{{1,-14},{0,65}}" />
</Window>

<Window Type="Vanilla/Listbox" Name="Demo/NamespaceViewer/area2">
<Property Name="VerticalAlignment" Value="Bottom" />
<Property Name="RelativeMaxSize" Value="w:1.0 h:1.0" />
<Property Name="UnifiedPosition" Value="{{0,7},{0,-7}}" />
<Property Name="UnifiedSize" Value="{{1,-14},{1,-110}}" />
</Window>
</Window>

</Window>
</GUILayout>
_____________________________________________________
et voila

modifications are only to put "UnifiedPosition" and "UnifiedSize" in every child widgets with good values.

and i think it's a fucking judicious system, completly remplacing layout managment (ala java/swing)

just my two cent contribution...for now ;)

A+

Re: Congrats on 0.4

Posted: Mon Sep 19, 2005 09:06
by CrazyEddie
Thanks once more for the supportive words for CEGUI.

@martignasse:
Hope you're having fun with the unified system ;) In future releases, the old non-unified metrics are being removed so all layouts will need to be updated to use the unified system as you have done here :)