|
|
Line 1: |
Line 1: |
| Inherits [[Creation/Dev/Script/Client/GuiButtonBaseCtrl|GuiButtonBaseCtrl]].
| | {{antiunix}} |
| | |
| =Description=
| |
| | |
| [[Image:Guicontrol_button.png]]
| |
| | |
| This displays a button, optionally with icon. The look of the button is specified using the [[Creation/Dev/Script/Client/GuiControlProfile|profile]].
| |
| | |
| | |
| =Variables=
| |
| | |
| icon - [[Creation/Dev/Script/Client/TDrawingPanel|TDrawingPanel]]
| |
| | |
| | |
| =Functions=
| |
| | |
| {| border="1" cellpadding="2" width="100%" | |
| | '''Name'''
| |
| | '''Return Type'''
| |
| | '''Description'''
| |
| |-
| |
| | seticonsize(int, int)
| |
| |
| |
| |
| |
| |}
| |
| | |
| | |
| =Example=
| |
| | |
| new GuiButtonCtrl("Test_Button") {
| |
| profile = GuiBlueButtonProfile;
| |
| x = 10;
| |
| y = 10;
| |
| width = 100;
| |
| height = 30;
| |
| text = "Button";
| |
| }
| |