Skip to content

Commit

Permalink
str8 versions handwritten to the api.json, also includes textbox resu…
Browse files Browse the repository at this point in the history
…lt changes i forgot
  • Loading branch information
Skytrias committed Jan 28, 2025
1 parent bcd24f1 commit 7205094
Showing 1 changed file with 287 additions and 0 deletions.
287 changes: 287 additions & 0 deletions src/api.json
Original file line number Diff line number Diff line change
Expand Up @@ -15512,6 +15512,23 @@
}
]
},
{
"kind": "proc",
"name": "oc_ui_button_str8",
"return": {
"kind": "namedType",
"name": "oc_ui_sig"
},
"params": [
{
"name": "label",
"type": {
"kind": "namedType",
"name": "oc_str8"
}
}
]
},
{
"kind": "proc",
"name": "oc_ui_checkbox",
Expand Down Expand Up @@ -15540,6 +15557,32 @@
}
]
},
{
"kind": "proc",
"name": "oc_ui_checkbox_str8",
"return": {
"kind": "namedType",
"name": "oc_ui_sig"
},
"params": [
{
"name": "name",
"type": {
"kind": "namedType",
"name": "oc_str8"
}
},
{
"name": "checked",
"type": {
"kind": "pointer",
"type": {
"kind": "bool"
}
}
}
]
},
{
"kind": "proc",
"name": "oc_ui_slider",
Expand Down Expand Up @@ -15571,6 +15614,35 @@
}
]
},
{
"kind": "proc",
"name": "oc_ui_slider_str8",
"return": {
"kind": "pointer",
"type": {
"kind": "namedType",
"name": "oc_ui_box"
}
},
"params": [
{
"name": "name",
"type": {
"kind": "namedType",
"name": "oc_str8"
}
},
{
"name": "value",
"type": {
"kind": "pointer",
"type": {
"kind": "f32"
}
}
}
]
},
{
"kind": "proc",
"name": "oc_ui_scrollbar",
Expand Down Expand Up @@ -15608,6 +15680,41 @@
}
]
},
{
"kind": "proc",
"name": "oc_ui_scrollbar_str8",
"return": {
"kind": "pointer",
"type": {
"kind": "namedType",
"name": "oc_ui_box"
}
},
"params": [
{
"name": "name",
"type": {
"kind": "namedType",
"name": "oc_str8"
}
},
{
"name": "thumbRatio",
"type": {
"kind": "f32"
}
},
{
"name": "scrollValue",
"type": {
"kind": "pointer",
"type": {
"kind": "f32"
}
}
}
]
},
{
"kind": "proc",
"name": "oc_ui_tooltip",
Expand Down Expand Up @@ -15651,6 +15758,29 @@
}
]
},
{
"kind": "proc",
"name": "oc_ui_panel_begin_str8",
"return": {
"kind": "void"
},
"params": [
{
"name": "name",
"type": {
"kind": "namedType",
"name": "oc_str8"
}
},
{
"name": "flags",
"type": {
"kind": "namedType",
"name": "oc_ui_flags"
}
}
]
},
{
"kind": "proc",
"name": "oc_ui_panel_end",
Expand All @@ -15677,6 +15807,22 @@
}
]
},
{
"kind": "proc",
"name": "oc_ui_menu_bar_begin_str8",
"return": {
"kind": "void"
},
"params": [
{
"name": "name",
"type": {
"kind": "namedType",
"name": "oc_str8"
}
}
]
},
{
"kind": "proc",
"name": "oc_ui_menu_bar_end",
Expand All @@ -15703,6 +15849,22 @@
}
]
},
{
"kind": "proc",
"name": "oc_ui_menu_begin_str8",
"return": {
"kind": "void"
},
"params": [
{
"name": "label",
"type": {
"kind": "namedType",
"name": "oc_str8"
}
}
]
},
{
"kind": "proc",
"name": "oc_ui_menu_end",
Expand Down Expand Up @@ -15730,6 +15892,23 @@
}
]
},
{
"kind": "proc",
"name": "oc_ui_menu_button_str8",
"return": {
"kind": "namedType",
"name": "oc_ui_sig"
},
"params": [
{
"name": "label",
"type": {
"kind": "namedType",
"name": "oc_str8"
}
}
]
},
{
"kind": "typename",
"name": "oc_ui_text_box_result",
Expand All @@ -15754,6 +15933,26 @@
"kind": "namedType",
"name": "oc_str8"
}
},
{
"name": "frame",
"type": {
"kind": "pointer",
"type": {
"kind": "namedType",
"name": "oc_ui_box"
}
}
},
{
"name": "textBox",
"type": {
"kind": "pointer",
"type": {
"kind": "namedType",
"name": "oc_ui_box"
}
}
}
]
}
Expand Down Expand Up @@ -15794,6 +15993,40 @@
}
]
},
{
"kind": "proc",
"name": "oc_ui_text_box_str8",
"return": {
"kind": "namedType",
"name": "oc_ui_text_box_result"
},
"params": [
{
"name": "name",
"type": {
"kind": "namedType",
"name": "oc_str8"
}
},
{
"name": "arena",
"type": {
"kind": "pointer",
"type": {
"kind": "namedType",
"name": "oc_arena"
}
}
},
{
"name": "text",
"type": {
"kind": "namedType",
"name": "oc_str8"
}
}
]
},
{
"kind": "typename",
"name": "oc_ui_select_popup_info",
Expand Down Expand Up @@ -15867,6 +16100,33 @@
}
]
},
{
"kind": "proc",
"name": "oc_ui_select_popup_str8",
"return": {
"kind": "namedType",
"name": "oc_ui_select_popup_info"
},
"params": [
{
"name": "name",
"type": {
"kind": "namedType",
"name": "oc_str8"
}
},
{
"name": "info",
"type": {
"kind": "pointer",
"type": {
"kind": "namedType",
"name": "oc_ui_select_popup_info"
}
}
}
]
},
{
"kind": "typename",
"name": "oc_ui_radio_group_info",
Expand Down Expand Up @@ -15932,6 +16192,33 @@
}
}
]
},
{
"kind": "proc",
"name": "oc_ui_radio_group_str8",
"return": {
"kind": "namedType",
"name": "oc_ui_radio_group_info"
},
"params": [
{
"name": "name",
"type": {
"kind": "namedType",
"name": "oc_str8"
}
},
{
"name": "info",
"type": {
"kind": "pointer",
"type": {
"kind": "namedType",
"name": "oc_ui_radio_group_info"
}
}
}
]
}
]

Expand Down

0 comments on commit 7205094

Please sign in to comment.