-
Notifications
You must be signed in to change notification settings - Fork 1
/
imgui-stub.tl_
978 lines (929 loc) · 35.3 KB
/
imgui-stub.tl_
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
global type imgui = record
-- attention : not use it
type Image_ = number
SetGlobalFontFromFileTTF: function(fname: string, pixSize: number)
AddFontFromFileTTF: function(fname: string, pixSize: number)
SetGlobalFontFromArchiveTTF: function(fname: string, pixSize: number)
ShutDown: function()
Init: function()
Render: function()
NewFrame: function()
MouseMoved: function(number, number)
MousePressed: function(number)
MouseReleased: function(number)
WheelMoved: function(number)
KeyPressed: function(string)
KeyReleased: function(string)
TextInput: function(string)
GetWantCaptureKeyboard: function()
GetWantCaptureMouse: function()
GetWantTextInput: function()
-- enums
enum ImGuiWindowFlags
"None"
"DockNodeHost"
"NavFlattened"
"ChildMenu"
"Modal"
"NoResize"
"AlwaysVerticalScrollbar"
"MenuBar"
"Popup"
"HorizontalScrollbar"
"NoNavFocus"
"ChildWindow"
"NoTitleBar"
"NoInputs"
"NoCollapse"
"NoBackground"
"NoDecoration"
"AlwaysAutoResize"
"AlwaysHorizontalScrollbar"
"NoBringToFrontOnFocus"
"NoMove"
"NoDocking"
"UnsavedDocument"
"AlwaysUseWindowPadding"
"Tooltip"
"NoSavedSettings"
"NoNavInputs"
"NoScrollWithMouse"
"NoNav"
"NoFocusOnAppearing"
"NoScrollbar"
"NoMouseInputs"
end
enum ImGuiInputTextFlags
"None"
"AlwaysInsertMode"
"NoHorizontalScroll"
"NoMarkEdited"
"CallbackHistory"
"CallbackAlways"
"ReadOnly"
"CallbackResize"
"CallbackCompletion"
"AutoSelectAll"
"CallbackCharFilter"
"CharsUppercase"
"CharsHexadecimal"
"Multiline"
"CallbackEdit"
"CharsScientific"
"CharsDecimal"
"CharsNoBlank"
"Password"
"CtrlEnterForNewLine"
"AllowTabInput"
"NoUndoRedo"
"EnterReturnsTrue"
end
enum ImGuiTreeNodeFlags
"None"
"OpenOnArrow"
"SpanFullWidth"
"SpanAvailWidth"
"NavLeftJumpsBackHere"
"DefaultOpen"
"FramePadding"
"Selected"
"OpenOnDoubleClick"
"AllowItemOverlap"
"Framed"
"CollapsingHeader"
"NoAutoOpenOnLog"
"Bullet"
"NoTreePushOnOpen"
"Leaf"
end
enum ImGuiPopupFlags
"None"
"MouseButtonRight"
"NoOpenOverItems"
"AnyPopupId"
"MouseButtonDefault_"
"MouseButtonMiddle"
"MouseButtonLeft"
"NoOpenOverExistingPopup"
"MouseButtonMask_"
"AnyPopup"
"AnyPopupLevel"
end
enum ImGuiSelectableFlags
"None"
"AllowItemOverlap"
"DontClosePopups"
"SpanAllColumns"
"AllowDoubleClick"
"Disabled"
end
enum ImGuiComboFlags
"None"
"HeightRegular"
"HeightSmall"
"NoArrowButton"
"HeightMask_"
"HeightLargest"
"NoPreview"
"HeightLarge"
"PopupAlignLeft"
end
enum ImGuiTabBarFlags
"None"
"NoTooltip"
"TabListPopupButton"
"FittingPolicyResizeDown"
"NoTabListScrollingButtons"
"Reorderable"
"FittingPolicyMask_"
"AutoSelectNewTabs"
"FittingPolicyDefault_"
"NoCloseWithMiddleMouseButton"
"FittingPolicyScroll"
end
enum ImGuiTabItemFlags
"None"
"NoTooltip"
"NoPushId"
"Trailing"
"Leading"
"NoReorder"
"SetSelected"
"NoCloseWithMiddleMouseButton"
"UnsavedDocument"
end
enum ImGuiTableFlags
"NoClip"
"SizingFixedSame"
"BordersOuterV"
"Borders"
"BordersInnerV"
"SizingStretchProp"
"SortMulti"
"NoPadInnerX"
"ScrollY"
"BordersInnerH"
"NoPadOuterX"
"BordersH"
"NoHostExtendX"
"NoBordersInBodyUntilResize"
"SortTristate"
"PreciseWidths"
"None"
"NoBordersInBody"
"ContextMenuInBody"
"Sortable"
"BordersInner"
"SizingMask_"
"NoSavedSettings"
"Resizable"
"BordersOuter"
"SizingStretchSame"
"NoHostExtendY"
"BordersV"
"Reorderable"
"SizingFixedFit"
"BordersOuterH"
"NoKeepColumnsVisible"
"ScrollX"
"RowBg"
"Hideable"
"PadOuterX"
end
enum ImGuiTableColumnFlags
"None"
"NoSort"
"IndentMask_"
"NoResize"
"IndentEnable"
"NoSortDescending"
"IndentDisable"
"PreferSortDescending"
"WidthMask_"
"NoHide"
"NoDirectResize_"
"StatusMask_"
"DefaultSort"
"IsHovered"
"NoSortAscending"
"IsVisible"
"NoReorder"
"NoHeaderWidth"
"IsEnabled"
"DefaultHide"
"WidthFixed"
"WidthStretch"
"NoClip"
"IsSorted"
"PreferSortAscending"
end
enum ImGuiTableRowFlags
"None"
"Headers"
end
enum ImGuiTableBgTarget
"None"
"CellBg"
"RowBg1"
"RowBg0"
end
enum ImGuiFocusedFlags
"None"
"RootWindow"
"AnyWindow"
"ChildWindows"
"RootAndChildWindows"
end
enum ImGuiHoveredFlags
"None"
"RootAndChildWindows"
"AllowWhenDisabled"
"RootWindow"
"AnyWindow"
"RectOnly"
"AllowWhenBlockedByPopup"
"AllowWhenOverlapped"
"ChildWindows"
"AllowWhenBlockedByActiveItem"
end
enum ImGuiDockNodeFlags
"None"
"NoSplit"
"AutoHideTabBar"
"KeepAliveOnly"
"NoResize"
"PassthruCentralNode"
"NoDockingInCentralNode"
end
enum ImGuiDragDropFlags
"None"
"SourceExtern"
"SourceAutoExpirePayload"
"AcceptPeekOnly"
"SourceAllowNullID"
"SourceNoDisableHover"
"SourceNoHoldToOpenOthers"
"AcceptBeforeDelivery"
"AcceptNoDrawDefaultRect"
"SourceNoPreviewTooltip"
"AcceptNoPreviewTooltip"
end
enum ImGuiDataType
"U8"
"U32"
"Double"
"S8"
"U64"
"S64"
"S32"
"Float"
"S16"
"U16"
end
enum ImGuiDir
"None"
"Left"
"Right"
"Up"
"Down"
end
enum ImGuiSortDirection
"None"
"Descending"
"Ascending"
end
enum ImGuiKey
"Tab"
"Space"
"PageUp"
"Z"
"Delete"
"LeftArrow"
"RightArrow"
"Insert"
"Home"
"DownArrow"
"Escape"
"UpArrow"
"A"
"V"
"C"
"X"
"Enter"
"Backspace"
"Y"
"KeyPadEnter"
"End"
"PageDown"
end
enum ImGuiKeyModFlags
"None"
"Shift"
"Super"
"Ctrl"
"Alt"
end
enum ImGuiNavInput
"Menu"
"TweakSlow"
"DpadRight"
"LStickDown"
"TweakFast"
"Cancel"
"DpadDown"
"FocusPrev"
"DpadUp"
"LStickUp"
"KeyMenu_"
"LStickRight"
"DpadLeft"
"InternalStart_"
"KeyLeft_"
"KeyUp_"
"KeyRight_"
"Activate"
"KeyDown_"
"FocusNext"
"Input"
"LStickLeft"
end
enum ImGuiConfigFlags
"None"
"NavNoCaptureKeyboard"
"NavEnableGamepad"
"IsSRGB"
"NavEnableKeyboard"
"NavEnableSetMousePos"
"DpiEnableScaleFonts"
"DpiEnableScaleViewports"
"DockingEnable"
"IsTouchScreen"
"NoMouse"
"NoMouseCursorChange"
"ViewportsEnable"
end
enum ImGuiBackendFlags
"None"
"HasGamepad"
"HasMouseCursors"
"RendererHasViewports"
"HasMouseHoveredViewport"
"RendererHasVtxOffset"
"PlatformHasViewports"
"HasSetMousePos"
end
enum ImGuiCol
"ScrollbarGrab"
"TabActive"
"TabHovered"
"FrameBgActive"
"ButtonHovered"
"ChildBg"
"PlotHistogram"
"SliderGrabActive"
"ResizeGripActive"
"ModalWindowDimBg"
"FrameBg"
"TextDisabled"
"ResizeGripHovered"
"PlotHistogramHovered"
"PlotLines"
"SliderGrab"
"ButtonActive"
"TextSelectedBg"
"TabUnfocused"
"TableRowBg"
"TitleBgCollapsed"
"TitleBg"
"NavWindowingHighlight"
"NavHighlight"
"SeparatorHovered"
"DragDropTarget"
"TableRowBgAlt"
"ResizeGrip"
"TableBorderLight"
"SeparatorActive"
"TableBorderStrong"
"Border"
"TableHeaderBg"
"PlotLinesHovered"
"Separator"
"FrameBgHovered"
"DockingEmptyBg"
"DockingPreview"
"TabUnfocusedActive"
"Tab"
"CheckMark"
"ScrollbarGrabHovered"
"HeaderHovered"
"HeaderActive"
"Button"
"ScrollbarGrabActive"
"NavWindowingDimBg"
"PopupBg"
"WindowBg"
"MenuBarBg"
"TitleBgActive"
"Header"
"BorderShadow"
"ScrollbarBg"
"Text"
end
enum ImGuiStyleVar
"FrameBorderSize"
"FrameRounding"
"FramePadding"
"ChildBorderSize"
"Alpha"
"IndentSpacing"
"PopupBorderSize"
"WindowTitleAlign"
"SelectableTextAlign"
"ChildRounding"
"GrabRounding"
"WindowBorderSize"
"WindowMinSize"
"ScrollbarSize"
"ButtonTextAlign"
"TabRounding"
"GrabMinSize"
"WindowPadding"
"ItemInnerSpacing"
"ScrollbarRounding"
"CellPadding"
"PopupRounding"
"ItemSpacing"
"WindowRounding"
end
enum ImGuiButtonFlags
"None"
"MouseButtonDefault_"
"MouseButtonRight"
"MouseButtonLeft"
"MouseButtonMask_"
"MouseButtonMiddle"
end
enum ImGuiColorEditFlags
"None"
"NoTooltip"
"_OptionsDefault"
"NoDragDrop"
"_DataTypeMask"
"_InputMask"
"NoLabel"
"_PickerMask"
"_DisplayMask"
"AlphaPreviewHalf"
"NoOptions"
"NoAlpha"
"NoPicker"
"DisplayHSV"
"HDR"
"Float"
"NoSidePreview"
"AlphaPreview"
"PickerHueWheel"
"AlphaBar"
"NoInputs"
"Uint8"
"InputHSV"
"NoSmallPreview"
"PickerHueBar"
"NoBorder"
"DisplayHex"
"DisplayRGB"
"InputRGB"
end
enum ImGuiSliderFlags
"None"
"NoInput"
"InvalidMask_"
"AlwaysClamp"
"NoRoundToFormat"
"Logarithmic"
end
enum ImGuiMouseButton
"Right"
"Middle"
"Left"
end
enum ImGuiMouseCursor
"None"
"ResizeEW"
"ResizeNESW"
"ResizeNWSE"
"TextInput"
"ResizeAll"
"ResizeNS"
"NotAllowed"
"Hand"
"Arrow"
end
enum ImGuiCond
"None"
"Once"
"Always"
"Appearing"
"FirstUseEver"
end
enum ImDrawCornerFlags
"None"
"TopLeft"
"BotLeft"
"Bot"
"All"
"TopRight"
"Right"
"BotRight"
"Top"
"Left"
end
enum ImDrawListFlags
"None"
"AntiAliasedFill"
"AntiAliasedLinesUseTex"
"AllowVtxOffset"
"AntiAliasedLines"
end
enum ImFontAtlasFlags
"None"
"NoBakedLines"
"NoPowerOfTwoHeight"
"NoMouseCursors"
end
enum ImGuiViewportFlags
"None"
"NoFocusOnClick"
"NoRendererClear"
"TopMost"
"NoTaskBarIcon"
"CanHostOtherWindows"
"Minimized"
"NoAutoMerge"
"NoInputs"
"NoFocusOnAppearing"
"NoDecoration"
end
-- aliased types
type ImDrawCornerFlags_ = string
type ImGuiTabItemFlags_ = string
type ImGuiMouseCursor_ = string
type ImGuiTabBarFlags_ = string
type ImGuiColorEditFlags_ = string
type ImGuiTreeNodeFlags_ = string
type ImGuiFocusedFlags_ = string
type ImGuiTableColumnFlags_ = string
type ImGuiHoveredFlags_ = string
type ImGuiCond_ = string
type ImGuiTableBgTarget_ = string
type ImGuiPopupFlags_ = string
type ImGuiSliderFlags_ = string
type ImGuiDragDropFlags_ = string
type ImGuiTableFlags_ = string
type ImGuiCol_ = string
type ImGuiSelectableFlags_ = string
type ImGuiDir_ = string
type ImGuiStyleVar_ = string
type ImGuiTableRowFlags_ = string
type ImGuiDockNodeFlags_ = string
type ImGuiInputTextFlags_ = string
type ImGuiMouseButton_ = string
type ImGuiKey_ = string
type ImGuiButtonFlags_ = string
type ImGuiWindowFlags_ = string
type ImGuiComboFlags_ = string
-- functions
AlignTextToFramePadding: function()
ArrowButton: function(str_id: string,dir: ImGuiDir_): boolean
Begin: function(name: string,p_open: boolean,flags: ImGuiWindowFlags_): boolean,boolean
BeginChild: function(id: number,size_x: number,size_y: number,border: boolean,flags: ImGuiWindowFlags_): boolean
BeginChildFrame: function(id: number,size_x: number,size_y: number,flags: ImGuiWindowFlags_): boolean
BeginCombo: function(label: string,preview_value: string,flags: ImGuiComboFlags_): boolean
BeginDragDropSource: function(flags: ImGuiDragDropFlags_): boolean
BeginDragDropTarget: function(): boolean
BeginGroup: function()
BeginMainMenuBar: function(): boolean
BeginMenu: function(label: string,enabled: boolean): boolean
BeginMenuBar: function(): boolean
BeginPopup: function(str_id: string,flags: ImGuiWindowFlags_): boolean
BeginPopupContextItem: function(str_id: string,popup_flags: ImGuiPopupFlags_): boolean
BeginPopupContextVoid: function(str_id: string,popup_flags: ImGuiPopupFlags_): boolean
BeginPopupContextWindow: function(str_id: string,popup_flags: ImGuiPopupFlags_): boolean
BeginPopupModal: function(name: string,p_open: boolean,flags: ImGuiWindowFlags_): boolean,boolean
BeginTabBar: function(str_id: string,flags: ImGuiTabBarFlags_): boolean
BeginTabItem: function(label: string,p_open: boolean,flags: ImGuiTabItemFlags_): boolean,boolean
BeginTable: function(str_id: string,column: number,flags: ImGuiTableFlags_,outer_size_x: number,outer_size_y: number,inner_width: number): boolean
BeginTooltip: function()
Bullet: function()
BulletText: function(fmt: string)
Button: function(label: string,size_x: number,size_y: number): boolean
CalcItemWidth: function(): number
CalcListClipping: function(items_count: number,items_height: number,out_items_display_start: number,out_items_display_end: number): number,number
CalcTextSize: function(text: string,text_end: string,hide_text_after_double_hash: boolean,wrap_width: number): number,number
CaptureKeyboardFromApp: function(want_capture_keyboard_value: boolean)
CaptureMouseFromApp: function(want_capture_mouse_value: boolean)
Checkbox: function(label: string,v: boolean): boolean,boolean
CheckboxFlags: function(label: string,flags: number,flags_value: number): number,boolean
CloseCurrentPopup: function()
CollapsingHeader: function(label: string,p_visible: boolean,flags: ImGuiTreeNodeFlags_): boolean,boolean
ColorButton: function(desc_id: string,col_x: number,col_y: number,col_z: number,col_w: number,flags: ImGuiColorEditFlags_,size_x: number,size_y: number): boolean
ColorConvertU32ToFloat4: function(in_: number): number,number,number,number
ColorEdit3: function(label: string,col: table,flags: ImGuiColorEditFlags_): number,number,number,boolean
ColorEdit4: function(label: string,col: table,flags: ImGuiColorEditFlags_): number,number,number,number,boolean
ColorPicker3: function(label: string,col: table,flags: ImGuiColorEditFlags_): number,number,number,boolean
ColorPicker4: function()
Columns: function(count: number,id: string,border: boolean)
Combo: function(label: string,current_item: number,items_separated_by_zeros: string,popup_max_height_in_items: number): number,boolean
DestroyContext: function(ctx: any)
DestroyPlatformWindows: function()
DockSpace: function(id: number,size_x: number,size_y: number,flags: ImGuiDockNodeFlags_)
DockSpaceOverViewport: function(flags: ImGuiDockNodeFlags_): number
DragFloat: function(label: string,v: number,v_speed: number,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,boolean
DragFloat2: function(label: string,v: table,v_speed: number,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,number,boolean
DragFloat3: function(label: string,v: table,v_speed: number,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,number,number,boolean
DragFloat4: function(label: string,v: table,v_speed: number,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,number,number,number,boolean
DragFloatRange2: function(label: string,v_current_min: number,v_current_max: number,v_speed: number,v_min: number,v_max: number,format: string,format_max: string,flags: ImGuiSliderFlags_): number,number,boolean
DragInt: function(label: string,v: number,v_speed: number,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,boolean
DragInt2: function(label: string,v: table,v_speed: number,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,number,boolean
DragInt3: function(label: string,v: table,v_speed: number,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,number,number,boolean
DragInt4: function(label: string,v: table,v_speed: number,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,number,number,number,boolean
DragIntRange2: function(label: string,v_current_min: number,v_current_max: number,v_speed: number,v_min: number,v_max: number,format: string,format_max: string,flags: ImGuiSliderFlags_): number,number,boolean
Dummy: function(size_x: number,size_y: number)
End: function()
EndChild: function()
EndChildFrame: function()
EndCombo: function()
EndDragDropSource: function()
EndDragDropTarget: function()
EndFrame: function()
EndGroup: function()
EndMainMenuBar: function()
EndMenu: function()
EndMenuBar: function()
EndPopup: function()
EndTabBar: function()
EndTabItem: function()
EndTable: function()
EndTooltip: function()
GetClipboardText: function(): number
GetColumnIndex: function(): number
GetColumnOffset: function(column_index: number): number
GetColumnWidth: function(column_index: number): number
GetColumnsCount: function(): number
GetContentRegionAvail: function(): number,number
GetContentRegionMax: function(): number,number
GetCursorPos: function(): number,number
GetCursorPosX: function(): number
GetCursorPosY: function(): number
GetCursorScreenPos: function(): number,number
GetCursorStartPos: function(): number,number
GetFontSize: function(): number
GetFontTexUvWhitePixel: function(): number,number
GetFrameCount: function(): number
GetFrameHeight: function(): number
GetFrameHeightWithSpacing: function(): number
GetID: function(str_id_begin: string,str_id_end: string): number
GetItemRectMax: function(): number,number
GetItemRectMin: function(): number,number
GetItemRectSize: function(): number,number
GetKeyIndex: function(imgui_key: ImGuiKey_): number
GetKeyPressedAmount: function(key_index: number,repeat_delay: number,rate: number): number
GetMouseCursor: function(): string
GetMouseDragDelta: function(button: ImGuiMouseButton_,lock_threshold: number): number,number
GetMousePos: function(): number,number
GetMousePosOnOpeningCurrentPopup: function(): number,number
GetScrollMaxX: function(): number
GetScrollMaxY: function(): number
GetScrollX: function(): number
GetScrollY: function(): number
GetStyleColorName: function(idx: ImGuiCol_): number
GetStyleColorVec4: function(idx: ImGuiCol_): number,number,number,number
GetTextLineHeight: function(): number
GetTextLineHeightWithSpacing: function(): number
GetTime: function(): number
GetTreeNodeToLabelSpacing: function(): number
GetVersion: function(): number
GetWindowContentRegionMax: function(): number,number
GetWindowContentRegionMin: function(): number,number
GetWindowContentRegionWidth: function(): number
GetWindowDockID: function(): number
GetWindowDpiScale: function(): number
GetWindowHeight: function(): number
GetWindowPos: function(): number,number
GetWindowSize: function(): number,number
GetWindowWidth: function(): number
Image: function(user_texture_id: Image_,size_x: number,size_y: number,uv0_x: number,uv0_y: number,uv1_x: number,uv1_y: number,tint_col_x: number,tint_col_y: number,tint_col_z: number,tint_col_w: number,border_col_x: number,border_col_y: number,border_col_z: number,border_col_w: number)
ImageButton: function(user_texture_id: Image_,size_x: number,size_y: number,uv0_x: number,uv0_y: number,uv1_x: number,uv1_y: number,frame_padding: number,bg_col_x: number,bg_col_y: number,bg_col_z: number,bg_col_w: number,tint_col_x: number,tint_col_y: number,tint_col_z: number,tint_col_w: number): boolean
Indent: function(indent_w: number)
InputDouble: function(label: string,v: number,step: number,step_fast: number,format: string,flags: ImGuiInputTextFlags_): number,boolean
InputFloat: function(label: string,v: number,step: number,step_fast: number,format: string,flags: ImGuiInputTextFlags_): number,boolean
InputFloat2: function(label: string,v: table,format: string,flags: ImGuiInputTextFlags_): number,number,boolean
InputFloat3: function(label: string,v: table,format: string,flags: ImGuiInputTextFlags_): number,number,number,boolean
InputFloat4: function(label: string,v: table,format: string,flags: ImGuiInputTextFlags_): number,number,number,number,boolean
InputInt: function(label: string,v: number,step: number,step_fast: number,flags: ImGuiInputTextFlags_): number,boolean
InputInt2: function(label: string,v: table,flags: ImGuiInputTextFlags_): number,number,boolean
InputInt3: function(label: string,v: table,flags: ImGuiInputTextFlags_): number,number,number,boolean
InputInt4: function(label: string,v: table,flags: ImGuiInputTextFlags_): number,number,number,number,boolean
InputText: function(label: string,str: string,flags: ImGuiInputTextFlags_,callback: function): string,boolean
InputTextMultiline: function(label: string,str: string,size_x: number,size_y: number,flags: ImGuiInputTextFlags_,callback: function): string,boolean
InputTextWithHint: function(label: string,hint: string,str: string,flags: ImGuiInputTextFlags_,callback: function): string,boolean
InvisibleButton: function(str_id: string,size_x: number,size_y: number,flags: ImGuiButtonFlags_): boolean
IsAnyItemActive: function(): boolean
IsAnyItemFocused: function(): boolean
IsAnyItemHovered: function(): boolean
IsAnyMouseDown: function(): boolean
IsItemActivated: function(): boolean
IsItemActive: function(): boolean
IsItemClicked: function(mouse_button: ImGuiMouseButton_): boolean
IsItemDeactivated: function(): boolean
IsItemDeactivatedAfterEdit: function(): boolean
IsItemEdited: function(): boolean
IsItemFocused: function(): boolean
IsItemHovered: function(flags: ImGuiHoveredFlags_): boolean
IsItemToggledOpen: function(): boolean
IsItemVisible: function(): boolean
IsKeyDown: function(user_key_index: number): boolean
IsKeyPressed: function(user_key_index: number,repeat_: boolean): boolean
IsKeyReleased: function(user_key_index: number): boolean
IsMouseClicked: function(button: ImGuiMouseButton_,repeat_: boolean): boolean
IsMouseDoubleClicked: function(button: ImGuiMouseButton_): boolean
IsMouseDown: function(button: ImGuiMouseButton_): boolean
IsMouseDragging: function(button: ImGuiMouseButton_,lock_threshold: number): boolean
IsMouseHoveringRect: function(r_min_x: number,r_min_y: number,r_max_x: number,r_max_y: number,clip: boolean): boolean
IsMousePosValid: function(mouse_pos_x: number,mouse_pos_y: number): boolean
IsMouseReleased: function(button: ImGuiMouseButton_): boolean
IsPopupOpen: function(str_id: string,flags: ImGuiPopupFlags_): boolean
IsRectVisible: function(rect_min_x: number,rect_min_y: number,rect_max_x: number,rect_max_y: number): boolean
IsWindowAppearing: function(): boolean
IsWindowCollapsed: function(): boolean
IsWindowDocked: function(): boolean
IsWindowFocused: function(flags: ImGuiFocusedFlags_): boolean
IsWindowHovered: function(flags: ImGuiHoveredFlags_): boolean
LabelText: function(label: string,fmt: string)
ListBoxFooter: function()
ListBoxHeaderItems: function(label: string,items_count: number,height_in_items: number): boolean
ListBoxHeaderXY: function(label: string,size_x: number,size_y: number): boolean
LoadIniSettingsFromDisk: function(ini_filename: string)
LogButtons: function()
LogFinish: function()
LogText: function(fmt: string)
LogToClipboard: function(auto_open_depth: number)
LogToFile: function(auto_open_depth: number,filename: string)
LogToTTY: function(auto_open_depth: number)
MenuItem: function(label: string,shortcut: string,p_selected: boolean,enabled: boolean): boolean,boolean
NewFrame: function()
NewLine: function()
NextColumn: function()
OpenPopup: function(str_id: string,popup_flags: ImGuiPopupFlags_)
OpenPopupOnItemClick: function(str_id: string,popup_flags: ImGuiPopupFlags_)
PopAllowKeyboardFocus: function()
PopButtonRepeat: function()
PopClipRect: function()
PopFont: function()
PopID: function()
PopItemWidth: function()
PopStyleColor: function(count: number)
PopStyleVar: function(count: number)
PopTextWrapPos: function()
ProgressBar: function(fraction: number,size_arg_x: number,size_arg_y: number,overlay: string)
PushAllowKeyboardFocus: function(allow_keyboard_focus: boolean)
PushButtonRepeat: function(repeat_: boolean)
PushClipRect: function(clip_rect_min_x: number,clip_rect_min_y: number,clip_rect_max_x: number,clip_rect_max_y: number,intersect_with_current_clip_rect: boolean)
PushID: function(int_id: number)
PushItemWidth: function(item_width: number)
PushStyleColor: function(idx: ImGuiCol_,col_x: number,col_y: number,col_z: number,col_w: number)
PushStyleVar: function(idx: ImGuiStyleVar_,val_x: number,val_y: number)
PushTextWrapPos: function(wrap_local_pos_x: number)
RadioButton: function(label: string,v: number,v_button: number): number,boolean
Render: function()
ResetMouseDragDelta: function(button: ImGuiMouseButton_)
SameLine: function(offset_from_start_x: number,spacing: number)
SaveIniSettingsToDisk: function(ini_filename: string)
Selectable: function(label: string,p_selected: boolean,flags: ImGuiSelectableFlags_,size_x: number,size_y: number): boolean,boolean
Separator: function()
SetClipboardText: function(text: string)
SetColorEditOptions: function(flags: ImGuiColorEditFlags_)
SetColumnOffset: function(column_index: number,offset_x: number)
SetColumnWidth: function(column_index: number,width: number)
SetCurrentContext: function(ctx: any)
SetCursorPos: function(local_pos_x: number,local_pos_y: number)
SetCursorPosX: function(local_x: number)
SetCursorPosY: function(local_y: number)
SetCursorScreenPos: function(pos_x: number,pos_y: number)
SetItemAllowOverlap: function()
SetItemDefaultFocus: function()
SetKeyboardFocusHere: function(offset: number)
SetMouseCursor: function(cursor_type: ImGuiMouseCursor_)
SetNextItemOpen: function(is_open: boolean,cond: ImGuiCond_)
SetNextItemWidth: function(item_width: number)
SetNextWindowBgAlpha: function(alpha: number)
SetNextWindowCollapsed: function(collapsed: boolean,cond: ImGuiCond_)
SetNextWindowContentSize: function(size_x: number,size_y: number)
SetNextWindowDockID: function(dock_id: number,cond: ImGuiCond_)
SetNextWindowFocus: function()
SetNextWindowPos: function(pos_x: number,pos_y: number,cond: ImGuiCond_,pivot_x: number,pivot_y: number)
SetNextWindowSize: function(size_x: number,size_y: number,cond: ImGuiCond_)
SetNextWindowViewport: function(viewport_id: number)
SetScrollFromPosX: function(local_x: number,center_x_ratio: number)
SetScrollFromPosY: function(local_y: number,center_y_ratio: number)
SetScrollHereX: function(center_x_ratio: number)
SetScrollHereY: function(center_y_ratio: number)
SetScrollX: function(scroll_x: number)
SetScrollY: function(scroll_y: number)
SetTabItemClosed: function(tab_or_docked_window_label: string)
SetTooltip: function(fmt: string)
SetWindowCollapsed: function(name: string,collapsed: boolean,cond: ImGuiCond_)
SetWindowFocus: function(name: string)
SetWindowFontScale: function(scale: number)
SetWindowPos: function(name: string,pos_x: number,pos_y: number,cond: ImGuiCond_)
SetWindowSize: function(name: string,size_x: number,size_y: number,cond: ImGuiCond_)
ShowAboutWindow: function(p_open: boolean): boolean
ShowDemoWindow: function(p_open: boolean): boolean
ShowFontSelector: function(label: string)
ShowMetricsWindow: function(p_open: boolean): boolean
ShowStyleEditor: function(ref: any)
ShowStyleSelector: function(label: string): boolean
ShowUserGuide: function()
SliderAngle: function(label: string,v_rad: number,v_degrees_min: number,v_degrees_max: number,format: string,flags: ImGuiSliderFlags_): number,boolean
SliderFloat: function(label: string,v: number,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,boolean
SliderFloat2: function(label: string,v: table,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,number,boolean
SliderFloat3: function(label: string,v: table,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,number,number,boolean
SliderFloat4: function(label: string,v: table,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,number,number,number,boolean
SliderInt: function(label: string,v: number,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,boolean
SliderInt2: function(label: string,v: table,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,number,boolean
SliderInt3: function(label: string,v: table,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,number,number,boolean
SliderInt4: function(label: string,v: table,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,number,number,number,boolean
SmallButton: function(label: string): boolean
Spacing: function()
StyleColorsClassic: function(dst: any)
StyleColorsDark: function(dst: any)
StyleColorsLight: function(dst: any)
TabItemButton: function(label: string,flags: ImGuiTabItemFlags_): boolean
TableGetColumnCount: function(): number
TableGetColumnIndex: function(): number
TableGetColumnName: function(column_n: number): number
TableGetRowIndex: function(): number
TableHeader: function(label: string)
TableHeadersRow: function()
TableNextColumn: function(): boolean
TableNextRow: function(row_flags: ImGuiTableRowFlags_,min_row_height: number)
TableSetBgColor: function(target: ImGuiTableBgTarget_,color: number,column_n: number)
TableSetColumnIndex: function(column_n: number): boolean
TableSetupColumn: function(label: string,flags: ImGuiTableColumnFlags_,init_width_or_weight: number,user_id: number)
TableSetupScrollFreeze: function(cols: number,rows: number)
Text: function(fmt: string)
TextColored: function(col_x: number,col_y: number,col_z: number,col_w: number,fmt: string)
TextDisabled: function(fmt: string)
TextUnformatted: function(text: string,text_end: string)
TextWrapped: function(fmt: string)
TreeNode: function(str_id: string,fmt: string): boolean
TreeNodeEx: function(str_id: string,flags: ImGuiTreeNodeFlags_,fmt: string): boolean
TreePop: function()
TreePush: function(str_id: string)
Unindent: function(indent_w: number)
UpdatePlatformWindows: function()
VSliderFloat: function(label: string,size_x: number,size_y: number,v: number,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,boolean
VSliderInt: function(label: string,size_x: number,size_y: number,v: number,v_min: number,v_max: number,format: string,flags: ImGuiSliderFlags_): number,boolean
Value: function(prefix: string,v: number,float_format: string)
--------------
AddBezierCubic: function(p1_x: number,p1_y: number,p2_x: number,p2_y: number,p3_x: number,p3_y: number,p4_x: number,p4_y: number,col: number,thickness: number,num_segments: number)
AddBezierQuadratic: function(p1_x: number,p1_y: number,p2_x: number,p2_y: number,p3_x: number,p3_y: number,col: number,thickness: number,num_segments: number)
AddCircle: function(center_x: number,center_y: number,radius: number,col: number,num_segments: number,thickness: number)
AddCircleFilled: function(center_x: number,center_y: number,radius: number,col: number,num_segments: number)
AddDrawCmd: function()
AddImage: function(user_texture_id: Image_,p_min_x: number,p_min_y: number,p_max_x: number,p_max_y: number,uv_min_x: number,uv_min_y: number,uv_max_x: number,uv_max_y: number,col: number)
AddImageQuad: function(user_texture_id: Image_,p1_x: number,p1_y: number,p2_x: number,p2_y: number,p3_x: number,p3_y: number,p4_x: number,p4_y: number,uv1_x: number,uv1_y: number,uv2_x: number,uv2_y: number,uv3_x: number,uv3_y: number,uv4_x: number,uv4_y: number,col: number)
AddImageRounded: function(user_texture_id: Image_,p_min_x: number,p_min_y: number,p_max_x: number,p_max_y: number,uv_min_x: number,uv_min_y: number,uv_max_x: number,uv_max_y: number,col: number,rounding: number,rounding_corners: ImDrawCornerFlags_)
AddLine: function(p1_x: number,p1_y: number,p2_x: number,p2_y: number,col: number,thickness: number)
AddNgon: function(center_x: number,center_y: number,radius: number,col: number,num_segments: number,thickness: number)
AddNgonFilled: function(center_x: number,center_y: number,radius: number,col: number,num_segments: number)
AddQuad: function(p1_x: number,p1_y: number,p2_x: number,p2_y: number,p3_x: number,p3_y: number,p4_x: number,p4_y: number,col: number,thickness: number)
AddQuadFilled: function(p1_x: number,p1_y: number,p2_x: number,p2_y: number,p3_x: number,p3_y: number,p4_x: number,p4_y: number,col: number)
AddRect: function(p_min_x: number,p_min_y: number,p_max_x: number,p_max_y: number,col: number,rounding: number,rounding_corners: ImDrawCornerFlags_,thickness: number)
AddRectFilled: function(p_min_x: number,p_min_y: number,p_max_x: number,p_max_y: number,col: number,rounding: number,rounding_corners: ImDrawCornerFlags_)
AddRectFilledMultiColor: function(p_min_x: number,p_min_y: number,p_max_x: number,p_max_y: number,col_upr_left: number,col_upr_right: number,col_bot_right: number,col_bot_left: number)
AddText: function(pos_x: number,pos_y: number,col: number,text_begin: string,text_end: string)
AddTriangle: function(p1_x: number,p1_y: number,p2_x: number,p2_y: number,p3_x: number,p3_y: number,col: number,thickness: number)
AddTriangleFilled: function(p1_x: number,p1_y: number,p2_x: number,p2_y: number,p3_x: number,p3_y: number,col: number)
PathArcTo: function(center_x: number,center_y: number,radius: number,a_min: number,a_max: number,num_segments: number)
PathArcToFast: function(center_x: number,center_y: number,radius: number,a_min_of_12: number,a_max_of_12: number)
PathBezierCubicCurveTo: function(p2_x: number,p2_y: number,p3_x: number,p3_y: number,p4_x: number,p4_y: number,num_segments: number)
PathBezierQuadraticCurveTo: function(p2_x: number,p2_y: number,p3_x: number,p3_y: number,num_segments: number)
PathRect: function(rect_min_x: number,rect_min_y: number,rect_max_x: number,rect_max_y: number,rounding: number,rounding_corners: ImDrawCornerFlags_)
PopClipRect: function()
PopTextureID: function()
PrimRect: function(a_x: number,a_y: number,b_x: number,b_y: number,col: number)
PrimReserve: function(idx_count: number,vtx_count: number)
PrimUnreserve: function(idx_count: number,vtx_count: number)
PushClipRect: function(clip_rect_min_x: number,clip_rect_min_y: number,clip_rect_max_x: number,clip_rect_max_y: number,intersect_with_current_clip_rect: boolean)
PushClipRectFullScreen: function()
PushTextureID: function(texture_id: Image_)
_ClearFreeMemory: function()
_OnChangedClipRect: function()
_OnChangedTextureID: function()
_OnChangedVtxOffset: function()
_PopUnusedDrawCmd: function()
_ResetForNewFrame: function()
--------------
end
return imgui