About Store Forum Documentation Contact



Post Reply 
Hel with 2D Graphics...
Author Message
FadeToBlack Offline
Member

Post: #1
Hel with 2D Graphics...
Hi community,
i have begin to use esenthel with the 2D Interface, but i have i problem wink

I create a simple windows and into this windows 3 checkbox with the relatives text, i use this cose:
PHP Code:
Gui += window.create(Rect(-0.5,-0.3,0.5,0.2), "TEX Editor"); // create window and add it to Gui
   //Alpha CheckBox
   
window += check.create(Rect(0.04f, -0.10f0.08f,-0.06f), false);
   
window += text.create(Vec2(0.14f, -0.08f), "Alpha");
   
//Black/White CheckBox
   
window += check.create(Rect(0.04f, -0.16f0.08f,-0.12f), false);
   
window += text.create(Vec2(0.14f, -0.14f), "Black & Withe");
   
//Color CheckBox
   
window += check.create(Rect(0.04f, -0.22f,0.08f,-0.18f), false);
   
window += text.create(Vec2(0.14f, -0.20f), "Color"); 

but this is the output:
[Image: screenowj.png]

What's wrong?
12-21-2010 06:00 PM
Find all posts by this user Quote this message in a reply
runewake2 Offline
Member

Post: #2
RE: Hel with 2D Graphics...
You only have one checkbox object.
12-21-2010 06:12 PM
Find all posts by this user Quote this message in a reply
FadeToBlack Offline
Member

Post: #3
RE: Hel with 2D Graphics...
(12-21-2010 06:12 PM)runewake2 Wrote:  You only have one checkbox object.

I have found my error, thanks for help grin
12-21-2010 06:21 PM
Find all posts by this user Quote this message in a reply
Post Reply