diff LightClone/Source/World.cpp @ 18:33cb6979ac51

More work on GUI system
author koryspansel
date Wed, 14 Sep 2011 17:24:49 -0700
parents 4951acfe92fc
children 51718795f019
line wrap: on
line diff
--- a/LightClone/Source/World.cpp	Wed Sep 14 13:33:22 2011 -0700
+++ b/LightClone/Source/World.cpp	Wed Sep 14 17:24:49 2011 -0700
@@ -285,6 +285,7 @@
 	pLabel->Initialize(pResourceManager);
 	pLabel->SetFont("Courier New", 16);
 	pLabel->SetText("This is a test!");
+	pLabel->SetFlags(GuiLabelFlag_CenterX | GuiLabelFlag_CenterY);
 	pLabel->SetPosition(0.5f * ScreenSizeX, 0.5f * ScreenSizeY);
 
 	pRoot->Add(pLabel);