Skip to content

Commit b956f86

Browse files
Add remaining 15 gui element types (Closes #13)
1 parent f4be1f7 commit b956f86

18 files changed

+82
-9
lines changed

elements/GUI/gui-button.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: gui-button
2+
description: |
3+
The **GUI button** class represents GUI buttons in MTA's GUI system. It's only functionality is to detect whether client has clicked it.

elements/GUI/gui-checkbox.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: gui-checkbox
2+
description: |
3+
The GUI checkbox class represents GUI checkboxes in MTA's GUI system. These can be checked or unchecked.

elements/GUI/gui-combobox.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: gui-combobox
2+
description: |
3+
The GUI combobox class represents GUI comboboxes in MTA's GUI system. These are drop down lists that can contain large number of items.

elements/GUI/gui-edit.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: gui-edit
2+
description: |
3+
The GUI edit field class represents GUI edit fields in MTA's GUI system. You can input text in these which you can afterwards check from the script. It can be used, for example when making a registration system.

elements/GUI/gui-gridlist.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: gui-gridlist
2+
description: |
3+
The GUI gridlist class represents GUI gridlists in MTA's GUI system. It can be used for example as a selection list or as a list to view information about players (see [old scoreboard resource](/Resource:OldScoreboard)).

elements/GUI/gui-label.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: gui-label
2+
description: |
3+
The GUI label class represents GUI labels in MTA's GUI system. These are simply a bunch of text which client cannot modify.

elements/GUI/gui-memo.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: gui-memo
2+
description: |
3+
The GUI memo class represents GUI memos in MTA's GUI system. These are big multiline text fields to what you can type text by default. It is recommended to use [edit fields](/gui-edit) for smaller text inputting.

elements/GUI/gui-progressbar.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: gui-progressbar
2+
description: |
3+
The GUI progress bar class represents GUI progress bars in MTA's GUI system. These are mostly used as loading bars because you can alter the percentage amount of progress in it.

elements/GUI/gui-radiobutton.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: gui-radiobutton
2+
description: |
3+
The GUI radio button class represents GUI radio buttons in MTA's GUI system. These can be checked or unchecked and work quite similiar as the GUI checkboxes.

elements/GUI/gui-scrollbar.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
name: gui-scrollbar
2+
description: |
3+
The GUI scrollbar class represents GUI scrollbars in MTA's GUI system. These can be moved with cursor and it's position can be checked and set by script. These are built by default to certain GUI elements ([gridlists](/gui-gridlist)) if they exceed the given size.

0 commit comments

Comments
 (0)