forked from AbleOS/ableos
more changes to make konii so anger
This commit is contained in:
parent
331cbf5da1
commit
cd369b39d5
|
@ -1,4 +0,0 @@
|
||||||
/// a b c
|
|
||||||
void main(){}
|
|
||||||
|
|
||||||
// Generated documentation below
|
|
|
@ -1,2 +0,0 @@
|
||||||
(label "Documentation")
|
|
||||||
(label "")
|
|
27
sysdata/ui_lisp/sample.uil
Normal file
27
sysdata/ui_lisp/sample.uil
Normal file
|
@ -0,0 +1,27 @@
|
||||||
|
/*
|
||||||
|
the following snippet lays out the following.
|
||||||
|
10 11
|
||||||
|
*/
|
||||||
|
(vertical
|
||||||
|
(label "10")
|
||||||
|
(label "11"))
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
Each button must have an ID. This ID must be unique per button or the buttons with the same
|
||||||
|
ID will be treated as the same button.
|
||||||
|
*/
|
||||||
|
(button id:8)
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
This unique ID rull applies to any interactable element.
|
||||||
|
*/
|
||||||
|
(label interactive:true id:9)
|
||||||
|
|
||||||
|
|
||||||
|
/*
|
||||||
|
The ID is used to send a message to the buffer of the process that handles UI.
|
||||||
|
The following code will handle displaying text locally and also sending the delta change to the buffer.
|
||||||
|
*/
|
||||||
|
(line-edit id:10)
|
|
@ -1,7 +0,0 @@
|
||||||
(vertical
|
|
||||||
(horizontal
|
|
||||||
(label "Function main")
|
|
||||||
(button "goto declaration" (on_click "src/main.c:2")))
|
|
||||||
(label "takes void")
|
|
||||||
(label "returns void")
|
|
||||||
(label "a b c"))
|
|
|
@ -1,5 +0,0 @@
|
||||||
- container
|
|
||||||
- horizontal
|
|
||||||
- vertical
|
|
||||||
- framebuffer
|
|
||||||
-
|
|
Loading…
Reference in a new issue