Creation/Dev/Script/Client/GuiShowImgCtrl: Difference between revisions

From Graal Bible
mNo edit summary
Line 30: Line 30:
| the actual [[Creation/Dev/Script/Client/TShowImg|TShowImg]] object which contains all the logic
| the actual [[Creation/Dev/Script/Client/TShowImg|TShowImg]] object which contains all the logic
|}
|}


=Example=
=Example=

Revision as of 21:23, 22 September 2006

Inherits GuiControl.

Description

Guicontrol showimg.png

This is basicly a wrapper around TShowImg for displaying all kind of Graal content inside the GUI, including animations (ganis) and particle effects.


Variables

All variables from TShowImg are available for this control as well. Additional variables:

Name Type Description
offsetx integer display offset for 'showimg' inside the control
offsety integer display offset for 'showimg' inside the control
showimg object the actual TShowImg object which contains all the logic


Example

new GuiShowImgCtrl("Test_ShowImg") {
  x = 10;
  y = 10;
  width = 60;
  height = 60;
  ani = "walk";
}