Closing bracket fixed
[shipsimu.git] / templates / images / de / image / emergency_exit.img
1 <?php
2 // Needed in every image template to initialy set the image type
3 $helper = ImageHelper::createImageHelper($this, "png");
4 $helper->setBaseImage("base_image");
5
6 // Set image dimensions
7 $helper->setWidth(400);
8 $helper->setHeight(200);
9
10 // Background and foreground color
11 $helper->setBackgroundColorRedGreenBlue(0xFF, 0xAA, 0xAA);
12 $helper->setForegroundColorRedGreenBlue(0x00, 0x00, 0x00);
13
14 // Add error message
15 $helper->setImageString("Genereller Fehler!");
16
17 // Flush content to the template engine
18 $helper->flushContent();
19
20 // Comment this out if image is done
21 //$this->debugInstance();
22 ?>