<?
class frmGDText extends MForm
{
    function __construct()
    {   
        parent::__construct('GD Text');
        $this->eventHandler();
	}

    public function createFields()
	{
        $fields = Array(
            new MGDText('text1','Sample GD Text - size:10 - font: Bitstream Vera Sans',10, array(0,0,0), array(255,255,255), 'Vera.ttf', false),
            new MSpacer('10px'),
            new MGDText('text2','Sample GD Text - size:12 - font: Bitstream Vera Sans',12, array(255,0,0), array(255,255,255), 'Vera.ttf', false),
            new MSpacer('10px'),
            new MGDText('text3','Sample GD Text - size:15 - font: Bitstream Vera Sans',15, array(0,255,0), array(255,255,255), 'Vera.ttf', false),
            new MSpacer('10px'),
            new MGDText('text4','Sample GD Text - size:18 - font: Bitstream Vera Sans',18, array(0,0,255), array(255,255,255), 'Vera.ttf', false),
            new MSpacer('10px'),
        );
        $this->setFields($fields);

        $this->defaultButton = false;
	}

}

?>