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!
Congrats on 0.4
Moderators: CEGUI MVP, CEGUI Team
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Congrats on 0.4
Thanks for the kind words - glad you like what's in the new release
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Re: Congrats on 0.4
Congratulations guys, good job!
- martignasse
- Just can't stay away
- Posts: 227
- Joined: Thu Apr 14, 2005 08:10
- Location: Lyon, FRANCE
Re: Congrats on 0.4
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+
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+
- CrazyEddie
- CEGUI Project Lead
- Posts: 6760
- Joined: Wed Jan 12, 2005 12:06
- Location: England
- Contact:
Re: Congrats on 0.4
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
@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
Useful Links: Forum Guidelines | Documentation | Tutorials | HOWTO | Videos | Donate to CEGUI | CEGUI Twitter
Return to “Offtopic Discussion”
Who is online
Users browsing this forum: No registered users and 15 guests