update manual

This commit is contained in:
2025-04-16 08:59:49 +02:00
parent e75ef3eb9e
commit ac932b3a43

View File

@@ -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()`