R3vo/Sandbox – User
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
{{Navbox/CT}} | |||
{| class="wikitable" | {| class="wikitable" | ||
|- | |- | ||
! Control Type !! 👍 !! 👎 | ! Control Type !! 👍 !! 👎 !! Use cases | ||
|- | |- | ||
! colspan=" | ! colspan="4" | Text/Image/Video | ||
|- | |- | ||
| [[CT_STATIC]] || | | [[CT_STATIC]] || - || - | ||
| | |||
* Display images | |||
* Backgrounds | |||
* Simple text | |||
|- | |- | ||
| CT_EDIT || | | CT_EDIT || - || - | ||
| | |||
* User input | |||
|- | |- | ||
| CT_HTML || | | CT_HTML || - | ||
| | |||
* Limited customization through scripting | |||
* Limited formatting options | |||
| - | |||
|- | |- | ||
| | | CT_STRUCTURED_TEXT | ||
| | |||
* Can display formatted [[Structured Text]] | |||
| | |||
* Can become very slow if much text is displayed | |||
| | |||
* Displaying formatted text | |||
* Syntax highlighting | |||
|- | |- | ||
! colspan=" | ! colspan="4" | Buttons | ||
|- | |- | ||
| CT_BUTTON || | | CT_BUTTON || | ||
* Easy way to trigger an action | * Easy way to let the user trigger an action | ||
| | | | ||
* Limited customization | * Limited customization | ||
| | |||
* Confirm, cancel, close | |||
* Start an action | |||
|- | |- | ||
| CT_ACTIVETEXT || | | CT_ACTIVETEXT | ||
| | |||
* Supports structured text | |||
| - || - | |||
|- | |- | ||
| CT_SHORTCUTBUTTON || | | CT_SHORTCUTBUTTON | ||
| | |||
* Multiple text areas | |||
* Supports images | |||
| | |||
* A bit more complicated to set up | |||
| - | |||
|- | |- | ||
| CT_CHECKBOX || | | CT_CHECKBOX | ||
| | |||
* Easy way to let the user switch between two states | |||
| | |||
* Limited customization | |||
* Does not support text | |||
|- | |- | ||
| CT_XBUTTON || | | CT_XBUTTON | ||
| | |||
- | |||
| | |||
- | |||
| | |||
- | |||
|- | |- | ||
! colspan=" | ! colspan="4" | Lists | ||
|- | |- | ||
| CT_COMBO || | | CT_COMBO | ||
| | |||
* Very space efficient | |||
* Can display unlimited amount of entries | |||
| | |||
* Not as quick as listbox when selecting an entry | |||
| | |||
* Allowing the user to select one entry out of many | |||
|- | |- | ||
| CT_TOOLBOX || | | CT_TOOLBOX | ||
| | |||
* Very fast and easy way to select an entry | |||
* Direct overview over all possible values | |||
| | |||
* Very space inefficient | |||
| | |||
* Letting the user select one out of a few options | |||
|- | |- | ||
| CT_CHECKBOXES || Example || Example | | CT_CHECKBOXES || Example || Example |
Revision as of 10:19, 4 July 2021
Control Types / MACRO (TYPE VALUE) | |
---|---|
Text/Image/Video |
CT_STATIC (0) | CT_EDIT (2) | CT_HTML (9) | CT_STRUCTURED_TEXT (13) |
Buttons |
CT_BUTTON (1) | CT_ACTIVETEXT (11) | CT_SHORTCUTBUTTON (16) | CT_CHECKBOX (77) | CT_XBUTTON (41) |
Lists |
CT_COMBO (4) | CT_TOOLBOX (6) | CT_CHECKBOXES (7) | CT_TREE (12) | CT_CONTROLS_TABLE (19) | CT_XCOMBO (44) | CT_LISTBOX (5) | CT_LISTNBOX (102) | CT_LISTNBOX_CHECKABLE (104) | CT_XLISTBOX (45) |
3D Objects |
CT_OBJECT (80) | CT_OBJECT_ZOOM (81) | CT_OBJECT_CONTAINER (82) | CT_OBJECT_CONT_ANIM (83) |
Maps |
CT_MAP (100) | CT_MAP_MAIN (101) |
Meta |
CT_SLIDER (3) | CT_XSLIDER (43) | CT_PROGRESS (8) | CT_CONTROLS_GROUP (15) | CT_WEBBROWSER (106) | CT_EXTENSION (107) |
Menu |
CT_CONTEXT_MENU (14) | CT_MENU (46) | CT_MENU_STRIP (47) |
Unknown |
CT_STATIC_SKEW (10) | CT_HITZONES (17) | CT_VEHICLETOGGLES (18) | CT_XKEYDESC (40) | CT_ANIMATED_TEXTURE (45) | CT_LINEBREAK (98) | CT_USER (99) | CT_ITEMSLOT (103) | CT_VEHICLE_DIRECTION (105) |
Control Type | 👍 | 👎 | Use cases |
---|---|---|---|
Text/Image/Video | |||
CT_STATIC | - | - |
|
CT_EDIT | - | - |
|
CT_HTML | - |
|
- |
CT_STRUCTURED_TEXT |
|
|
|
Buttons | |||
CT_BUTTON |
|
|
|
CT_ACTIVETEXT |
|
- | - |
CT_SHORTCUTBUTTON |
|
|
- |
CT_CHECKBOX |
|
| |
CT_XBUTTON |
- |
- |
- |
Lists | |||
CT_COMBO |
|
|
|
CT_TOOLBOX |
|
|
|
CT_CHECKBOXES | Example | Example | |
CT_TREE |
|
| |
CT_CONTROLS_TABLE |
|
| |
CT_XCOMBO |
|
| |
CT_LISTBOX |
|
| |
CT_LISTNBOX |
|
| |
CT_LISTNBOX_CHECKABLE | Example | Example | |
CT_XLISTBOX | Example | Example | |
3D Objects | |||
CT_OBJECT | Example | Example | |
CT_XLISTBOX | Example | Example | |
CT_XLISTBOX | Example | Example | |
CT_XLISTBOX | Example | Example | |
CT_XLISTBOX | Example | Example | |
CT_XLISTBOX | Example | Example | |
CT_XLISTBOX | Example | Example | |
CT_XLISTBOX | Example | Example |