update manual
This commit is contained in:
@@ -78,7 +78,7 @@ textSize, textLen, backgroundColor, encoding are optional.
|
||||
|
||||
### `DrawLine(x1, y1, x2, y2)`
|
||||
|
||||
### `DrawRectangle(x, y, w, h color)`
|
||||
### `DrawRectangle(x, y, widht, height, color)`
|
||||
|
||||
### `ReadPoint(x, y)`
|
||||
|
||||
@@ -86,10 +86,17 @@ return color
|
||||
|
||||
## Buttons
|
||||
|
||||
### `DefineButton(x, y, widht, height, id, color)`
|
||||
|
||||
### `DeleteButton(id)`
|
||||
|
||||
### `GetButton()`
|
||||
|
||||
return pressed button or nil
|
||||
|
||||
### `SetButtonStyle(style)`
|
||||
|
||||
|
||||
### buttons
|
||||
|
||||
button's ids that defined default by window with skin
|
||||
@@ -101,11 +108,48 @@ syscalls.buttons.<Value>
|
||||
+ `close`
|
||||
+ `minimize`
|
||||
|
||||
### ButtonStyles
|
||||
|
||||
```lua
|
||||
syscalls.buttonStyle.<Value>
|
||||
```
|
||||
|
||||
## SystemColors
|
||||
|
||||
### SystemColors type
|
||||
|
||||
userdata
|
||||
|
||||
#### Fields
|
||||
|
||||
+ frameArea
|
||||
+ grabBar
|
||||
+ grabBarButton
|
||||
+ grabButtonText
|
||||
+ grabText
|
||||
+ workArea
|
||||
+ workButton
|
||||
+ workButton
|
||||
+ workButtonText + workGraph
|
||||
+ workText
|
||||
|
||||
#### Constructor
|
||||
|
||||
```lua
|
||||
syscalls.SystemColors.new(
|
||||
frameArea,
|
||||
grabBar,
|
||||
grabBarButton,
|
||||
grabButtonText,
|
||||
grabText,
|
||||
workArea,
|
||||
workButton,
|
||||
workButton,
|
||||
workButtonText,
|
||||
workGraph,
|
||||
workText
|
||||
)
|
||||
```
|
||||
|
||||
### `GetSystemColors()`
|
||||
|
||||
|
Reference in New Issue
Block a user