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

From Graal Bible
mNo edit summary
 
No edit summary
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
<pre>
[[Category:Scripting Reference]]
    GuiBitmapCtrl (GuiControl):
Inherits [[Creation/Dev/Script/Client/GuiControl|GuiControl]].
      bitmap - string
 
      wrap - boolean
=Description=
      setbitmap(str)
 
      setvalue(int, int)
[[Image:Guicontrol_bitmap.png]]
</pre>
 
This control is simply displaying a stretched or tiled bitmap.
 
 
=Variables=
{| border="1" cellpadding="2" width="100%"
| '''Name'''
| '''Type'''
| '''Description'''
|-
| bitmap
| string
| Image filename
|-
| wrap
| boolean
| If true, the image will be tiled. If false, the image will be stretched.
|}
 
 
=Functions=
{| border="1" cellpadding="2" width="100%"
| '''Name'''
| '''Return Type'''
| '''Description'''
|-
| setbitmap(str)
|
|
|-
| setvalue(int, int)
|
|
|}
 
 
=Example=
 
  new GuiBitmapCtrl("Test_Bitmap") {
    x = 10;
    y = 10;
    width = 160;
    height = 80;
    bitmap = "2002_sysmsgbg.png";
  }

Latest revision as of 23:50, 15 February 2010

Inherits GuiControl.

Description

Guicontrol bitmap.png

This control is simply displaying a stretched or tiled bitmap.


Variables

Name Type Description
bitmap string Image filename
wrap boolean If true, the image will be tiled. If false, the image will be stretched.


Functions

Name Return Type Description
setbitmap(str)
setvalue(int, int)


Example

 new GuiBitmapCtrl("Test_Bitmap") {
   x = 10;
   y = 10;
   width = 160;
   height = 80;
   bitmap = "2002_sysmsgbg.png";
 }