Preview

image

  • AutoSize mode
  • Support for OnClick and the rest of GUIControl events

Usage

// create the control (with AutoSize on)
Label myLabel = new Label(new Rectangle(50, 50, 0, 0), "Hello World");

// set some properties
myLabel.TextColor = Color.Tomato;

// add control to a Window
myWindow.Controls.Add(myLabel);

Last edited Apr 4, 2012 at 12:35 AM by qisur, version 3

Comments

No comments yet.