Rat ui module - a ui namespace for high-level user interface functionality,
and a collection of ui classes for implementing specific features.
- Source:
Classes
- Animator
- BubbleBox
- Button
- EditText
- Element
- Fill
- FillBar
- PageSlider
- Screen
- ScrollView
- Shape
- SpiderChart
- Sprite
- TextBox
- TranslatedTextBox
- TreeView
Methods
(static) makeBubbleButton(resPressedopt, resDisabledopt)
util to make a simple bubble button
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
resPressed |
string |
<optional> |
|
resDisabled |
string |
<optional> |
- Source:
(static) makeSpriteButton(resopt, resHiopt, resPressedopt, resDisabledopt, extra1opt, extra2opt)
util to make a simple sprite button
Parameters:
| Name | Type | Attributes | Description |
|---|---|---|---|
res |
string |
<optional> |
|
resHi |
string |
<optional> |
|
resPressed |
string |
<optional> |
|
resDisabled |
string |
<optional> |
|
extra1 |
Object |
<optional> |
(optional - used for external image formats (see makeImage)) |
extra2 |
boolean |
<optional> |
(optional - used for external image formats (see makeImage)) |
- Source: