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
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
1001
1002
1003
1004
1005
1006
1007
1008
1009
1010
1011
1012
1013
1014
1015
1016
1017
1018
1019
1020
1021
1022
1023
1024
1025
1026
1027
1028
1029
1030
1031
1032
1033
1034
1035
1036
1037
1038
1039
1040
1041
1042
1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
1054
1055
1056
1057
1058
1059
1060
1061
1062
1063
1064
1065
1066
1067
1068
1069
1070
1071
1072
1073
1074
1075
1076
1077
1078
1079
1080
1081
1082
1083
1084
1085
1086
1087
1088
1089
1090
1091
1092
1093
1094
1095
1096
1097
1098
1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
1109
1110
1111
1112
1113
1114
1115
1116
1117
1118
1119
1120
1121
1122
1123
1124
1125
1126
1127
1128
1129
1130
1131
1132
1133
1134
1135
1136
1137
1138
1139
1140
1141
1142
1143
1144
1145
1146
1147
1148
1149
1150
1151
1152
1153
1154
1155
1156
1157
1158
1159
1160
1161
1162
1163
1164
1165
1166
1167
1168
1169
1170
1171
1172
1173
1174
1175
1176
1177
1178
1179
1180
1181
1182
1183
1184
1185
1186
1187
1188
1189
1190
1191
1192
1193
1194
1195
1196
1197
1198
1199
1200
1201
1202
1203
1204
1205
1206
1207
1208
1209
1210
1211
1212
1213
1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227
1228
1229
1230
1231
1232
1233
1234
1235
1236
1237
1238
1239
1240
1241
1242
1243
1244
1245
1246
1247
1248
1249
1250
1251
1252
1253
1254
1255
1256
1257
1258
1259
1260
1261
1262
1263
1264
1265
1266
1267
1268
1269
1270
1271
1272
1273
1274
1275
1276
1277
1278
1279
1280
1281
1282
1283
1284
1285
1286
1287
1288
1289
1290
1291
1292
1293
1294
1295
1296
1297
1298
1299
1300
1301
1302
1303
1304
1305
1306
1307
1308
1309
1310
1311
1312
1313
1314
1315
1316
1317
1318
1319
1320
1321
1322
1323
1324
1325
1326
1327
1328
1329
1330
1331
1332
1333
1334
1335
1336
1337
1338
1339
1340
1341
1342
1343
1344
1345
1346
1347
1348
1349
1350
1351
1352
1353
1354
1355
1356
1357
1358
1359
1360
1361
1362
1363
1364
1365
1366
1367
1368
1369
1370
1371
1372
1373
1374
1375
1376
1377
1378
1379
1380
1381
1382
1383
1384
1385
1386
1387
1388
1389
1390
1391
1392
1393
1394
1395
1396
1397
1398
1399
1400
1401
1402
1403
1404
1405
1406
1407
1408
1409
1410
1411
1412
1413
1414
1415
1416
1417
1418
1419
1420
1421
1422
1423
1424
1425
1426
1427
1428
1429
1430
1431
1432
1433
1434
1435
1436
1437
1438
1439
1440
1441
1442
1443
1444
1445
1446
1447
1448
1449
1450
1451
1452
1453
1454
1455
1456
1457
1458
1459
1460
1461
1462
1463
1464
1465
1466
1467
1468
1469
1470
1471
1472
1473
1474
1475
1476
1477
1478
1479
1480
1481
1482
1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
1494
1495
1496
1497
1498
1499
1500
1501
1502
1503
1504
1505
1506
1507
1508
1509
1510
1511
1512
1513
1514
1515
1516
1517
1518
1519
1520
1521
1522
1523
1524
1525
1526
1527
1528
1529
1530
1531
1532
1533
1534
1535
1536
1537
1538
1539
1540
1541
1542
1543
1544
1545
1546
1547
1548
1549
1550
1551
1552
1553
1554
1555
1556
1557
1558
1559
1560
1561
1562
1563
1564
1565
1566
1567
1568
1569
1570
1571
1572
1573
1574
1575
1576
1577
1578
1579
1580
1581
1582
1583
1584
1585
1586
1587
1588
1589
1590
1591
1592
1593
1594
1595
1596
1597
1598
1599
1600
1601
1602
1603
1604
1605
1606
1607
1608
1609
1610
1611
1612
1613
1614
1615
1616
1617
1618
1619
1620
1621
1622
1623
1624
1625
1626
1627
1628
1629
1630
1631
1632
1633
1634
1635
1636
1637
1638
1639
1640
1641
1642
1643
1644
1645
1646
1647
1648
1649
1650
1651
1652
1653
1654
1655
1656
1657
1658
1659
1660
1661
1662
1663
1664
1665
1666
1667
1668
1669
1670
1671
1672
1673
1674
1675
1676
1677
1678
1679
1680
1681
1682
1683
1684
1685
1686
1687
1688
1689
1690
1691
1692
1693
1694
1695
1696
1697
1698
1699
1700
1701
1702
1703
1704
1705
1706
1707
1708
1709
1710
1711
1712
1713
1714
1715
1716
1717
1718
1719
1720
1721
1722
1723
1724
1725
1726
1727
1728
1729
1730
1731
1732
1733
1734
1735
1736
1737
1738
1739
1740
1741
1742
1743
1744
1745
1746
1747
1748
1749
1750
1751
1752
1753
1754
1755
1756
1757
1758
1759
1760
1761
1762
1763
1764
1765
1766
1767
1768
1769
1770
1771
1772
1773
1774
1775
1776
1777
1778
1779
1780
1781
1782
1783
1784
1785
1786
1787
1788
1789
1790
1791
1792
1793
1794
1795
1796
1797
1798
1799
1800
1801
1802
1803
1804
1805
1806
1807
1808
1809
1810
1811
1812
1813
1814
1815
1816
1817
1818
1819
1820
1821
1822
1823
1824
1825
1826
1827
1828
1829
1830
1831
1832
1833
1834
1835
1836
1837
1838
1839
1840
1841
1842
1843
1844
1845
1846
1847
1848
1849
1850
1851
1852
1853
1854
1855
1856
1857
1858
1859
1860
1861
1862
1863
1864
1865
1866
1867
1868
1869
1870
1871
1872
1873
1874
1875
1876
1877
1878
1879
1880
1881
1882
1883
1884
1885
1886
1887
1888
1889
1890
1891
1892
1893
1894
1895
1896
1897
1898
1899
1900
1901
1902
1903
1904
1905
1906
1907
1908
1909
1910
1911
1912
1913
1914
1915
1916
1917
1918
1919
1920
1921
1922
1923
1924
1925
1926
1927
1928
1929
1930
1931
1932
1933
1934
1935
1936
1937
1938
1939
1940
1941
1942
1943
1944
1945
1946
1947
1948
1949
1950
1951
1952
1953
1954
1955
1956
1957
1958
1959
1960
1961
1962
1963
1964
1965
1966
1967
1968
1969
1970
1971
1972
1973
1974
1975
1976
1977
1978
1979
1980
1981
1982
1983
1984
1985
1986
1987
1988
1989
1990
1991
1992
1993
1994
1995
1996
1997
1998
1999
2000
2001
2002
2003
2004
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
2027
2028
2029
2030
2031
2032
2033
2034
2035
2036
2037
2038
2039
2040
2041
2042
2043
2044
2045
2046
2047
2048
2049
2050
2051
2052
2053
2054
2055
2056
2057
2058
2059
2060
2061
2062
2063
2064
2065
2066
2067
2068
2069
2070
2071
2072
2073
2074
2075
2076
2077
2078
2079
2080
2081
2082
2083
2084
2085
2086
2087
2088
2089
2090
2091
2092
2093
2094
2095
2096
2097
2098
2099
2100
2101
2102
2103
2104
2105
2106
2107
2108
2109
2110
2111
2112
2113
2114
2115
2116
2117
2118
2119
2120
2121
2122
2123
2124
2125
2126
2127
2128
2129
2130
2131
2132
2133
2134
2135
2136
2137
2138
2139
2140
2141
2142
2143
2144
2145
2146
2147
2148
2149
2150
2151
2152
2153
2154
2155
2156
2157
2158
2159
2160
2161
2162
2163
2164
2165
2166
2167
2168
2169
2170
2171
2172
2173
2174
2175
2176
2177
2178
2179
2180
2181
2182
2183
2184
2185
2186
2187
2188
2189
2190
2191
2192
2193
2194
2195
2196
2197
2198
2199
2200
2201
2202
2203
2204
2205
2206
2207
2208
2209
2210
2211
2212
2213
2214
2215
2216
2217
2218
2219
2220
2221
2222
2223
2224
2225
2226
2227
2228
2229
2230
2231
2232
2233
2234
2235
2236
2237
2238
2239
2240
2241
2242
2243
2244
2245
2246
2247
2248
2249
2250
2251
2252
2253
2254
2255
2256
2257
2258
2259
2260
2261
2262
2263
2264
2265
2266
2267
2268
2269
2270
2271
2272
2273
2274
2275
2276
2277
2278
2279
2280
2281
2282
2283
2284
2285
2286
2287
2288
2289
2290
2291
2292
2293
2294
2295
2296
2297
2298
2299
2300
2301
2302
2303
2304
2305
2306
2307
2308
2309
2310
2311
2312
2313
2314
2315
2316
2317
2318
2319
2320
2321
2322
2323
2324
2325
2326
2327
2328
2329
2330
2331
2332
2333
2334
2335
2336
2337
2338
2339
2340
2341
2342
2343
2344
2345
2346
2347
2348
2349
2350
2351
2352
2353
2354
2355
2356
2357
2358
2359
2360
2361
2362
2363
2364
2365
2366
2367
2368
2369
2370
2371
2372
2373
2374
2375
2376
2377
2378
2379
2380
2381
2382
2383
2384
2385
2386
2387
2388
2389
2390
2391
2392
2393
2394
2395
2396
2397
2398
2399
2400
2401
2402
2403
2404
2405
2406
2407
2408
2409
2410
2411
2412
2413
2414
2415
2416
2417
2418
2419
2420
2421
2422
2423
2424
2425
2426
2427
2428
2429
2430
2431
2432
2433
2434
2435
2436
2437
2438
2439
2440
2441
2442
2443
2444
2445
2446
2447
2448
2449
2450
2451
2452
2453
2454
2455
2456
2457
2458
2459
2460
2461
2462
2463
2464
2465
2466
2467
2468
2469
2470
2471
2472
2473
2474
2475
2476
2477
2478
2479
2480
2481
2482
2483
2484
2485
2486
2487
2488
2489
2490
2491
2492
2493
2494
2495
2496
2497
2498
2499
2500
2501
2502
2503
2504
2505
2506
2507
2508
2509
2510
2511
2512
2513
2514
2515
2516
2517
2518
2519
2520
2521
2522
2523
2524
2525
2526
2527
2528
2529
2530
2531
2532
2533
2534
2535
2536
2537
2538
2539
2540
2541
2542
2543
2544
2545
2546
2547
2548
2549
2550
2551
2552
2553
2554
2555
2556
2557
2558
2559
2560
2561
2562
2563
2564
2565
2566
2567
2568
2569
2570
2571
2572
2573
2574
2575
2576
2577
2578
2579
2580
2581
2582
2583
2584
2585
2586
2587
2588
2589
2590
2591
2592
2593
2594
2595
2596
2597
2598
2599
2600
2601
2602
2603
2604
2605
2606
2607
2608
2609
2610
2611
2612
2613
2614
2615
2616
2617
2618
2619
2620
2621
2622
2623
2624
2625
2626
2627
2628
2629
2630
2631
2632
2633
2634
2635
2636
2637
2638
2639
2640
2641
2642
2643
2644
2645
2646
2647
2648
2649
2650
2651
2652
2653
2654
2655
2656
2657
2658
2659
2660
2661
2662
2663
2664
2665
2666
2667
2668
2669
2670
2671
2672
2673
2674
2675
2676
2677
2678
2679
2680
2681
2682
2683
2684
2685
2686
2687
2688
2689
2690
2691
2692
2693
2694
2695
2696
2697
2698
2699
2700
2701
2702
2703
2704
2705
2706
2707
2708
2709
2710
2711
2712
2713
2714
2715
2716
2717
2718
2719
2720
2721
2722
2723
2724
2725
2726
2727
2728
2729
2730
2731
2732
2733
2734
2735
2736
2737
2738
2739
2740
2741
2742
2743
2744
2745
2746
2747
2748
2749
2750
2751
2752
2753
2754
2755
2756
2757
2758
2759
2760
2761
2762
2763
2764
2765
2766
2767
2768
2769
2770
2771
2772
2773
2774
2775
2776
2777
2778
2779
2780
2781
2782
2783
2784
2785
2786
2787
2788
2789
2790
2791
2792
2793
2794
2795
2796
2797
2798
2799
2800
2801
2802
2803
2804
2805
2806
2807
2808
2809
2810
2811
2812
2813
2814
2815
2816
2817
2818
2819
2820
2821
2822
2823
2824
2825
2826
2827
2828
2829
2830
2831
2832
2833
2834
2835
2836
2837
2838
2839
2840
2841
2842
2843
2844
2845
2846
2847
2848
2849
2850
2851
2852
2853
2854
2855
2856
2857
2858
2859
2860
2861
2862
2863
2864
2865
2866
2867
2868
2869
2870
2871
2872
2873
2874
2875
2876
2877
2878
2879
2880
2881
2882
2883
2884
2885
2886
2887
2888
2889
2890
2891
2892
2893
2894
2895
2896
2897
2898
2899
2900
2901
2902
2903
2904
2905
2906
2907
2908
2909
2910
2911
2912
2913
2914
2915
2916
2917
2918
2919
2920
2921
2922
2923
2924
2925
2926
2927
2928
2929
2930
2931
2932
2933
2934
2935
2936
2937
2938
2939
2940
2941
2942
2943
2944
2945
2946
2947
2948
2949
2950
2951
2952
2953
2954
2955
2956
2957
2958
2959
2960
2961
2962
2963
2964
2965
2966
2967
2968
2969
2970
2971
2972
2973
2974
2975
2976
2977
2978
2979
2980
2981
2982
2983
2984
2985
2986
2987
2988
2989
2990
2991
2992
2993
2994
2995
2996
2997
2998
2999
3000
3001
3002
3003
3004
3005
3006
3007
3008
3009
3010
3011
3012
3013
3014
3015
3016
3017
3018
3019
3020
3021
3022
3023
3024
3025
3026
3027
3028
3029
3030
3031
3032
3033
3034
3035
3036
3037
3038
3039
3040
3041
3042
3043
3044
3045
3046
3047
3048
3049
3050
3051
3052
3053
3054
3055
3056
3057
3058
3059
3060
3061
3062
3063
3064
3065
3066
3067
3068
3069
3070
3071
3072
3073
3074
3075
3076
3077
3078
3079
3080
3081
3082
3083
3084
3085
3086
3087
3088
3089
3090
3091
3092
3093
3094
3095
3096
3097
3098
3099
3100
3101
3102
3103
3104
3105
3106
3107
3108
3109
3110
3111
3112
3113
3114
3115
3116
3117
3118
3119
3120
3121
3122
3123
3124
3125
3126
3127
3128
3129
3130
3131
3132
3133
3134
3135
3136
3137
3138
3139
3140
3141
3142
3143
3144
3145
3146
3147
3148
3149
3150
3151
3152
3153
3154
3155
3156
3157
3158
3159
3160
3161
3162
3163
3164
3165
3166
3167
3168
3169
3170
3171
3172
3173
3174
3175
3176
3177
3178
3179
3180
3181
3182
3183
3184
3185
3186
3187
3188
3189
3190
3191
3192
3193
3194
3195
3196
3197
3198
3199
3200
3201
3202
3203
3204
3205
3206
3207
3208
3209
3210
3211
3212
3213
3214
3215
3216
3217
3218
3219
3220
3221
3222
3223
3224
3225
3226
3227
3228
3229
3230
3231
3232
3233
3234
3235
3236
3237
3238
3239
3240
3241
3242
3243
3244
3245
3246
3247
3248
3249
3250
3251
3252
3253
3254
3255
3256
3257
3258
3259
3260
3261
3262
3263
3264
3265
3266
3267
3268
3269
3270
3271
3272
3273
3274
3275
3276
3277
3278
3279
3280
3281
3282
3283
3284
3285
3286
3287
3288
3289
3290
3291
3292
3293
3294
3295
3296
3297
3298
3299
3300
3301
3302
3303
3304
3305
3306
3307
3308
3309
3310
3311
3312
3313
3314
3315
3316
3317
3318
3319
3320
3321
3322
3323
3324
3325
3326
3327
3328
3329
3330
3331
3332
3333
3334
3335
3336
3337
3338
3339
3340
3341
3342
3343
3344
3345
3346
3347
3348
3349
3350
3351
3352
3353
3354
3355
3356
3357
3358
3359
3360
3361
3362
3363
3364
3365
3366
3367
3368
3369
3370
3371
3372
3373
3374
3375
3376
3377
3378
3379
3380
3381
3382
3383
3384
3385
3386
3387
3388
3389
3390
3391
3392
3393
3394
3395
3396
3397
3398
3399
3400
3401
3402
3403
3404
3405
3406
3407
3408
3409
3410
3411
3412
3413
3414
3415
3416
3417
3418
3419
3420
3421
3422
3423
3424
3425
3426
3427
3428
3429
3430
3431
3432
3433
3434
3435
3436
3437
3438
3439
3440
3441
3442
3443
3444
3445
3446
3447
3448
3449
3450
3451
3452
3453
3454
3455
3456
3457
3458
3459
3460
3461
3462
3463
3464
3465
3466
3467
3468
3469
3470
3471
3472
3473
3474
3475
3476
3477
3478
3479
3480
3481
3482
3483
3484
3485
3486
3487
3488
3489
3490
3491
3492
3493
3494
3495
3496
3497
3498
3499
3500
3501
3502
3503
3504
3505
3506
3507
3508
3509
3510
3511
3512
3513
3514
3515
3516
3517
3518
3519
3520
3521
3522
3523
3524
3525
3526
3527
3528
3529
3530
3531
3532
3533
3534
3535
3536
3537
3538
3539
3540
3541
3542
3543
3544
3545
3546
3547
3548
3549
3550
3551
3552
3553
3554
3555
3556
3557
3558
3559
3560
3561
3562
3563
3564
3565
3566
3567
3568
3569
3570
3571
3572
3573
3574
3575
3576
3577
3578
3579
3580
3581
3582
3583
3584
3585
3586
3587
3588
3589
3590
3591
3592
3593
3594
3595
3596
3597
3598
3599
3600
3601
3602
3603
3604
3605
3606
3607
3608
3609
3610
3611
3612
3613
3614
3615
3616
3617
3618
3619
3620
3621
3622
3623
3624
3625
3626
3627
3628
3629
3630
3631
3632
3633
3634
3635
3636
3637
3638
3639
3640
3641
3642
3643
3644
3645
3646
3647
3648
3649
3650
3651
3652
3653
3654
3655
3656
3657
3658
3659
3660
3661
3662
3663
3664
3665
3666
3667
3668
3669
3670
3671
3672
3673
3674
3675
3676
3677
3678
3679
3680
3681
3682
3683
3684
3685
3686
3687
3688
3689
3690
3691
3692
3693
3694
3695
3696
3697
3698
3699
3700
3701
3702
3703
3704
3705
3706
3707
3708
3709
3710
3711
3712
3713
3714
3715
3716
3717
3718
3719
3720
3721
3722
3723
3724
3725
3726
3727
3728
3729
3730
3731
3732
3733
3734
3735
3736
3737
3738
3739
3740
3741
3742
3743
3744
3745
3746
3747
3748
3749
3750
3751
3752
3753
3754
3755
3756
3757
3758
3759
3760
3761
3762
3763
3764
3765
3766
3767
3768
3769
3770
3771
3772
3773
3774
3775
3776
3777
3778
3779
3780
3781
3782
3783
3784
3785
3786
3787
3788
3789
3790
3791
3792
3793
3794
3795
3796
3797
3798
3799
3800
3801
3802
3803
3804
3805
3806
3807
3808
3809
3810
3811
3812
3813
3814
3815
3816
3817
3818
3819
3820
3821
3822
3823
3824
3825
3826
3827
3828
3829
3830
3831
3832
3833
3834
3835
3836
3837
3838
3839
3840
3841
3842
3843
3844
3845
3846
3847
3848
3849
3850
3851
3852
3853
3854
3855
3856
3857
3858
3859
3860
3861
3862
3863
3864
3865
3866
3867
3868
3869
3870
3871
3872
3873
3874
3875
3876
3877
3878
3879
3880
3881
3882
3883
3884
3885
3886
3887
3888
3889
3890
3891
3892
3893
3894
3895
3896
3897
3898
3899
3900
3901
3902
3903
3904
3905
3906
3907
3908
3909
3910
3911
3912
3913
3914
3915
3916
3917
3918
3919
3920
3921
3922
3923
3924
3925
3926
3927
3928
3929
3930
3931
3932
3933
3934
3935
3936
3937
3938
3939
3940
3941
3942
3943
3944
3945
3946
3947
3948
3949
3950
3951
3952
3953
3954
3955
3956
3957
3958
3959
3960
3961
3962
3963
3964
3965
3966
3967
3968
3969
3970
3971
3972
3973
3974
3975
3976
3977
3978
3979
3980
3981
3982
3983
3984
3985
3986
3987
3988
3989
3990
3991
3992
3993
3994
3995
3996
3997
3998
3999
4000
4001
4002
4003
4004
4005
4006
4007
4008
4009
4010
4011
4012
4013
4014
4015
4016
4017
4018
4019
4020
4021
4022
4023
4024
4025
4026
4027
4028
4029
4030
4031
4032
4033
4034
4035
4036
4037
4038
4039
4040
4041
4042
4043
4044
4045
4046
4047
4048
4049
4050
4051
4052
4053
4054
4055
4056
4057
4058
4059
4060
4061
4062
4063
4064
4065
4066
4067
4068
4069
4070
4071
4072
4073
4074
4075
4076
4077
4078
4079
4080
4081
4082
4083
4084
4085
4086
4087
4088
4089
4090
4091
4092
4093
4094
4095
4096
4097
4098
4099
4100
4101
4102
4103
4104
4105
4106
4107
4108
4109
4110
4111
4112
4113
4114
4115
4116
4117
4118
4119
4120
4121
4122
4123
4124
4125
4126
4127
4128
4129
4130
4131
4132
4133
4134
4135
4136
4137
4138
4139
4140
4141
4142
4143
4144
4145
4146
4147
4148
4149
4150
4151
4152
4153
4154
4155
4156
4157
4158
4159
4160
4161
4162
4163
4164
4165
4166
4167
4168
4169
4170
4171
4172
4173
4174
4175
4176
4177
4178
4179
4180
4181
4182
4183
4184
4185
4186
4187
4188
4189
4190
4191
4192
4193
4194
4195
4196
4197
4198
4199
4200
4201
4202
4203
4204
4205
4206
4207
4208
4209
4210
4211
4212
4213
4214
4215
4216
4217
4218
4219
4220
4221
4222
4223
4224
4225
4226
4227
4228
4229
4230
4231
4232
4233
4234
4235
4236
4237
4238
4239
4240
4241
4242
4243
4244
4245
4246
4247
4248
4249
4250
4251
4252
4253
4254
4255
4256
4257
4258
4259
4260
4261
4262
4263
4264
4265
4266
4267
4268
4269
4270
4271
4272
4273
4274
4275
4276
4277
4278
4279
4280
4281
4282
4283
4284
4285
4286
4287
4288
4289
4290
4291
4292
4293
4294
4295
4296
4297
4298
4299
4300
4301
4302
4303
4304
4305
4306
4307
4308
4309
4310
4311
4312
4313
4314
4315
4316
4317
4318
4319
4320
4321
4322
4323
4324
4325
4326
4327
4328
4329
4330
4331
4332
4333
4334
4335
4336
4337
4338
4339
4340
4341
4342
4343
4344
4345
4346
4347
4348
4349
4350
4351
4352
4353
4354
4355
4356
4357
4358
4359
4360
4361
4362
4363
4364
4365
4366
4367
4368
4369
4370
4371
4372
4373
4374
4375
4376
4377
4378
4379
4380
4381
4382
4383
4384
4385
4386
4387
4388
4389
4390
4391
4392
4393
4394
4395
4396
4397
4398
4399
4400
4401
4402
4403
4404
4405
4406
4407
4408
4409
4410
4411
4412
4413
4414
4415
4416
4417
4418
4419
4420
4421
4422
4423
4424
4425
4426
4427
4428
4429
4430
4431
4432
4433
4434
4435
4436
4437
4438
4439
4440
4441
4442
4443
4444
4445
4446
4447
4448
4449
4450
4451
4452
4453
4454
4455
4456
4457
4458
4459
4460
4461
4462
4463
4464
4465
4466
4467
4468
4469
4470
4471
4472
4473
4474
4475
4476
4477
4478
4479
4480
4481
4482
4483
4484
4485
4486
4487
4488
4489
4490
4491
4492
4493
4494
4495
4496
4497
4498
4499
4500
4501
4502
4503
4504
4505
4506
4507
4508
4509
4510
4511
4512
4513
4514
4515
4516
4517
4518
4519
4520
4521
4522
4523
4524
4525
4526
4527
4528
4529
4530
4531
4532
4533
4534
4535
4536
4537
4538
4539
4540
4541
4542
4543
4544
4545
4546
4547
4548
4549
4550
4551
4552
4553
4554
4555
4556
4557
4558
4559
4560
4561
4562
4563
4564
4565
4566
4567
4568
4569
4570
4571
4572
4573
4574
4575
4576
4577
4578
4579
4580
4581
4582
4583
4584
4585
4586
4587
4588
4589
4590
4591
4592
4593
4594
4595
4596
4597
4598
4599
4600
4601
4602
4603
4604
4605
4606
4607
4608
4609
4610
4611
4612
4613
4614
4615
4616
4617
4618
4619
4620
4621
4622
4623
4624
4625
4626
4627
4628
4629
4630
4631
4632
4633
4634
4635
4636
4637
4638
4639
4640
4641
4642
4643
4644
4645
4646
4647
4648
4649
4650
4651
4652
4653
4654
4655
4656
4657
4658
4659
4660
4661
4662
4663
4664
4665
4666
4667
4668
4669
4670
4671
4672
4673
4674
4675
4676
4677
4678
4679
4680
4681
4682
4683
4684
4685
4686
4687
4688
4689
4690
4691
4692
4693
4694
4695
4696
4697
4698
4699
4700
4701
4702
#![allow(nonstandard_style, clippy::all)]
#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage> {
storage: Storage,
}
impl<Storage> __BindgenBitfieldUnit<Storage> {
#[inline]
pub const fn new(storage: Storage) -> Self {
Self { storage }
}
}
impl<Storage> __BindgenBitfieldUnit<Storage>
where
Storage: AsRef<[u8]> + AsMut<[u8]>,
{
#[inline]
pub fn get_bit(&self, index: usize) -> bool {
debug_assert!(index / 8 < self.storage.as_ref().len());
let byte_index = index / 8;
let byte = self.storage.as_ref()[byte_index];
let bit_index = if cfg!(target_endian = "big") {
7 - (index % 8)
} else {
index % 8
};
let mask = 1 << bit_index;
byte & mask == mask
}
#[inline]
pub fn set_bit(&mut self, index: usize, val: bool) {
debug_assert!(index / 8 < self.storage.as_ref().len());
let byte_index = index / 8;
let byte = &mut self.storage.as_mut()[byte_index];
let bit_index = if cfg!(target_endian = "big") {
7 - (index % 8)
} else {
index % 8
};
let mask = 1 << bit_index;
if val {
*byte |= mask;
} else {
*byte &= !mask;
}
}
#[inline]
pub fn get(&self, bit_offset: usize, bit_width: u8) -> u64 {
debug_assert!(bit_width <= 64);
debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
let mut val = 0;
for i in 0..(bit_width as usize) {
if self.get_bit(i + bit_offset) {
let index = if cfg!(target_endian = "big") {
bit_width as usize - 1 - i
} else {
i
};
val |= 1 << index;
}
}
val
}
#[inline]
pub fn set(&mut self, bit_offset: usize, bit_width: u8, val: u64) {
debug_assert!(bit_width <= 64);
debug_assert!(bit_offset / 8 < self.storage.as_ref().len());
debug_assert!((bit_offset + (bit_width as usize)) / 8 <= self.storage.as_ref().len());
for i in 0..(bit_width as usize) {
let mask = 1 << i;
let val_bit_is_set = val & mask == mask;
let index = if cfg!(target_endian = "big") {
bit_width as usize - 1 - i
} else {
i
};
self.set_bit(index + bit_offset, val_bit_is_set);
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ImDrawListSharedData {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ImFontBuilderIO {
_unused: [u8; 0],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct ImGuiContext {
_unused: [u8; 0],
}
pub type ImGuiCol = cty::c_int;
pub type ImGuiCond = cty::c_int;
pub type ImGuiDataType = cty::c_int;
pub type ImGuiDir = cty::c_int;
pub type ImGuiMouseButton = cty::c_int;
pub type ImGuiMouseCursor = cty::c_int;
pub type ImGuiSortDirection = cty::c_int;
pub type ImGuiStyleVar = cty::c_int;
pub type ImGuiTableBgTarget = cty::c_int;
pub type ImDrawFlags = cty::c_int;
pub type ImDrawListFlags = cty::c_int;
pub type ImFontAtlasFlags = cty::c_int;
pub type ImGuiBackendFlags = cty::c_int;
pub type ImGuiButtonFlags = cty::c_int;
pub type ImGuiColorEditFlags = cty::c_int;
pub type ImGuiConfigFlags = cty::c_int;
pub type ImGuiComboFlags = cty::c_int;
pub type ImGuiDragDropFlags = cty::c_int;
pub type ImGuiFocusedFlags = cty::c_int;
pub type ImGuiHoveredFlags = cty::c_int;
pub type ImGuiInputTextFlags = cty::c_int;
pub type ImGuiKeyChord = cty::c_int;
pub type ImGuiPopupFlags = cty::c_int;
pub type ImGuiSelectableFlags = cty::c_int;
pub type ImGuiSliderFlags = cty::c_int;
pub type ImGuiTabBarFlags = cty::c_int;
pub type ImGuiTabItemFlags = cty::c_int;
pub type ImGuiTableFlags = cty::c_int;
pub type ImGuiTableColumnFlags = cty::c_int;
pub type ImGuiTableRowFlags = cty::c_int;
pub type ImGuiTreeNodeFlags = cty::c_int;
pub type ImGuiViewportFlags = cty::c_int;
pub type ImGuiWindowFlags = cty::c_int;
pub type ImTextureID = *mut cty::c_void;
pub type ImDrawIdx = cty::c_ushort;
pub type ImGuiID = cty::c_uint;
pub type ImS8 = cty::c_schar;
pub type ImU8 = cty::c_uchar;
pub type ImS16 = cty::c_short;
pub type ImU16 = cty::c_ushort;
pub type ImU32 = cty::c_uint;
pub type ImWchar16 = cty::c_ushort;
pub type ImWchar32 = cty::c_uint;
pub type ImWchar = ImWchar32;
pub type ImGuiInputTextCallback = ::core::option::Option<
unsafe extern "C" fn(data: *mut ImGuiInputTextCallbackData) -> cty::c_int,
>;
pub type ImGuiSizeCallback =
::core::option::Option<unsafe extern "C" fn(data: *mut ImGuiSizeCallbackData)>;
pub type ImGuiMemAllocFunc = ::core::option::Option<
unsafe extern "C" fn(sz: usize, user_data: *mut cty::c_void) -> *mut cty::c_void,
>;
pub type ImGuiMemFreeFunc = ::core::option::Option<
unsafe extern "C" fn(ptr: *mut cty::c_void, user_data: *mut cty::c_void),
>;
#[repr(C)]
#[derive(Debug, Default, Copy, Clone, PartialEq)]
pub struct ImVec2 {
pub x: f32,
pub y: f32,
}
#[repr(C)]
#[derive(Debug, Default, Copy, Clone, PartialEq)]
pub struct ImVec4 {
pub x: f32,
pub y: f32,
pub z: f32,
pub w: f32,
}
pub const ImGuiWindowFlags_None: ImGuiWindowFlags_ = 0;
pub const ImGuiWindowFlags_NoTitleBar: ImGuiWindowFlags_ = 1;
pub const ImGuiWindowFlags_NoResize: ImGuiWindowFlags_ = 2;
pub const ImGuiWindowFlags_NoMove: ImGuiWindowFlags_ = 4;
pub const ImGuiWindowFlags_NoScrollbar: ImGuiWindowFlags_ = 8;
pub const ImGuiWindowFlags_NoScrollWithMouse: ImGuiWindowFlags_ = 16;
pub const ImGuiWindowFlags_NoCollapse: ImGuiWindowFlags_ = 32;
pub const ImGuiWindowFlags_AlwaysAutoResize: ImGuiWindowFlags_ = 64;
pub const ImGuiWindowFlags_NoBackground: ImGuiWindowFlags_ = 128;
pub const ImGuiWindowFlags_NoSavedSettings: ImGuiWindowFlags_ = 256;
pub const ImGuiWindowFlags_NoMouseInputs: ImGuiWindowFlags_ = 512;
pub const ImGuiWindowFlags_MenuBar: ImGuiWindowFlags_ = 1024;
pub const ImGuiWindowFlags_HorizontalScrollbar: ImGuiWindowFlags_ = 2048;
pub const ImGuiWindowFlags_NoFocusOnAppearing: ImGuiWindowFlags_ = 4096;
pub const ImGuiWindowFlags_NoBringToFrontOnFocus: ImGuiWindowFlags_ = 8192;
pub const ImGuiWindowFlags_AlwaysVerticalScrollbar: ImGuiWindowFlags_ = 16384;
pub const ImGuiWindowFlags_AlwaysHorizontalScrollbar: ImGuiWindowFlags_ = 32768;
pub const ImGuiWindowFlags_AlwaysUseWindowPadding: ImGuiWindowFlags_ = 65536;
pub const ImGuiWindowFlags_NoNavInputs: ImGuiWindowFlags_ = 262144;
pub const ImGuiWindowFlags_NoNavFocus: ImGuiWindowFlags_ = 524288;
pub const ImGuiWindowFlags_UnsavedDocument: ImGuiWindowFlags_ = 1048576;
pub const ImGuiWindowFlags_NoNav: ImGuiWindowFlags_ = 786432;
pub const ImGuiWindowFlags_NoDecoration: ImGuiWindowFlags_ = 43;
pub const ImGuiWindowFlags_NoInputs: ImGuiWindowFlags_ = 786944;
pub const ImGuiWindowFlags_NavFlattened: ImGuiWindowFlags_ = 8388608;
pub const ImGuiWindowFlags_ChildWindow: ImGuiWindowFlags_ = 16777216;
pub const ImGuiWindowFlags_Tooltip: ImGuiWindowFlags_ = 33554432;
pub const ImGuiWindowFlags_Popup: ImGuiWindowFlags_ = 67108864;
pub const ImGuiWindowFlags_Modal: ImGuiWindowFlags_ = 134217728;
pub const ImGuiWindowFlags_ChildMenu: ImGuiWindowFlags_ = 268435456;
pub type ImGuiWindowFlags_ = cty::c_uint;
pub const ImGuiInputTextFlags_None: ImGuiInputTextFlags_ = 0;
pub const ImGuiInputTextFlags_CharsDecimal: ImGuiInputTextFlags_ = 1;
pub const ImGuiInputTextFlags_CharsHexadecimal: ImGuiInputTextFlags_ = 2;
pub const ImGuiInputTextFlags_CharsUppercase: ImGuiInputTextFlags_ = 4;
pub const ImGuiInputTextFlags_CharsNoBlank: ImGuiInputTextFlags_ = 8;
pub const ImGuiInputTextFlags_AutoSelectAll: ImGuiInputTextFlags_ = 16;
pub const ImGuiInputTextFlags_EnterReturnsTrue: ImGuiInputTextFlags_ = 32;
pub const ImGuiInputTextFlags_CallbackCompletion: ImGuiInputTextFlags_ = 64;
pub const ImGuiInputTextFlags_CallbackHistory: ImGuiInputTextFlags_ = 128;
pub const ImGuiInputTextFlags_CallbackAlways: ImGuiInputTextFlags_ = 256;
pub const ImGuiInputTextFlags_CallbackCharFilter: ImGuiInputTextFlags_ = 512;
pub const ImGuiInputTextFlags_AllowTabInput: ImGuiInputTextFlags_ = 1024;
pub const ImGuiInputTextFlags_CtrlEnterForNewLine: ImGuiInputTextFlags_ = 2048;
pub const ImGuiInputTextFlags_NoHorizontalScroll: ImGuiInputTextFlags_ = 4096;
pub const ImGuiInputTextFlags_AlwaysOverwrite: ImGuiInputTextFlags_ = 8192;
pub const ImGuiInputTextFlags_ReadOnly: ImGuiInputTextFlags_ = 16384;
pub const ImGuiInputTextFlags_Password: ImGuiInputTextFlags_ = 32768;
pub const ImGuiInputTextFlags_NoUndoRedo: ImGuiInputTextFlags_ = 65536;
pub const ImGuiInputTextFlags_CharsScientific: ImGuiInputTextFlags_ = 131072;
pub const ImGuiInputTextFlags_CallbackResize: ImGuiInputTextFlags_ = 262144;
pub const ImGuiInputTextFlags_CallbackEdit: ImGuiInputTextFlags_ = 524288;
pub const ImGuiInputTextFlags_EscapeClearsAll: ImGuiInputTextFlags_ = 1048576;
pub type ImGuiInputTextFlags_ = cty::c_uint;
pub const ImGuiTreeNodeFlags_None: ImGuiTreeNodeFlags_ = 0;
pub const ImGuiTreeNodeFlags_Selected: ImGuiTreeNodeFlags_ = 1;
pub const ImGuiTreeNodeFlags_Framed: ImGuiTreeNodeFlags_ = 2;
pub const ImGuiTreeNodeFlags_AllowItemOverlap: ImGuiTreeNodeFlags_ = 4;
pub const ImGuiTreeNodeFlags_NoTreePushOnOpen: ImGuiTreeNodeFlags_ = 8;
pub const ImGuiTreeNodeFlags_NoAutoOpenOnLog: ImGuiTreeNodeFlags_ = 16;
pub const ImGuiTreeNodeFlags_DefaultOpen: ImGuiTreeNodeFlags_ = 32;
pub const ImGuiTreeNodeFlags_OpenOnDoubleClick: ImGuiTreeNodeFlags_ = 64;
pub const ImGuiTreeNodeFlags_OpenOnArrow: ImGuiTreeNodeFlags_ = 128;
pub const ImGuiTreeNodeFlags_Leaf: ImGuiTreeNodeFlags_ = 256;
pub const ImGuiTreeNodeFlags_Bullet: ImGuiTreeNodeFlags_ = 512;
pub const ImGuiTreeNodeFlags_FramePadding: ImGuiTreeNodeFlags_ = 1024;
pub const ImGuiTreeNodeFlags_SpanAvailWidth: ImGuiTreeNodeFlags_ = 2048;
pub const ImGuiTreeNodeFlags_SpanFullWidth: ImGuiTreeNodeFlags_ = 4096;
pub const ImGuiTreeNodeFlags_NavLeftJumpsBackHere: ImGuiTreeNodeFlags_ = 8192;
pub const ImGuiTreeNodeFlags_CollapsingHeader: ImGuiTreeNodeFlags_ = 26;
pub type ImGuiTreeNodeFlags_ = cty::c_uint;
pub const ImGuiPopupFlags_None: ImGuiPopupFlags_ = 0;
pub const ImGuiPopupFlags_MouseButtonLeft: ImGuiPopupFlags_ = 0;
pub const ImGuiPopupFlags_MouseButtonRight: ImGuiPopupFlags_ = 1;
pub const ImGuiPopupFlags_MouseButtonMiddle: ImGuiPopupFlags_ = 2;
pub const ImGuiPopupFlags_MouseButtonMask_: ImGuiPopupFlags_ = 31;
pub const ImGuiPopupFlags_MouseButtonDefault_: ImGuiPopupFlags_ = 1;
pub const ImGuiPopupFlags_NoOpenOverExistingPopup: ImGuiPopupFlags_ = 32;
pub const ImGuiPopupFlags_NoOpenOverItems: ImGuiPopupFlags_ = 64;
pub const ImGuiPopupFlags_AnyPopupId: ImGuiPopupFlags_ = 128;
pub const ImGuiPopupFlags_AnyPopupLevel: ImGuiPopupFlags_ = 256;
pub const ImGuiPopupFlags_AnyPopup: ImGuiPopupFlags_ = 384;
pub type ImGuiPopupFlags_ = cty::c_uint;
pub const ImGuiSelectableFlags_None: ImGuiSelectableFlags_ = 0;
pub const ImGuiSelectableFlags_DontClosePopups: ImGuiSelectableFlags_ = 1;
pub const ImGuiSelectableFlags_SpanAllColumns: ImGuiSelectableFlags_ = 2;
pub const ImGuiSelectableFlags_AllowDoubleClick: ImGuiSelectableFlags_ = 4;
pub const ImGuiSelectableFlags_Disabled: ImGuiSelectableFlags_ = 8;
pub const ImGuiSelectableFlags_AllowItemOverlap: ImGuiSelectableFlags_ = 16;
pub type ImGuiSelectableFlags_ = cty::c_uint;
pub const ImGuiComboFlags_None: ImGuiComboFlags_ = 0;
pub const ImGuiComboFlags_PopupAlignLeft: ImGuiComboFlags_ = 1;
pub const ImGuiComboFlags_HeightSmall: ImGuiComboFlags_ = 2;
pub const ImGuiComboFlags_HeightRegular: ImGuiComboFlags_ = 4;
pub const ImGuiComboFlags_HeightLarge: ImGuiComboFlags_ = 8;
pub const ImGuiComboFlags_HeightLargest: ImGuiComboFlags_ = 16;
pub const ImGuiComboFlags_NoArrowButton: ImGuiComboFlags_ = 32;
pub const ImGuiComboFlags_NoPreview: ImGuiComboFlags_ = 64;
pub const ImGuiComboFlags_HeightMask_: ImGuiComboFlags_ = 30;
pub type ImGuiComboFlags_ = cty::c_uint;
pub const ImGuiTabBarFlags_None: ImGuiTabBarFlags_ = 0;
pub const ImGuiTabBarFlags_Reorderable: ImGuiTabBarFlags_ = 1;
pub const ImGuiTabBarFlags_AutoSelectNewTabs: ImGuiTabBarFlags_ = 2;
pub const ImGuiTabBarFlags_TabListPopupButton: ImGuiTabBarFlags_ = 4;
pub const ImGuiTabBarFlags_NoCloseWithMiddleMouseButton: ImGuiTabBarFlags_ = 8;
pub const ImGuiTabBarFlags_NoTabListScrollingButtons: ImGuiTabBarFlags_ = 16;
pub const ImGuiTabBarFlags_NoTooltip: ImGuiTabBarFlags_ = 32;
pub const ImGuiTabBarFlags_FittingPolicyResizeDown: ImGuiTabBarFlags_ = 64;
pub const ImGuiTabBarFlags_FittingPolicyScroll: ImGuiTabBarFlags_ = 128;
pub const ImGuiTabBarFlags_FittingPolicyMask_: ImGuiTabBarFlags_ = 192;
pub const ImGuiTabBarFlags_FittingPolicyDefault_: ImGuiTabBarFlags_ = 64;
pub type ImGuiTabBarFlags_ = cty::c_uint;
pub const ImGuiTabItemFlags_None: ImGuiTabItemFlags_ = 0;
pub const ImGuiTabItemFlags_UnsavedDocument: ImGuiTabItemFlags_ = 1;
pub const ImGuiTabItemFlags_SetSelected: ImGuiTabItemFlags_ = 2;
pub const ImGuiTabItemFlags_NoCloseWithMiddleMouseButton: ImGuiTabItemFlags_ = 4;
pub const ImGuiTabItemFlags_NoPushId: ImGuiTabItemFlags_ = 8;
pub const ImGuiTabItemFlags_NoTooltip: ImGuiTabItemFlags_ = 16;
pub const ImGuiTabItemFlags_NoReorder: ImGuiTabItemFlags_ = 32;
pub const ImGuiTabItemFlags_Leading: ImGuiTabItemFlags_ = 64;
pub const ImGuiTabItemFlags_Trailing: ImGuiTabItemFlags_ = 128;
pub type ImGuiTabItemFlags_ = cty::c_uint;
pub const ImGuiTableFlags_None: ImGuiTableFlags_ = 0;
pub const ImGuiTableFlags_Resizable: ImGuiTableFlags_ = 1;
pub const ImGuiTableFlags_Reorderable: ImGuiTableFlags_ = 2;
pub const ImGuiTableFlags_Hideable: ImGuiTableFlags_ = 4;
pub const ImGuiTableFlags_Sortable: ImGuiTableFlags_ = 8;
pub const ImGuiTableFlags_NoSavedSettings: ImGuiTableFlags_ = 16;
pub const ImGuiTableFlags_ContextMenuInBody: ImGuiTableFlags_ = 32;
pub const ImGuiTableFlags_RowBg: ImGuiTableFlags_ = 64;
pub const ImGuiTableFlags_BordersInnerH: ImGuiTableFlags_ = 128;
pub const ImGuiTableFlags_BordersOuterH: ImGuiTableFlags_ = 256;
pub const ImGuiTableFlags_BordersInnerV: ImGuiTableFlags_ = 512;
pub const ImGuiTableFlags_BordersOuterV: ImGuiTableFlags_ = 1024;
pub const ImGuiTableFlags_BordersH: ImGuiTableFlags_ = 384;
pub const ImGuiTableFlags_BordersV: ImGuiTableFlags_ = 1536;
pub const ImGuiTableFlags_BordersInner: ImGuiTableFlags_ = 640;
pub const ImGuiTableFlags_BordersOuter: ImGuiTableFlags_ = 1280;
pub const ImGuiTableFlags_Borders: ImGuiTableFlags_ = 1920;
pub const ImGuiTableFlags_NoBordersInBody: ImGuiTableFlags_ = 2048;
pub const ImGuiTableFlags_NoBordersInBodyUntilResize: ImGuiTableFlags_ = 4096;
pub const ImGuiTableFlags_SizingFixedFit: ImGuiTableFlags_ = 8192;
pub const ImGuiTableFlags_SizingFixedSame: ImGuiTableFlags_ = 16384;
pub const ImGuiTableFlags_SizingStretchProp: ImGuiTableFlags_ = 24576;
pub const ImGuiTableFlags_SizingStretchSame: ImGuiTableFlags_ = 32768;
pub const ImGuiTableFlags_NoHostExtendX: ImGuiTableFlags_ = 65536;
pub const ImGuiTableFlags_NoHostExtendY: ImGuiTableFlags_ = 131072;
pub const ImGuiTableFlags_NoKeepColumnsVisible: ImGuiTableFlags_ = 262144;
pub const ImGuiTableFlags_PreciseWidths: ImGuiTableFlags_ = 524288;
pub const ImGuiTableFlags_NoClip: ImGuiTableFlags_ = 1048576;
pub const ImGuiTableFlags_PadOuterX: ImGuiTableFlags_ = 2097152;
pub const ImGuiTableFlags_NoPadOuterX: ImGuiTableFlags_ = 4194304;
pub const ImGuiTableFlags_NoPadInnerX: ImGuiTableFlags_ = 8388608;
pub const ImGuiTableFlags_ScrollX: ImGuiTableFlags_ = 16777216;
pub const ImGuiTableFlags_ScrollY: ImGuiTableFlags_ = 33554432;
pub const ImGuiTableFlags_SortMulti: ImGuiTableFlags_ = 67108864;
pub const ImGuiTableFlags_SortTristate: ImGuiTableFlags_ = 134217728;
pub const ImGuiTableFlags_SizingMask_: ImGuiTableFlags_ = 57344;
pub type ImGuiTableFlags_ = cty::c_uint;
pub const ImGuiTableColumnFlags_None: ImGuiTableColumnFlags_ = 0;
pub const ImGuiTableColumnFlags_Disabled: ImGuiTableColumnFlags_ = 1;
pub const ImGuiTableColumnFlags_DefaultHide: ImGuiTableColumnFlags_ = 2;
pub const ImGuiTableColumnFlags_DefaultSort: ImGuiTableColumnFlags_ = 4;
pub const ImGuiTableColumnFlags_WidthStretch: ImGuiTableColumnFlags_ = 8;
pub const ImGuiTableColumnFlags_WidthFixed: ImGuiTableColumnFlags_ = 16;
pub const ImGuiTableColumnFlags_NoResize: ImGuiTableColumnFlags_ = 32;
pub const ImGuiTableColumnFlags_NoReorder: ImGuiTableColumnFlags_ = 64;
pub const ImGuiTableColumnFlags_NoHide: ImGuiTableColumnFlags_ = 128;
pub const ImGuiTableColumnFlags_NoClip: ImGuiTableColumnFlags_ = 256;
pub const ImGuiTableColumnFlags_NoSort: ImGuiTableColumnFlags_ = 512;
pub const ImGuiTableColumnFlags_NoSortAscending: ImGuiTableColumnFlags_ = 1024;
pub const ImGuiTableColumnFlags_NoSortDescending: ImGuiTableColumnFlags_ = 2048;
pub const ImGuiTableColumnFlags_NoHeaderLabel: ImGuiTableColumnFlags_ = 4096;
pub const ImGuiTableColumnFlags_NoHeaderWidth: ImGuiTableColumnFlags_ = 8192;
pub const ImGuiTableColumnFlags_PreferSortAscending: ImGuiTableColumnFlags_ = 16384;
pub const ImGuiTableColumnFlags_PreferSortDescending: ImGuiTableColumnFlags_ = 32768;
pub const ImGuiTableColumnFlags_IndentEnable: ImGuiTableColumnFlags_ = 65536;
pub const ImGuiTableColumnFlags_IndentDisable: ImGuiTableColumnFlags_ = 131072;
pub const ImGuiTableColumnFlags_IsEnabled: ImGuiTableColumnFlags_ = 16777216;
pub const ImGuiTableColumnFlags_IsVisible: ImGuiTableColumnFlags_ = 33554432;
pub const ImGuiTableColumnFlags_IsSorted: ImGuiTableColumnFlags_ = 67108864;
pub const ImGuiTableColumnFlags_IsHovered: ImGuiTableColumnFlags_ = 134217728;
pub const ImGuiTableColumnFlags_WidthMask_: ImGuiTableColumnFlags_ = 24;
pub const ImGuiTableColumnFlags_IndentMask_: ImGuiTableColumnFlags_ = 196608;
pub const ImGuiTableColumnFlags_StatusMask_: ImGuiTableColumnFlags_ = 251658240;
pub const ImGuiTableColumnFlags_NoDirectResize_: ImGuiTableColumnFlags_ = 1073741824;
pub type ImGuiTableColumnFlags_ = cty::c_uint;
pub const ImGuiTableRowFlags_None: ImGuiTableRowFlags_ = 0;
pub const ImGuiTableRowFlags_Headers: ImGuiTableRowFlags_ = 1;
pub type ImGuiTableRowFlags_ = cty::c_uint;
pub const ImGuiTableBgTarget_None: ImGuiTableBgTarget_ = 0;
pub const ImGuiTableBgTarget_RowBg0: ImGuiTableBgTarget_ = 1;
pub const ImGuiTableBgTarget_RowBg1: ImGuiTableBgTarget_ = 2;
pub const ImGuiTableBgTarget_CellBg: ImGuiTableBgTarget_ = 3;
pub type ImGuiTableBgTarget_ = cty::c_uint;
pub const ImGuiFocusedFlags_None: ImGuiFocusedFlags_ = 0;
pub const ImGuiFocusedFlags_ChildWindows: ImGuiFocusedFlags_ = 1;
pub const ImGuiFocusedFlags_RootWindow: ImGuiFocusedFlags_ = 2;
pub const ImGuiFocusedFlags_AnyWindow: ImGuiFocusedFlags_ = 4;
pub const ImGuiFocusedFlags_NoPopupHierarchy: ImGuiFocusedFlags_ = 8;
pub const ImGuiFocusedFlags_RootAndChildWindows: ImGuiFocusedFlags_ = 3;
pub type ImGuiFocusedFlags_ = cty::c_uint;
pub const ImGuiHoveredFlags_None: ImGuiHoveredFlags_ = 0;
pub const ImGuiHoveredFlags_ChildWindows: ImGuiHoveredFlags_ = 1;
pub const ImGuiHoveredFlags_RootWindow: ImGuiHoveredFlags_ = 2;
pub const ImGuiHoveredFlags_AnyWindow: ImGuiHoveredFlags_ = 4;
pub const ImGuiHoveredFlags_NoPopupHierarchy: ImGuiHoveredFlags_ = 8;
pub const ImGuiHoveredFlags_AllowWhenBlockedByPopup: ImGuiHoveredFlags_ = 32;
pub const ImGuiHoveredFlags_AllowWhenBlockedByActiveItem: ImGuiHoveredFlags_ = 128;
pub const ImGuiHoveredFlags_AllowWhenOverlapped: ImGuiHoveredFlags_ = 256;
pub const ImGuiHoveredFlags_AllowWhenDisabled: ImGuiHoveredFlags_ = 512;
pub const ImGuiHoveredFlags_NoNavOverride: ImGuiHoveredFlags_ = 1024;
pub const ImGuiHoveredFlags_RectOnly: ImGuiHoveredFlags_ = 416;
pub const ImGuiHoveredFlags_RootAndChildWindows: ImGuiHoveredFlags_ = 3;
pub const ImGuiHoveredFlags_DelayNormal: ImGuiHoveredFlags_ = 2048;
pub const ImGuiHoveredFlags_DelayShort: ImGuiHoveredFlags_ = 4096;
pub const ImGuiHoveredFlags_NoSharedDelay: ImGuiHoveredFlags_ = 8192;
pub type ImGuiHoveredFlags_ = cty::c_uint;
pub const ImGuiDragDropFlags_None: ImGuiDragDropFlags_ = 0;
pub const ImGuiDragDropFlags_SourceNoPreviewTooltip: ImGuiDragDropFlags_ = 1;
pub const ImGuiDragDropFlags_SourceNoDisableHover: ImGuiDragDropFlags_ = 2;
pub const ImGuiDragDropFlags_SourceNoHoldToOpenOthers: ImGuiDragDropFlags_ = 4;
pub const ImGuiDragDropFlags_SourceAllowNullID: ImGuiDragDropFlags_ = 8;
pub const ImGuiDragDropFlags_SourceExtern: ImGuiDragDropFlags_ = 16;
pub const ImGuiDragDropFlags_SourceAutoExpirePayload: ImGuiDragDropFlags_ = 32;
pub const ImGuiDragDropFlags_AcceptBeforeDelivery: ImGuiDragDropFlags_ = 1024;
pub const ImGuiDragDropFlags_AcceptNoDrawDefaultRect: ImGuiDragDropFlags_ = 2048;
pub const ImGuiDragDropFlags_AcceptNoPreviewTooltip: ImGuiDragDropFlags_ = 4096;
pub const ImGuiDragDropFlags_AcceptPeekOnly: ImGuiDragDropFlags_ = 3072;
pub type ImGuiDragDropFlags_ = cty::c_uint;
pub const ImGuiDataType_S8: ImGuiDataType_ = 0;
pub const ImGuiDataType_U8: ImGuiDataType_ = 1;
pub const ImGuiDataType_S16: ImGuiDataType_ = 2;
pub const ImGuiDataType_U16: ImGuiDataType_ = 3;
pub const ImGuiDataType_S32: ImGuiDataType_ = 4;
pub const ImGuiDataType_U32: ImGuiDataType_ = 5;
pub const ImGuiDataType_S64: ImGuiDataType_ = 6;
pub const ImGuiDataType_U64: ImGuiDataType_ = 7;
pub const ImGuiDataType_Float: ImGuiDataType_ = 8;
pub const ImGuiDataType_Double: ImGuiDataType_ = 9;
pub const ImGuiDataType_COUNT: ImGuiDataType_ = 10;
pub type ImGuiDataType_ = cty::c_uint;
pub const ImGuiDir_None: ImGuiDir_ = -1;
pub const ImGuiDir_Left: ImGuiDir_ = 0;
pub const ImGuiDir_Right: ImGuiDir_ = 1;
pub const ImGuiDir_Up: ImGuiDir_ = 2;
pub const ImGuiDir_Down: ImGuiDir_ = 3;
pub const ImGuiDir_COUNT: ImGuiDir_ = 4;
pub type ImGuiDir_ = cty::c_int;
pub const ImGuiSortDirection_None: ImGuiSortDirection_ = 0;
pub const ImGuiSortDirection_Ascending: ImGuiSortDirection_ = 1;
pub const ImGuiSortDirection_Descending: ImGuiSortDirection_ = 2;
pub type ImGuiSortDirection_ = cty::c_uint;
pub const ImGuiKey_None: ImGuiKey = 0;
pub const ImGuiKey_Tab: ImGuiKey = 512;
pub const ImGuiKey_LeftArrow: ImGuiKey = 513;
pub const ImGuiKey_RightArrow: ImGuiKey = 514;
pub const ImGuiKey_UpArrow: ImGuiKey = 515;
pub const ImGuiKey_DownArrow: ImGuiKey = 516;
pub const ImGuiKey_PageUp: ImGuiKey = 517;
pub const ImGuiKey_PageDown: ImGuiKey = 518;
pub const ImGuiKey_Home: ImGuiKey = 519;
pub const ImGuiKey_End: ImGuiKey = 520;
pub const ImGuiKey_Insert: ImGuiKey = 521;
pub const ImGuiKey_Delete: ImGuiKey = 522;
pub const ImGuiKey_Backspace: ImGuiKey = 523;
pub const ImGuiKey_Space: ImGuiKey = 524;
pub const ImGuiKey_Enter: ImGuiKey = 525;
pub const ImGuiKey_Escape: ImGuiKey = 526;
pub const ImGuiKey_LeftCtrl: ImGuiKey = 527;
pub const ImGuiKey_LeftShift: ImGuiKey = 528;
pub const ImGuiKey_LeftAlt: ImGuiKey = 529;
pub const ImGuiKey_LeftSuper: ImGuiKey = 530;
pub const ImGuiKey_RightCtrl: ImGuiKey = 531;
pub const ImGuiKey_RightShift: ImGuiKey = 532;
pub const ImGuiKey_RightAlt: ImGuiKey = 533;
pub const ImGuiKey_RightSuper: ImGuiKey = 534;
pub const ImGuiKey_Menu: ImGuiKey = 535;
pub const ImGuiKey_0: ImGuiKey = 536;
pub const ImGuiKey_1: ImGuiKey = 537;
pub const ImGuiKey_2: ImGuiKey = 538;
pub const ImGuiKey_3: ImGuiKey = 539;
pub const ImGuiKey_4: ImGuiKey = 540;
pub const ImGuiKey_5: ImGuiKey = 541;
pub const ImGuiKey_6: ImGuiKey = 542;
pub const ImGuiKey_7: ImGuiKey = 543;
pub const ImGuiKey_8: ImGuiKey = 544;
pub const ImGuiKey_9: ImGuiKey = 545;
pub const ImGuiKey_A: ImGuiKey = 546;
pub const ImGuiKey_B: ImGuiKey = 547;
pub const ImGuiKey_C: ImGuiKey = 548;
pub const ImGuiKey_D: ImGuiKey = 549;
pub const ImGuiKey_E: ImGuiKey = 550;
pub const ImGuiKey_F: ImGuiKey = 551;
pub const ImGuiKey_G: ImGuiKey = 552;
pub const ImGuiKey_H: ImGuiKey = 553;
pub const ImGuiKey_I: ImGuiKey = 554;
pub const ImGuiKey_J: ImGuiKey = 555;
pub const ImGuiKey_K: ImGuiKey = 556;
pub const ImGuiKey_L: ImGuiKey = 557;
pub const ImGuiKey_M: ImGuiKey = 558;
pub const ImGuiKey_N: ImGuiKey = 559;
pub const ImGuiKey_O: ImGuiKey = 560;
pub const ImGuiKey_P: ImGuiKey = 561;
pub const ImGuiKey_Q: ImGuiKey = 562;
pub const ImGuiKey_R: ImGuiKey = 563;
pub const ImGuiKey_S: ImGuiKey = 564;
pub const ImGuiKey_T: ImGuiKey = 565;
pub const ImGuiKey_U: ImGuiKey = 566;
pub const ImGuiKey_V: ImGuiKey = 567;
pub const ImGuiKey_W: ImGuiKey = 568;
pub const ImGuiKey_X: ImGuiKey = 569;
pub const ImGuiKey_Y: ImGuiKey = 570;
pub const ImGuiKey_Z: ImGuiKey = 571;
pub const ImGuiKey_F1: ImGuiKey = 572;
pub const ImGuiKey_F2: ImGuiKey = 573;
pub const ImGuiKey_F3: ImGuiKey = 574;
pub const ImGuiKey_F4: ImGuiKey = 575;
pub const ImGuiKey_F5: ImGuiKey = 576;
pub const ImGuiKey_F6: ImGuiKey = 577;
pub const ImGuiKey_F7: ImGuiKey = 578;
pub const ImGuiKey_F8: ImGuiKey = 579;
pub const ImGuiKey_F9: ImGuiKey = 580;
pub const ImGuiKey_F10: ImGuiKey = 581;
pub const ImGuiKey_F11: ImGuiKey = 582;
pub const ImGuiKey_F12: ImGuiKey = 583;
pub const ImGuiKey_Apostrophe: ImGuiKey = 584;
pub const ImGuiKey_Comma: ImGuiKey = 585;
pub const ImGuiKey_Minus: ImGuiKey = 586;
pub const ImGuiKey_Period: ImGuiKey = 587;
pub const ImGuiKey_Slash: ImGuiKey = 588;
pub const ImGuiKey_Semicolon: ImGuiKey = 589;
pub const ImGuiKey_Equal: ImGuiKey = 590;
pub const ImGuiKey_LeftBracket: ImGuiKey = 591;
pub const ImGuiKey_Backslash: ImGuiKey = 592;
pub const ImGuiKey_RightBracket: ImGuiKey = 593;
pub const ImGuiKey_GraveAccent: ImGuiKey = 594;
pub const ImGuiKey_CapsLock: ImGuiKey = 595;
pub const ImGuiKey_ScrollLock: ImGuiKey = 596;
pub const ImGuiKey_NumLock: ImGuiKey = 597;
pub const ImGuiKey_PrintScreen: ImGuiKey = 598;
pub const ImGuiKey_Pause: ImGuiKey = 599;
pub const ImGuiKey_Keypad0: ImGuiKey = 600;
pub const ImGuiKey_Keypad1: ImGuiKey = 601;
pub const ImGuiKey_Keypad2: ImGuiKey = 602;
pub const ImGuiKey_Keypad3: ImGuiKey = 603;
pub const ImGuiKey_Keypad4: ImGuiKey = 604;
pub const ImGuiKey_Keypad5: ImGuiKey = 605;
pub const ImGuiKey_Keypad6: ImGuiKey = 606;
pub const ImGuiKey_Keypad7: ImGuiKey = 607;
pub const ImGuiKey_Keypad8: ImGuiKey = 608;
pub const ImGuiKey_Keypad9: ImGuiKey = 609;
pub const ImGuiKey_KeypadDecimal: ImGuiKey = 610;
pub const ImGuiKey_KeypadDivide: ImGuiKey = 611;
pub const ImGuiKey_KeypadMultiply: ImGuiKey = 612;
pub const ImGuiKey_KeypadSubtract: ImGuiKey = 613;
pub const ImGuiKey_KeypadAdd: ImGuiKey = 614;
pub const ImGuiKey_KeypadEnter: ImGuiKey = 615;
pub const ImGuiKey_KeypadEqual: ImGuiKey = 616;
pub const ImGuiKey_GamepadStart: ImGuiKey = 617;
pub const ImGuiKey_GamepadBack: ImGuiKey = 618;
pub const ImGuiKey_GamepadFaceLeft: ImGuiKey = 619;
pub const ImGuiKey_GamepadFaceRight: ImGuiKey = 620;
pub const ImGuiKey_GamepadFaceUp: ImGuiKey = 621;
pub const ImGuiKey_GamepadFaceDown: ImGuiKey = 622;
pub const ImGuiKey_GamepadDpadLeft: ImGuiKey = 623;
pub const ImGuiKey_GamepadDpadRight: ImGuiKey = 624;
pub const ImGuiKey_GamepadDpadUp: ImGuiKey = 625;
pub const ImGuiKey_GamepadDpadDown: ImGuiKey = 626;
pub const ImGuiKey_GamepadL1: ImGuiKey = 627;
pub const ImGuiKey_GamepadR1: ImGuiKey = 628;
pub const ImGuiKey_GamepadL2: ImGuiKey = 629;
pub const ImGuiKey_GamepadR2: ImGuiKey = 630;
pub const ImGuiKey_GamepadL3: ImGuiKey = 631;
pub const ImGuiKey_GamepadR3: ImGuiKey = 632;
pub const ImGuiKey_GamepadLStickLeft: ImGuiKey = 633;
pub const ImGuiKey_GamepadLStickRight: ImGuiKey = 634;
pub const ImGuiKey_GamepadLStickUp: ImGuiKey = 635;
pub const ImGuiKey_GamepadLStickDown: ImGuiKey = 636;
pub const ImGuiKey_GamepadRStickLeft: ImGuiKey = 637;
pub const ImGuiKey_GamepadRStickRight: ImGuiKey = 638;
pub const ImGuiKey_GamepadRStickUp: ImGuiKey = 639;
pub const ImGuiKey_GamepadRStickDown: ImGuiKey = 640;
pub const ImGuiKey_MouseLeft: ImGuiKey = 641;
pub const ImGuiKey_MouseRight: ImGuiKey = 642;
pub const ImGuiKey_MouseMiddle: ImGuiKey = 643;
pub const ImGuiKey_MouseX1: ImGuiKey = 644;
pub const ImGuiKey_MouseX2: ImGuiKey = 645;
pub const ImGuiKey_MouseWheelX: ImGuiKey = 646;
pub const ImGuiKey_MouseWheelY: ImGuiKey = 647;
pub const ImGuiKey_ReservedForModCtrl: ImGuiKey = 648;
pub const ImGuiKey_ReservedForModShift: ImGuiKey = 649;
pub const ImGuiKey_ReservedForModAlt: ImGuiKey = 650;
pub const ImGuiKey_ReservedForModSuper: ImGuiKey = 651;
pub const ImGuiKey_COUNT: ImGuiKey = 652;
pub const ImGuiMod_None: ImGuiKey = 0;
pub const ImGuiMod_Ctrl: ImGuiKey = 4096;
pub const ImGuiMod_Shift: ImGuiKey = 8192;
pub const ImGuiMod_Alt: ImGuiKey = 16384;
pub const ImGuiMod_Super: ImGuiKey = 32768;
pub const ImGuiMod_Shortcut: ImGuiKey = 2048;
pub const ImGuiMod_Mask_: ImGuiKey = 63488;
pub const ImGuiKey_NamedKey_BEGIN: ImGuiKey = 512;
pub const ImGuiKey_NamedKey_END: ImGuiKey = 652;
pub const ImGuiKey_NamedKey_COUNT: ImGuiKey = 140;
pub const ImGuiKey_KeysData_SIZE: ImGuiKey = 652;
pub const ImGuiKey_KeysData_OFFSET: ImGuiKey = 0;
pub type ImGuiKey = cty::c_uint;
pub const ImGuiNavInput_Activate: ImGuiNavInput = 0;
pub const ImGuiNavInput_Cancel: ImGuiNavInput = 1;
pub const ImGuiNavInput_Input: ImGuiNavInput = 2;
pub const ImGuiNavInput_Menu: ImGuiNavInput = 3;
pub const ImGuiNavInput_DpadLeft: ImGuiNavInput = 4;
pub const ImGuiNavInput_DpadRight: ImGuiNavInput = 5;
pub const ImGuiNavInput_DpadUp: ImGuiNavInput = 6;
pub const ImGuiNavInput_DpadDown: ImGuiNavInput = 7;
pub const ImGuiNavInput_LStickLeft: ImGuiNavInput = 8;
pub const ImGuiNavInput_LStickRight: ImGuiNavInput = 9;
pub const ImGuiNavInput_LStickUp: ImGuiNavInput = 10;
pub const ImGuiNavInput_LStickDown: ImGuiNavInput = 11;
pub const ImGuiNavInput_FocusPrev: ImGuiNavInput = 12;
pub const ImGuiNavInput_FocusNext: ImGuiNavInput = 13;
pub const ImGuiNavInput_TweakSlow: ImGuiNavInput = 14;
pub const ImGuiNavInput_TweakFast: ImGuiNavInput = 15;
pub const ImGuiNavInput_COUNT: ImGuiNavInput = 16;
pub type ImGuiNavInput = cty::c_uint;
pub const ImGuiConfigFlags_None: ImGuiConfigFlags_ = 0;
pub const ImGuiConfigFlags_NavEnableKeyboard: ImGuiConfigFlags_ = 1;
pub const ImGuiConfigFlags_NavEnableGamepad: ImGuiConfigFlags_ = 2;
pub const ImGuiConfigFlags_NavEnableSetMousePos: ImGuiConfigFlags_ = 4;
pub const ImGuiConfigFlags_NavNoCaptureKeyboard: ImGuiConfigFlags_ = 8;
pub const ImGuiConfigFlags_NoMouse: ImGuiConfigFlags_ = 16;
pub const ImGuiConfigFlags_NoMouseCursorChange: ImGuiConfigFlags_ = 32;
pub const ImGuiConfigFlags_IsSRGB: ImGuiConfigFlags_ = 1048576;
pub const ImGuiConfigFlags_IsTouchScreen: ImGuiConfigFlags_ = 2097152;
pub type ImGuiConfigFlags_ = cty::c_uint;
pub const ImGuiBackendFlags_None: ImGuiBackendFlags_ = 0;
pub const ImGuiBackendFlags_HasGamepad: ImGuiBackendFlags_ = 1;
pub const ImGuiBackendFlags_HasMouseCursors: ImGuiBackendFlags_ = 2;
pub const ImGuiBackendFlags_HasSetMousePos: ImGuiBackendFlags_ = 4;
pub const ImGuiBackendFlags_RendererHasVtxOffset: ImGuiBackendFlags_ = 8;
pub type ImGuiBackendFlags_ = cty::c_uint;
pub const ImGuiCol_Text: ImGuiCol_ = 0;
pub const ImGuiCol_TextDisabled: ImGuiCol_ = 1;
pub const ImGuiCol_WindowBg: ImGuiCol_ = 2;
pub const ImGuiCol_ChildBg: ImGuiCol_ = 3;
pub const ImGuiCol_PopupBg: ImGuiCol_ = 4;
pub const ImGuiCol_Border: ImGuiCol_ = 5;
pub const ImGuiCol_BorderShadow: ImGuiCol_ = 6;
pub const ImGuiCol_FrameBg: ImGuiCol_ = 7;
pub const ImGuiCol_FrameBgHovered: ImGuiCol_ = 8;
pub const ImGuiCol_FrameBgActive: ImGuiCol_ = 9;
pub const ImGuiCol_TitleBg: ImGuiCol_ = 10;
pub const ImGuiCol_TitleBgActive: ImGuiCol_ = 11;
pub const ImGuiCol_TitleBgCollapsed: ImGuiCol_ = 12;
pub const ImGuiCol_MenuBarBg: ImGuiCol_ = 13;
pub const ImGuiCol_ScrollbarBg: ImGuiCol_ = 14;
pub const ImGuiCol_ScrollbarGrab: ImGuiCol_ = 15;
pub const ImGuiCol_ScrollbarGrabHovered: ImGuiCol_ = 16;
pub const ImGuiCol_ScrollbarGrabActive: ImGuiCol_ = 17;
pub const ImGuiCol_CheckMark: ImGuiCol_ = 18;
pub const ImGuiCol_SliderGrab: ImGuiCol_ = 19;
pub const ImGuiCol_SliderGrabActive: ImGuiCol_ = 20;
pub const ImGuiCol_Button: ImGuiCol_ = 21;
pub const ImGuiCol_ButtonHovered: ImGuiCol_ = 22;
pub const ImGuiCol_ButtonActive: ImGuiCol_ = 23;
pub const ImGuiCol_Header: ImGuiCol_ = 24;
pub const ImGuiCol_HeaderHovered: ImGuiCol_ = 25;
pub const ImGuiCol_HeaderActive: ImGuiCol_ = 26;
pub const ImGuiCol_Separator: ImGuiCol_ = 27;
pub const ImGuiCol_SeparatorHovered: ImGuiCol_ = 28;
pub const ImGuiCol_SeparatorActive: ImGuiCol_ = 29;
pub const ImGuiCol_ResizeGrip: ImGuiCol_ = 30;
pub const ImGuiCol_ResizeGripHovered: ImGuiCol_ = 31;
pub const ImGuiCol_ResizeGripActive: ImGuiCol_ = 32;
pub const ImGuiCol_Tab: ImGuiCol_ = 33;
pub const ImGuiCol_TabHovered: ImGuiCol_ = 34;
pub const ImGuiCol_TabActive: ImGuiCol_ = 35;
pub const ImGuiCol_TabUnfocused: ImGuiCol_ = 36;
pub const ImGuiCol_TabUnfocusedActive: ImGuiCol_ = 37;
pub const ImGuiCol_PlotLines: ImGuiCol_ = 38;
pub const ImGuiCol_PlotLinesHovered: ImGuiCol_ = 39;
pub const ImGuiCol_PlotHistogram: ImGuiCol_ = 40;
pub const ImGuiCol_PlotHistogramHovered: ImGuiCol_ = 41;
pub const ImGuiCol_TableHeaderBg: ImGuiCol_ = 42;
pub const ImGuiCol_TableBorderStrong: ImGuiCol_ = 43;
pub const ImGuiCol_TableBorderLight: ImGuiCol_ = 44;
pub const ImGuiCol_TableRowBg: ImGuiCol_ = 45;
pub const ImGuiCol_TableRowBgAlt: ImGuiCol_ = 46;
pub const ImGuiCol_TextSelectedBg: ImGuiCol_ = 47;
pub const ImGuiCol_DragDropTarget: ImGuiCol_ = 48;
pub const ImGuiCol_NavHighlight: ImGuiCol_ = 49;
pub const ImGuiCol_NavWindowingHighlight: ImGuiCol_ = 50;
pub const ImGuiCol_NavWindowingDimBg: ImGuiCol_ = 51;
pub const ImGuiCol_ModalWindowDimBg: ImGuiCol_ = 52;
pub const ImGuiCol_COUNT: ImGuiCol_ = 53;
pub type ImGuiCol_ = cty::c_uint;
pub const ImGuiStyleVar_Alpha: ImGuiStyleVar_ = 0;
pub const ImGuiStyleVar_DisabledAlpha: ImGuiStyleVar_ = 1;
pub const ImGuiStyleVar_WindowPadding: ImGuiStyleVar_ = 2;
pub const ImGuiStyleVar_WindowRounding: ImGuiStyleVar_ = 3;
pub const ImGuiStyleVar_WindowBorderSize: ImGuiStyleVar_ = 4;
pub const ImGuiStyleVar_WindowMinSize: ImGuiStyleVar_ = 5;
pub const ImGuiStyleVar_WindowTitleAlign: ImGuiStyleVar_ = 6;
pub const ImGuiStyleVar_ChildRounding: ImGuiStyleVar_ = 7;
pub const ImGuiStyleVar_ChildBorderSize: ImGuiStyleVar_ = 8;
pub const ImGuiStyleVar_PopupRounding: ImGuiStyleVar_ = 9;
pub const ImGuiStyleVar_PopupBorderSize: ImGuiStyleVar_ = 10;
pub const ImGuiStyleVar_FramePadding: ImGuiStyleVar_ = 11;
pub const ImGuiStyleVar_FrameRounding: ImGuiStyleVar_ = 12;
pub const ImGuiStyleVar_FrameBorderSize: ImGuiStyleVar_ = 13;
pub const ImGuiStyleVar_ItemSpacing: ImGuiStyleVar_ = 14;
pub const ImGuiStyleVar_ItemInnerSpacing: ImGuiStyleVar_ = 15;
pub const ImGuiStyleVar_IndentSpacing: ImGuiStyleVar_ = 16;
pub const ImGuiStyleVar_CellPadding: ImGuiStyleVar_ = 17;
pub const ImGuiStyleVar_ScrollbarSize: ImGuiStyleVar_ = 18;
pub const ImGuiStyleVar_ScrollbarRounding: ImGuiStyleVar_ = 19;
pub const ImGuiStyleVar_GrabMinSize: ImGuiStyleVar_ = 20;
pub const ImGuiStyleVar_GrabRounding: ImGuiStyleVar_ = 21;
pub const ImGuiStyleVar_TabRounding: ImGuiStyleVar_ = 22;
pub const ImGuiStyleVar_ButtonTextAlign: ImGuiStyleVar_ = 23;
pub const ImGuiStyleVar_SelectableTextAlign: ImGuiStyleVar_ = 24;
pub const ImGuiStyleVar_COUNT: ImGuiStyleVar_ = 25;
pub type ImGuiStyleVar_ = cty::c_uint;
pub const ImGuiButtonFlags_None: ImGuiButtonFlags_ = 0;
pub const ImGuiButtonFlags_MouseButtonLeft: ImGuiButtonFlags_ = 1;
pub const ImGuiButtonFlags_MouseButtonRight: ImGuiButtonFlags_ = 2;
pub const ImGuiButtonFlags_MouseButtonMiddle: ImGuiButtonFlags_ = 4;
pub const ImGuiButtonFlags_MouseButtonMask_: ImGuiButtonFlags_ = 7;
pub const ImGuiButtonFlags_MouseButtonDefault_: ImGuiButtonFlags_ = 1;
pub type ImGuiButtonFlags_ = cty::c_uint;
pub const ImGuiColorEditFlags_None: ImGuiColorEditFlags_ = 0;
pub const ImGuiColorEditFlags_NoAlpha: ImGuiColorEditFlags_ = 2;
pub const ImGuiColorEditFlags_NoPicker: ImGuiColorEditFlags_ = 4;
pub const ImGuiColorEditFlags_NoOptions: ImGuiColorEditFlags_ = 8;
pub const ImGuiColorEditFlags_NoSmallPreview: ImGuiColorEditFlags_ = 16;
pub const ImGuiColorEditFlags_NoInputs: ImGuiColorEditFlags_ = 32;
pub const ImGuiColorEditFlags_NoTooltip: ImGuiColorEditFlags_ = 64;
pub const ImGuiColorEditFlags_NoLabel: ImGuiColorEditFlags_ = 128;
pub const ImGuiColorEditFlags_NoSidePreview: ImGuiColorEditFlags_ = 256;
pub const ImGuiColorEditFlags_NoDragDrop: ImGuiColorEditFlags_ = 512;
pub const ImGuiColorEditFlags_NoBorder: ImGuiColorEditFlags_ = 1024;
pub const ImGuiColorEditFlags_AlphaBar: ImGuiColorEditFlags_ = 65536;
pub const ImGuiColorEditFlags_AlphaPreview: ImGuiColorEditFlags_ = 131072;
pub const ImGuiColorEditFlags_AlphaPreviewHalf: ImGuiColorEditFlags_ = 262144;
pub const ImGuiColorEditFlags_HDR: ImGuiColorEditFlags_ = 524288;
pub const ImGuiColorEditFlags_DisplayRGB: ImGuiColorEditFlags_ = 1048576;
pub const ImGuiColorEditFlags_DisplayHSV: ImGuiColorEditFlags_ = 2097152;
pub const ImGuiColorEditFlags_DisplayHex: ImGuiColorEditFlags_ = 4194304;
pub const ImGuiColorEditFlags_Uint8: ImGuiColorEditFlags_ = 8388608;
pub const ImGuiColorEditFlags_Float: ImGuiColorEditFlags_ = 16777216;
pub const ImGuiColorEditFlags_PickerHueBar: ImGuiColorEditFlags_ = 33554432;
pub const ImGuiColorEditFlags_PickerHueWheel: ImGuiColorEditFlags_ = 67108864;
pub const ImGuiColorEditFlags_InputRGB: ImGuiColorEditFlags_ = 134217728;
pub const ImGuiColorEditFlags_InputHSV: ImGuiColorEditFlags_ = 268435456;
pub const ImGuiColorEditFlags_DefaultOptions_: ImGuiColorEditFlags_ = 177209344;
pub const ImGuiColorEditFlags_DisplayMask_: ImGuiColorEditFlags_ = 7340032;
pub const ImGuiColorEditFlags_DataTypeMask_: ImGuiColorEditFlags_ = 25165824;
pub const ImGuiColorEditFlags_PickerMask_: ImGuiColorEditFlags_ = 100663296;
pub const ImGuiColorEditFlags_InputMask_: ImGuiColorEditFlags_ = 402653184;
pub type ImGuiColorEditFlags_ = cty::c_uint;
pub const ImGuiSliderFlags_None: ImGuiSliderFlags_ = 0;
pub const ImGuiSliderFlags_AlwaysClamp: ImGuiSliderFlags_ = 16;
pub const ImGuiSliderFlags_Logarithmic: ImGuiSliderFlags_ = 32;
pub const ImGuiSliderFlags_NoRoundToFormat: ImGuiSliderFlags_ = 64;
pub const ImGuiSliderFlags_NoInput: ImGuiSliderFlags_ = 128;
pub const ImGuiSliderFlags_InvalidMask_: ImGuiSliderFlags_ = 1879048207;
pub type ImGuiSliderFlags_ = cty::c_uint;
pub const ImGuiMouseButton_Left: ImGuiMouseButton_ = 0;
pub const ImGuiMouseButton_Right: ImGuiMouseButton_ = 1;
pub const ImGuiMouseButton_Middle: ImGuiMouseButton_ = 2;
pub const ImGuiMouseButton_COUNT: ImGuiMouseButton_ = 5;
pub type ImGuiMouseButton_ = cty::c_uint;
pub const ImGuiMouseCursor_None: ImGuiMouseCursor_ = -1;
pub const ImGuiMouseCursor_Arrow: ImGuiMouseCursor_ = 0;
pub const ImGuiMouseCursor_TextInput: ImGuiMouseCursor_ = 1;
pub const ImGuiMouseCursor_ResizeAll: ImGuiMouseCursor_ = 2;
pub const ImGuiMouseCursor_ResizeNS: ImGuiMouseCursor_ = 3;
pub const ImGuiMouseCursor_ResizeEW: ImGuiMouseCursor_ = 4;
pub const ImGuiMouseCursor_ResizeNESW: ImGuiMouseCursor_ = 5;
pub const ImGuiMouseCursor_ResizeNWSE: ImGuiMouseCursor_ = 6;
pub const ImGuiMouseCursor_Hand: ImGuiMouseCursor_ = 7;
pub const ImGuiMouseCursor_NotAllowed: ImGuiMouseCursor_ = 8;
pub const ImGuiMouseCursor_COUNT: ImGuiMouseCursor_ = 9;
pub type ImGuiMouseCursor_ = cty::c_int;
pub const ImGuiCond_None: ImGuiCond_ = 0;
pub const ImGuiCond_Always: ImGuiCond_ = 1;
pub const ImGuiCond_Once: ImGuiCond_ = 2;
pub const ImGuiCond_FirstUseEver: ImGuiCond_ = 4;
pub const ImGuiCond_Appearing: ImGuiCond_ = 8;
pub type ImGuiCond_ = cty::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct ImGuiStyle {
pub Alpha: f32,
pub DisabledAlpha: f32,
pub WindowPadding: ImVec2,
pub WindowRounding: f32,
pub WindowBorderSize: f32,
pub WindowMinSize: ImVec2,
pub WindowTitleAlign: ImVec2,
pub WindowMenuButtonPosition: ImGuiDir,
pub ChildRounding: f32,
pub ChildBorderSize: f32,
pub PopupRounding: f32,
pub PopupBorderSize: f32,
pub FramePadding: ImVec2,
pub FrameRounding: f32,
pub FrameBorderSize: f32,
pub ItemSpacing: ImVec2,
pub ItemInnerSpacing: ImVec2,
pub CellPadding: ImVec2,
pub TouchExtraPadding: ImVec2,
pub IndentSpacing: f32,
pub ColumnsMinSpacing: f32,
pub ScrollbarSize: f32,
pub ScrollbarRounding: f32,
pub GrabMinSize: f32,
pub GrabRounding: f32,
pub LogSliderDeadzone: f32,
pub TabRounding: f32,
pub TabBorderSize: f32,
pub TabMinWidthForCloseButton: f32,
pub ColorButtonPosition: ImGuiDir,
pub ButtonTextAlign: ImVec2,
pub SelectableTextAlign: ImVec2,
pub DisplayWindowPadding: ImVec2,
pub DisplaySafeAreaPadding: ImVec2,
pub MouseCursorScale: f32,
pub AntiAliasedLines: bool,
pub AntiAliasedLinesUseTex: bool,
pub AntiAliasedFill: bool,
pub CurveTessellationTol: f32,
pub CircleTessellationMaxError: f32,
pub Colors: [ImVec4; 53usize],
}
impl Default for ImGuiStyle {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Default, Copy, Clone, PartialEq)]
pub struct ImGuiKeyData {
pub Down: bool,
pub DownDuration: f32,
pub DownDurationPrev: f32,
pub AnalogValue: f32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_ImWchar {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut ImWchar,
}
impl Default for ImVector_ImWchar {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct ImGuiIO {
pub ConfigFlags: ImGuiConfigFlags,
pub BackendFlags: ImGuiBackendFlags,
pub DisplaySize: ImVec2,
pub DeltaTime: f32,
pub IniSavingRate: f32,
pub IniFilename: *const cty::c_char,
pub LogFilename: *const cty::c_char,
pub MouseDoubleClickTime: f32,
pub MouseDoubleClickMaxDist: f32,
pub MouseDragThreshold: f32,
pub KeyRepeatDelay: f32,
pub KeyRepeatRate: f32,
pub HoverDelayNormal: f32,
pub HoverDelayShort: f32,
pub UserData: *mut cty::c_void,
pub Fonts: *mut ImFontAtlas,
pub FontGlobalScale: f32,
pub FontAllowUserScaling: bool,
pub FontDefault: *mut ImFont,
pub DisplayFramebufferScale: ImVec2,
pub MouseDrawCursor: bool,
pub ConfigMacOSXBehaviors: bool,
pub ConfigInputTrickleEventQueue: bool,
pub ConfigInputTextCursorBlink: bool,
pub ConfigInputTextEnterKeepActive: bool,
pub ConfigDragClickToInputText: bool,
pub ConfigWindowsResizeFromEdges: bool,
pub ConfigWindowsMoveFromTitleBarOnly: bool,
pub ConfigMemoryCompactTimer: f32,
pub BackendPlatformName: *const cty::c_char,
pub BackendRendererName: *const cty::c_char,
pub BackendPlatformUserData: *mut cty::c_void,
pub BackendRendererUserData: *mut cty::c_void,
pub BackendLanguageUserData: *mut cty::c_void,
pub GetClipboardTextFn: ::core::option::Option<
unsafe extern "C" fn(user_data: *mut cty::c_void) -> *const cty::c_char,
>,
pub SetClipboardTextFn: ::core::option::Option<
unsafe extern "C" fn(user_data: *mut cty::c_void, text: *const cty::c_char),
>,
pub ClipboardUserData: *mut cty::c_void,
pub SetPlatformImeDataFn: ::core::option::Option<
unsafe extern "C" fn(viewport: *mut ImGuiViewport, data: *mut ImGuiPlatformImeData),
>,
pub _UnusedPadding: *mut cty::c_void,
pub WantCaptureMouse: bool,
pub WantCaptureKeyboard: bool,
pub WantTextInput: bool,
pub WantSetMousePos: bool,
pub WantSaveIniSettings: bool,
pub NavActive: bool,
pub NavVisible: bool,
pub Framerate: f32,
pub MetricsRenderVertices: cty::c_int,
pub MetricsRenderIndices: cty::c_int,
pub MetricsRenderWindows: cty::c_int,
pub MetricsActiveWindows: cty::c_int,
pub MetricsActiveAllocations: cty::c_int,
pub MouseDelta: ImVec2,
pub KeyMap: [cty::c_int; 652usize],
pub KeysDown: [bool; 652usize],
pub NavInputs: [f32; 16usize],
pub MousePos: ImVec2,
pub MouseDown: [bool; 5usize],
pub MouseWheel: f32,
pub MouseWheelH: f32,
pub KeyCtrl: bool,
pub KeyShift: bool,
pub KeyAlt: bool,
pub KeySuper: bool,
pub KeyMods: ImGuiKeyChord,
pub KeysData: [ImGuiKeyData; 652usize],
pub WantCaptureMouseUnlessPopupClose: bool,
pub MousePosPrev: ImVec2,
pub MouseClickedPos: [ImVec2; 5usize],
pub MouseClickedTime: [f64; 5usize],
pub MouseClicked: [bool; 5usize],
pub MouseDoubleClicked: [bool; 5usize],
pub MouseClickedCount: [ImU16; 5usize],
pub MouseClickedLastCount: [ImU16; 5usize],
pub MouseReleased: [bool; 5usize],
pub MouseDownOwned: [bool; 5usize],
pub MouseDownOwnedUnlessPopupClose: [bool; 5usize],
pub MouseDownDuration: [f32; 5usize],
pub MouseDownDurationPrev: [f32; 5usize],
pub MouseDragMaxDistanceSqr: [f32; 5usize],
pub PenPressure: f32,
pub AppFocusLost: bool,
pub AppAcceptingEvents: bool,
pub BackendUsingLegacyKeyArrays: ImS8,
pub BackendUsingLegacyNavInputArray: bool,
pub InputQueueSurrogate: ImWchar16,
pub InputQueueCharacters: ImVector_ImWchar,
}
impl Default for ImGuiIO {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImGuiInputTextCallbackData {
pub EventFlag: ImGuiInputTextFlags,
pub Flags: ImGuiInputTextFlags,
pub UserData: *mut cty::c_void,
pub EventChar: ImWchar,
pub EventKey: ImGuiKey,
pub Buf: *mut cty::c_char,
pub BufTextLen: cty::c_int,
pub BufSize: cty::c_int,
pub BufDirty: bool,
pub CursorPos: cty::c_int,
pub SelectionStart: cty::c_int,
pub SelectionEnd: cty::c_int,
}
impl Default for ImGuiInputTextCallbackData {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct ImGuiSizeCallbackData {
pub UserData: *mut cty::c_void,
pub Pos: ImVec2,
pub CurrentSize: ImVec2,
pub DesiredSize: ImVec2,
}
impl Default for ImGuiSizeCallbackData {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImGuiPayload {
pub Data: *mut cty::c_void,
pub DataSize: cty::c_int,
pub SourceId: ImGuiID,
pub SourceParentId: ImGuiID,
pub DataFrameCount: cty::c_int,
pub DataType: [cty::c_char; 33usize],
pub Preview: bool,
pub Delivery: bool,
}
impl Default for ImGuiPayload {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImGuiTableColumnSortSpecs {
pub ColumnUserID: ImGuiID,
pub ColumnIndex: ImS16,
pub SortOrder: ImS16,
pub _bitfield_align_1: [u8; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize]>,
pub __bindgen_padding_0: [u8; 3usize],
}
impl ImGuiTableColumnSortSpecs {
#[inline]
pub fn SortDirection(&self) -> ImGuiSortDirection {
unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 8u8) as u32) }
}
#[inline]
pub fn set_SortDirection(&mut self, val: ImGuiSortDirection) {
unsafe {
let val: u32 = ::core::mem::transmute(val);
self._bitfield_1.set(0usize, 8u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(
SortDirection: ImGuiSortDirection,
) -> __BindgenBitfieldUnit<[u8; 1usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 8u8, {
let SortDirection: u32 = unsafe { ::core::mem::transmute(SortDirection) };
SortDirection as u64
});
__bindgen_bitfield_unit
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImGuiTableSortSpecs {
pub Specs: *const ImGuiTableColumnSortSpecs,
pub SpecsCount: cty::c_int,
pub SpecsDirty: bool,
}
impl Default for ImGuiTableSortSpecs {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Default, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImGuiOnceUponAFrame {
pub RefFrame: cty::c_int,
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImGuiTextRange {
pub b: *const cty::c_char,
pub e: *const cty::c_char,
}
impl Default for ImGuiTextRange {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_ImGuiTextRange {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut ImGuiTextRange,
}
impl Default for ImVector_ImGuiTextRange {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImGuiTextFilter {
pub InputBuf: [cty::c_char; 256usize],
pub Filters: ImVector_ImGuiTextRange,
pub CountGrep: cty::c_int,
}
impl Default for ImGuiTextFilter {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_char {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut cty::c_char,
}
impl Default for ImVector_char {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImGuiTextBuffer {
pub Buf: ImVector_char,
}
impl Default for ImGuiTextBuffer {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct ImGuiStoragePair {
pub key: ImGuiID,
pub __bindgen_anon_1: ImGuiStoragePair__bindgen_ty_1,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union ImGuiStoragePair__bindgen_ty_1 {
pub val_i: cty::c_int,
pub val_f: f32,
pub val_p: *mut cty::c_void,
}
impl Default for ImGuiStoragePair__bindgen_ty_1 {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
impl ::core::fmt::Debug for ImGuiStoragePair__bindgen_ty_1 {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
write!(f, "ImGuiStoragePair__bindgen_ty_1 {{ union }}")
}
}
impl Default for ImGuiStoragePair {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
impl ::core::fmt::Debug for ImGuiStoragePair {
fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
write!(
f,
"ImGuiStoragePair {{ key: {:?}, __bindgen_anon_1: {:?} }}",
self.key, self.__bindgen_anon_1
)
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_ImGuiStoragePair {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut ImGuiStoragePair,
}
impl Default for ImVector_ImGuiStoragePair {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImGuiStorage {
pub Data: ImVector_ImGuiStoragePair,
}
impl Default for ImGuiStorage {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct ImGuiListClipper {
pub DisplayStart: cty::c_int,
pub DisplayEnd: cty::c_int,
pub ItemsCount: cty::c_int,
pub ItemsHeight: f32,
pub StartPosY: f32,
pub TempData: *mut cty::c_void,
}
impl Default for ImGuiListClipper {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Default, Copy, Clone, PartialEq)]
pub struct ImColor {
pub Value: ImVec4,
}
pub type ImDrawCallback = ::core::option::Option<
unsafe extern "C" fn(parent_list: *const ImDrawList, cmd: *const ImDrawCmd),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct ImDrawCmd {
pub ClipRect: ImVec4,
pub TextureId: ImTextureID,
pub VtxOffset: cty::c_uint,
pub IdxOffset: cty::c_uint,
pub ElemCount: cty::c_uint,
pub UserCallback: ImDrawCallback,
pub UserCallbackData: *mut cty::c_void,
}
impl Default for ImDrawCmd {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Default, Copy, Clone, PartialEq)]
pub struct ImDrawVert {
pub pos: ImVec2,
pub uv: ImVec2,
pub col: ImU32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct ImDrawCmdHeader {
pub ClipRect: ImVec4,
pub TextureId: ImTextureID,
pub VtxOffset: cty::c_uint,
}
impl Default for ImDrawCmdHeader {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_ImDrawCmd {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut ImDrawCmd,
}
impl Default for ImVector_ImDrawCmd {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_ImDrawIdx {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut ImDrawIdx,
}
impl Default for ImVector_ImDrawIdx {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImDrawChannel {
pub _CmdBuffer: ImVector_ImDrawCmd,
pub _IdxBuffer: ImVector_ImDrawIdx,
}
impl Default for ImDrawChannel {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_ImDrawChannel {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut ImDrawChannel,
}
impl Default for ImVector_ImDrawChannel {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImDrawListSplitter {
pub _Current: cty::c_int,
pub _Count: cty::c_int,
pub _Channels: ImVector_ImDrawChannel,
}
impl Default for ImDrawListSplitter {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
pub const ImDrawFlags_None: ImDrawFlags_ = 0;
pub const ImDrawFlags_Closed: ImDrawFlags_ = 1;
pub const ImDrawFlags_RoundCornersTopLeft: ImDrawFlags_ = 16;
pub const ImDrawFlags_RoundCornersTopRight: ImDrawFlags_ = 32;
pub const ImDrawFlags_RoundCornersBottomLeft: ImDrawFlags_ = 64;
pub const ImDrawFlags_RoundCornersBottomRight: ImDrawFlags_ = 128;
pub const ImDrawFlags_RoundCornersNone: ImDrawFlags_ = 256;
pub const ImDrawFlags_RoundCornersTop: ImDrawFlags_ = 48;
pub const ImDrawFlags_RoundCornersBottom: ImDrawFlags_ = 192;
pub const ImDrawFlags_RoundCornersLeft: ImDrawFlags_ = 80;
pub const ImDrawFlags_RoundCornersRight: ImDrawFlags_ = 160;
pub const ImDrawFlags_RoundCornersAll: ImDrawFlags_ = 240;
pub const ImDrawFlags_RoundCornersDefault_: ImDrawFlags_ = 240;
pub const ImDrawFlags_RoundCornersMask_: ImDrawFlags_ = 496;
pub type ImDrawFlags_ = cty::c_uint;
pub const ImDrawListFlags_None: ImDrawListFlags_ = 0;
pub const ImDrawListFlags_AntiAliasedLines: ImDrawListFlags_ = 1;
pub const ImDrawListFlags_AntiAliasedLinesUseTex: ImDrawListFlags_ = 2;
pub const ImDrawListFlags_AntiAliasedFill: ImDrawListFlags_ = 4;
pub const ImDrawListFlags_AllowVtxOffset: ImDrawListFlags_ = 8;
pub type ImDrawListFlags_ = cty::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_ImDrawVert {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut ImDrawVert,
}
impl Default for ImVector_ImDrawVert {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_ImVec4 {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut ImVec4,
}
impl Default for ImVector_ImVec4 {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_ImTextureID {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut ImTextureID,
}
impl Default for ImVector_ImTextureID {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_ImVec2 {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut ImVec2,
}
impl Default for ImVector_ImVec2 {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct ImDrawList {
pub CmdBuffer: ImVector_ImDrawCmd,
pub IdxBuffer: ImVector_ImDrawIdx,
pub VtxBuffer: ImVector_ImDrawVert,
pub Flags: ImDrawListFlags,
pub _VtxCurrentIdx: cty::c_uint,
pub _Data: *mut ImDrawListSharedData,
pub _OwnerName: *const cty::c_char,
pub _VtxWritePtr: *mut ImDrawVert,
pub _IdxWritePtr: *mut ImDrawIdx,
pub _ClipRectStack: ImVector_ImVec4,
pub _TextureIdStack: ImVector_ImTextureID,
pub _Path: ImVector_ImVec2,
pub _CmdHeader: ImDrawCmdHeader,
pub _Splitter: ImDrawListSplitter,
pub _FringeScale: f32,
}
impl Default for ImDrawList {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct ImDrawData {
pub Valid: bool,
pub CmdListsCount: cty::c_int,
pub TotalIdxCount: cty::c_int,
pub TotalVtxCount: cty::c_int,
pub CmdLists: *mut *mut ImDrawList,
pub DisplayPos: ImVec2,
pub DisplaySize: ImVec2,
pub FramebufferScale: ImVec2,
}
impl Default for ImDrawData {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct ImFontConfig {
pub FontData: *mut cty::c_void,
pub FontDataSize: cty::c_int,
pub FontDataOwnedByAtlas: bool,
pub FontNo: cty::c_int,
pub SizePixels: f32,
pub OversampleH: cty::c_int,
pub OversampleV: cty::c_int,
pub PixelSnapH: bool,
pub GlyphExtraSpacing: ImVec2,
pub GlyphOffset: ImVec2,
pub GlyphRanges: *const ImWchar,
pub GlyphMinAdvanceX: f32,
pub GlyphMaxAdvanceX: f32,
pub MergeMode: bool,
pub FontBuilderFlags: cty::c_uint,
pub RasterizerMultiply: f32,
pub EllipsisChar: ImWchar,
pub Name: [cty::c_char; 40usize],
pub DstFont: *mut ImFont,
}
impl Default for ImFontConfig {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Default, Copy, Clone, PartialEq)]
pub struct ImFontGlyph {
pub _bitfield_align_1: [u32; 0],
pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize]>,
pub AdvanceX: f32,
pub X0: f32,
pub Y0: f32,
pub X1: f32,
pub Y1: f32,
pub U0: f32,
pub V0: f32,
pub U1: f32,
pub V1: f32,
}
impl ImFontGlyph {
#[inline]
pub fn Colored(&self) -> cty::c_uint {
unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
}
#[inline]
pub fn set_Colored(&mut self, val: cty::c_uint) {
unsafe {
let val: u32 = ::core::mem::transmute(val);
self._bitfield_1.set(0usize, 1u8, val as u64)
}
}
#[inline]
pub fn Visible(&self) -> cty::c_uint {
unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
}
#[inline]
pub fn set_Visible(&mut self, val: cty::c_uint) {
unsafe {
let val: u32 = ::core::mem::transmute(val);
self._bitfield_1.set(1usize, 1u8, val as u64)
}
}
#[inline]
pub fn Codepoint(&self) -> cty::c_uint {
unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 30u8) as u32) }
}
#[inline]
pub fn set_Codepoint(&mut self, val: cty::c_uint) {
unsafe {
let val: u32 = ::core::mem::transmute(val);
self._bitfield_1.set(2usize, 30u8, val as u64)
}
}
#[inline]
pub fn new_bitfield_1(
Colored: cty::c_uint,
Visible: cty::c_uint,
Codepoint: cty::c_uint,
) -> __BindgenBitfieldUnit<[u8; 4usize]> {
let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize]> = Default::default();
__bindgen_bitfield_unit.set(0usize, 1u8, {
let Colored: u32 = unsafe { ::core::mem::transmute(Colored) };
Colored as u64
});
__bindgen_bitfield_unit.set(1usize, 1u8, {
let Visible: u32 = unsafe { ::core::mem::transmute(Visible) };
Visible as u64
});
__bindgen_bitfield_unit.set(2usize, 30u8, {
let Codepoint: u32 = unsafe { ::core::mem::transmute(Codepoint) };
Codepoint as u64
});
__bindgen_bitfield_unit
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_ImU32 {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut ImU32,
}
impl Default for ImVector_ImU32 {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImFontGlyphRangesBuilder {
pub UsedChars: ImVector_ImU32,
}
impl Default for ImFontGlyphRangesBuilder {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct ImFontAtlasCustomRect {
pub Width: cty::c_ushort,
pub Height: cty::c_ushort,
pub X: cty::c_ushort,
pub Y: cty::c_ushort,
pub GlyphID: cty::c_uint,
pub GlyphAdvanceX: f32,
pub GlyphOffset: ImVec2,
pub Font: *mut ImFont,
}
impl Default for ImFontAtlasCustomRect {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
pub const ImFontAtlasFlags_None: ImFontAtlasFlags_ = 0;
pub const ImFontAtlasFlags_NoPowerOfTwoHeight: ImFontAtlasFlags_ = 1;
pub const ImFontAtlasFlags_NoMouseCursors: ImFontAtlasFlags_ = 2;
pub const ImFontAtlasFlags_NoBakedLines: ImFontAtlasFlags_ = 4;
pub type ImFontAtlasFlags_ = cty::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_ImFontPtr {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut *mut ImFont,
}
impl Default for ImVector_ImFontPtr {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_ImFontAtlasCustomRect {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut ImFontAtlasCustomRect,
}
impl Default for ImVector_ImFontAtlasCustomRect {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_ImFontConfig {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut ImFontConfig,
}
impl Default for ImVector_ImFontConfig {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct ImFontAtlas {
pub Flags: ImFontAtlasFlags,
pub TexID: ImTextureID,
pub TexDesiredWidth: cty::c_int,
pub TexGlyphPadding: cty::c_int,
pub Locked: bool,
pub UserData: *mut cty::c_void,
pub TexReady: bool,
pub TexPixelsUseColors: bool,
pub TexPixelsAlpha8: *mut cty::c_uchar,
pub TexPixelsRGBA32: *mut cty::c_uint,
pub TexWidth: cty::c_int,
pub TexHeight: cty::c_int,
pub TexUvScale: ImVec2,
pub TexUvWhitePixel: ImVec2,
pub Fonts: ImVector_ImFontPtr,
pub CustomRects: ImVector_ImFontAtlasCustomRect,
pub ConfigData: ImVector_ImFontConfig,
pub TexUvLines: [ImVec4; 64usize],
pub FontBuilderIO: *const ImFontBuilderIO,
pub FontBuilderFlags: cty::c_uint,
pub PackIdMouseCursors: cty::c_int,
pub PackIdLines: cty::c_int,
}
impl Default for ImFontAtlas {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_float {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut f32,
}
impl Default for ImVector_float {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, Hash, PartialEq, Eq)]
pub struct ImVector_ImFontGlyph {
pub Size: cty::c_int,
pub Capacity: cty::c_int,
pub Data: *mut ImFontGlyph,
}
impl Default for ImVector_ImFontGlyph {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct ImFont {
pub IndexAdvanceX: ImVector_float,
pub FallbackAdvanceX: f32,
pub FontSize: f32,
pub IndexLookup: ImVector_ImWchar,
pub Glyphs: ImVector_ImFontGlyph,
pub FallbackGlyph: *const ImFontGlyph,
pub ContainerAtlas: *mut ImFontAtlas,
pub ConfigData: *const ImFontConfig,
pub ConfigDataCount: cty::c_short,
pub FallbackChar: ImWchar,
pub EllipsisChar: ImWchar,
pub DotChar: ImWchar,
pub DirtyLookupTables: bool,
pub Scale: f32,
pub Ascent: f32,
pub Descent: f32,
pub MetricsTotalSurface: cty::c_int,
pub Used4kPagesMap: [ImU8; 34usize],
}
impl Default for ImFont {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
pub const ImGuiViewportFlags_None: ImGuiViewportFlags_ = 0;
pub const ImGuiViewportFlags_IsPlatformWindow: ImGuiViewportFlags_ = 1;
pub const ImGuiViewportFlags_IsPlatformMonitor: ImGuiViewportFlags_ = 2;
pub const ImGuiViewportFlags_OwnedByApp: ImGuiViewportFlags_ = 4;
pub type ImGuiViewportFlags_ = cty::c_uint;
#[repr(C)]
#[derive(Debug, Copy, Clone, PartialEq)]
pub struct ImGuiViewport {
pub Flags: ImGuiViewportFlags,
pub Pos: ImVec2,
pub Size: ImVec2,
pub WorkPos: ImVec2,
pub WorkSize: ImVec2,
pub PlatformHandleRaw: *mut cty::c_void,
}
impl Default for ImGuiViewport {
fn default() -> Self {
let mut s = ::core::mem::MaybeUninit::<Self>::uninit();
unsafe {
::core::ptr::write_bytes(s.as_mut_ptr(), 0, 1);
s.assume_init()
}
}
}
#[repr(C)]
#[derive(Debug, Default, Copy, Clone, PartialEq)]
pub struct ImGuiPlatformImeData {
pub WantVisible: bool,
pub InputPos: ImVec2,
pub InputLineHeight: f32,
}
extern "C" {
pub fn ImVec2_ImVec2_Nil() -> *mut ImVec2;
}
extern "C" {
pub fn ImVec2_destroy(self_: *mut ImVec2);
}
extern "C" {
pub fn ImVec2_ImVec2_Float(_x: f32, _y: f32) -> *mut ImVec2;
}
extern "C" {
pub fn ImVec4_ImVec4_Nil() -> *mut ImVec4;
}
extern "C" {
pub fn ImVec4_destroy(self_: *mut ImVec4);
}
extern "C" {
pub fn ImVec4_ImVec4_Float(_x: f32, _y: f32, _z: f32, _w: f32) -> *mut ImVec4;
}
extern "C" {
pub fn igCreateContext(shared_font_atlas: *mut ImFontAtlas) -> *mut ImGuiContext;
}
extern "C" {
pub fn igDestroyContext(ctx: *mut ImGuiContext);
}
extern "C" {
pub fn igGetCurrentContext() -> *mut ImGuiContext;
}
extern "C" {
pub fn igSetCurrentContext(ctx: *mut ImGuiContext);
}
extern "C" {
pub fn igGetIO() -> *mut ImGuiIO;
}
extern "C" {
pub fn igGetStyle() -> *mut ImGuiStyle;
}
extern "C" {
pub fn igNewFrame();
}
extern "C" {
pub fn igEndFrame();
}
extern "C" {
pub fn igRender();
}
extern "C" {
pub fn igGetDrawData() -> *mut ImDrawData;
}
extern "C" {
pub fn igShowDemoWindow(p_open: *mut bool);
}
extern "C" {
pub fn igShowMetricsWindow(p_open: *mut bool);
}
extern "C" {
pub fn igShowDebugLogWindow(p_open: *mut bool);
}
extern "C" {
pub fn igShowStackToolWindow(p_open: *mut bool);
}
extern "C" {
pub fn igShowAboutWindow(p_open: *mut bool);
}
extern "C" {
pub fn igShowStyleEditor(ref_: *mut ImGuiStyle);
}
extern "C" {
pub fn igShowStyleSelector(label: *const cty::c_char) -> bool;
}
extern "C" {
pub fn igShowFontSelector(label: *const cty::c_char);
}
extern "C" {
pub fn igShowUserGuide();
}
extern "C" {
pub fn igGetVersion() -> *const cty::c_char;
}
extern "C" {
pub fn igStyleColorsDark(dst: *mut ImGuiStyle);
}
extern "C" {
pub fn igStyleColorsLight(dst: *mut ImGuiStyle);
}
extern "C" {
pub fn igStyleColorsClassic(dst: *mut ImGuiStyle);
}
extern "C" {
pub fn igBegin(name: *const cty::c_char, p_open: *mut bool, flags: ImGuiWindowFlags) -> bool;
}
extern "C" {
pub fn igEnd();
}
extern "C" {
pub fn igBeginChild_Str(
str_id: *const cty::c_char,
size: ImVec2,
border: bool,
flags: ImGuiWindowFlags,
) -> bool;
}
extern "C" {
pub fn igBeginChild_ID(
id: ImGuiID,
size: ImVec2,
border: bool,
flags: ImGuiWindowFlags,
) -> bool;
}
extern "C" {
pub fn igEndChild();
}
extern "C" {
pub fn igIsWindowAppearing() -> bool;
}
extern "C" {
pub fn igIsWindowCollapsed() -> bool;
}
extern "C" {
pub fn igIsWindowFocused(flags: ImGuiFocusedFlags) -> bool;
}
extern "C" {
pub fn igIsWindowHovered(flags: ImGuiHoveredFlags) -> bool;
}
extern "C" {
pub fn igGetWindowDrawList() -> *mut ImDrawList;
}
extern "C" {
pub fn igGetWindowPos(pOut: *mut ImVec2);
}
extern "C" {
pub fn igGetWindowSize(pOut: *mut ImVec2);
}
extern "C" {
pub fn igGetWindowWidth() -> f32;
}
extern "C" {
pub fn igGetWindowHeight() -> f32;
}
extern "C" {
pub fn igSetNextWindowPos(pos: ImVec2, cond: ImGuiCond, pivot: ImVec2);
}
extern "C" {
pub fn igSetNextWindowSize(size: ImVec2, cond: ImGuiCond);
}
extern "C" {
pub fn igSetNextWindowSizeConstraints(
size_min: ImVec2,
size_max: ImVec2,
custom_callback: ImGuiSizeCallback,
custom_callback_data: *mut cty::c_void,
);
}
extern "C" {
pub fn igSetNextWindowContentSize(size: ImVec2);
}
extern "C" {
pub fn igSetNextWindowCollapsed(collapsed: bool, cond: ImGuiCond);
}
extern "C" {
pub fn igSetNextWindowFocus();
}
extern "C" {
pub fn igSetNextWindowScroll(scroll: ImVec2);
}
extern "C" {
pub fn igSetNextWindowBgAlpha(alpha: f32);
}
extern "C" {
pub fn igSetWindowPos_Vec2(pos: ImVec2, cond: ImGuiCond);
}
extern "C" {
pub fn igSetWindowSize_Vec2(size: ImVec2, cond: ImGuiCond);
}
extern "C" {
pub fn igSetWindowCollapsed_Bool(collapsed: bool, cond: ImGuiCond);
}
extern "C" {
pub fn igSetWindowFocus_Nil();
}
extern "C" {
pub fn igSetWindowFontScale(scale: f32);
}
extern "C" {
pub fn igSetWindowPos_Str(name: *const cty::c_char, pos: ImVec2, cond: ImGuiCond);
}
extern "C" {
pub fn igSetWindowSize_Str(name: *const cty::c_char, size: ImVec2, cond: ImGuiCond);
}
extern "C" {
pub fn igSetWindowCollapsed_Str(name: *const cty::c_char, collapsed: bool, cond: ImGuiCond);
}
extern "C" {
pub fn igSetWindowFocus_Str(name: *const cty::c_char);
}
extern "C" {
pub fn igGetContentRegionAvail(pOut: *mut ImVec2);
}
extern "C" {
pub fn igGetContentRegionMax(pOut: *mut ImVec2);
}
extern "C" {
pub fn igGetWindowContentRegionMin(pOut: *mut ImVec2);
}
extern "C" {
pub fn igGetWindowContentRegionMax(pOut: *mut ImVec2);
}
extern "C" {
pub fn igGetScrollX() -> f32;
}
extern "C" {
pub fn igGetScrollY() -> f32;
}
extern "C" {
pub fn igSetScrollX(scroll_x: f32);
}
extern "C" {
pub fn igSetScrollY(scroll_y: f32);
}
extern "C" {
pub fn igGetScrollMaxX() -> f32;
}
extern "C" {
pub fn igGetScrollMaxY() -> f32;
}
extern "C" {
pub fn igSetScrollHereX(center_x_ratio: f32);
}
extern "C" {
pub fn igSetScrollHereY(center_y_ratio: f32);
}
extern "C" {
pub fn igSetScrollFromPosX(local_x: f32, center_x_ratio: f32);
}
extern "C" {
pub fn igSetScrollFromPosY(local_y: f32, center_y_ratio: f32);
}
extern "C" {
pub fn igPushFont(font: *mut ImFont);
}
extern "C" {
pub fn igPopFont();
}
extern "C" {
pub fn igPushStyleColor_U32(idx: ImGuiCol, col: ImU32);
}
extern "C" {
pub fn igPushStyleColor_Vec4(idx: ImGuiCol, col: ImVec4);
}
extern "C" {
pub fn igPopStyleColor(count: cty::c_int);
}
extern "C" {
pub fn igPushStyleVar_Float(idx: ImGuiStyleVar, val: f32);
}
extern "C" {
pub fn igPushStyleVar_Vec2(idx: ImGuiStyleVar, val: ImVec2);
}
extern "C" {
pub fn igPopStyleVar(count: cty::c_int);
}
extern "C" {
pub fn igPushAllowKeyboardFocus(allow_keyboard_focus: bool);
}
extern "C" {
pub fn igPopAllowKeyboardFocus();
}
extern "C" {
pub fn igPushButtonRepeat(repeat: bool);
}
extern "C" {
pub fn igPopButtonRepeat();
}
extern "C" {
pub fn igPushItemWidth(item_width: f32);
}
extern "C" {
pub fn igPopItemWidth();
}
extern "C" {
pub fn igSetNextItemWidth(item_width: f32);
}
extern "C" {
pub fn igCalcItemWidth() -> f32;
}
extern "C" {
pub fn igPushTextWrapPos(wrap_local_pos_x: f32);
}
extern "C" {
pub fn igPopTextWrapPos();
}
extern "C" {
pub fn igGetFont() -> *mut ImFont;
}
extern "C" {
pub fn igGetFontSize() -> f32;
}
extern "C" {
pub fn igGetFontTexUvWhitePixel(pOut: *mut ImVec2);
}
extern "C" {
pub fn igGetColorU32_Col(idx: ImGuiCol, alpha_mul: f32) -> ImU32;
}
extern "C" {
pub fn igGetColorU32_Vec4(col: ImVec4) -> ImU32;
}
extern "C" {
pub fn igGetColorU32_U32(col: ImU32) -> ImU32;
}
extern "C" {
pub fn igGetStyleColorVec4(idx: ImGuiCol) -> *const ImVec4;
}
extern "C" {
pub fn igSeparator();
}
extern "C" {
pub fn igSameLine(offset_from_start_x: f32, spacing: f32);
}
extern "C" {
pub fn igNewLine();
}
extern "C" {
pub fn igSpacing();
}
extern "C" {
pub fn igDummy(size: ImVec2);
}
extern "C" {
pub fn igIndent(indent_w: f32);
}
extern "C" {
pub fn igUnindent(indent_w: f32);
}
extern "C" {
pub fn igBeginGroup();
}
extern "C" {
pub fn igEndGroup();
}
extern "C" {
pub fn igGetCursorPos(pOut: *mut ImVec2);
}
extern "C" {
pub fn igGetCursorPosX() -> f32;
}
extern "C" {
pub fn igGetCursorPosY() -> f32;
}
extern "C" {
pub fn igSetCursorPos(local_pos: ImVec2);
}
extern "C" {
pub fn igSetCursorPosX(local_x: f32);
}
extern "C" {
pub fn igSetCursorPosY(local_y: f32);
}
extern "C" {
pub fn igGetCursorStartPos(pOut: *mut ImVec2);
}
extern "C" {
pub fn igGetCursorScreenPos(pOut: *mut ImVec2);
}
extern "C" {
pub fn igSetCursorScreenPos(pos: ImVec2);
}
extern "C" {
pub fn igAlignTextToFramePadding();
}
extern "C" {
pub fn igGetTextLineHeight() -> f32;
}
extern "C" {
pub fn igGetTextLineHeightWithSpacing() -> f32;
}
extern "C" {
pub fn igGetFrameHeight() -> f32;
}
extern "C" {
pub fn igGetFrameHeightWithSpacing() -> f32;
}
extern "C" {
pub fn igPushID_Str(str_id: *const cty::c_char);
}
extern "C" {
pub fn igPushID_StrStr(str_id_begin: *const cty::c_char, str_id_end: *const cty::c_char);
}
extern "C" {
pub fn igPushID_Ptr(ptr_id: *const cty::c_void);
}
extern "C" {
pub fn igPushID_Int(int_id: cty::c_int);
}
extern "C" {
pub fn igPopID();
}
extern "C" {
pub fn igGetID_Str(str_id: *const cty::c_char) -> ImGuiID;
}
extern "C" {
pub fn igGetID_StrStr(
str_id_begin: *const cty::c_char,
str_id_end: *const cty::c_char,
) -> ImGuiID;
}
extern "C" {
pub fn igGetID_Ptr(ptr_id: *const cty::c_void) -> ImGuiID;
}
extern "C" {
pub fn igTextUnformatted(text: *const cty::c_char, text_end: *const cty::c_char);
}
extern "C" {
pub fn igText(fmt: *const cty::c_char, ...);
}
extern "C" {
pub fn igTextColored(col: ImVec4, fmt: *const cty::c_char, ...);
}
extern "C" {
pub fn igTextDisabled(fmt: *const cty::c_char, ...);
}
extern "C" {
pub fn igTextWrapped(fmt: *const cty::c_char, ...);
}
extern "C" {
pub fn igLabelText(label: *const cty::c_char, fmt: *const cty::c_char, ...);
}
extern "C" {
pub fn igBulletText(fmt: *const cty::c_char, ...);
}
extern "C" {
pub fn igButton(label: *const cty::c_char, size: ImVec2) -> bool;
}
extern "C" {
pub fn igSmallButton(label: *const cty::c_char) -> bool;
}
extern "C" {
pub fn igInvisibleButton(
str_id: *const cty::c_char,
size: ImVec2,
flags: ImGuiButtonFlags,
) -> bool;
}
extern "C" {
pub fn igArrowButton(str_id: *const cty::c_char, dir: ImGuiDir) -> bool;
}
extern "C" {
pub fn igCheckbox(label: *const cty::c_char, v: *mut bool) -> bool;
}
extern "C" {
pub fn igCheckboxFlags_IntPtr(
label: *const cty::c_char,
flags: *mut cty::c_int,
flags_value: cty::c_int,
) -> bool;
}
extern "C" {
pub fn igCheckboxFlags_UintPtr(
label: *const cty::c_char,
flags: *mut cty::c_uint,
flags_value: cty::c_uint,
) -> bool;
}
extern "C" {
pub fn igRadioButton_Bool(label: *const cty::c_char, active: bool) -> bool;
}
extern "C" {
pub fn igRadioButton_IntPtr(
label: *const cty::c_char,
v: *mut cty::c_int,
v_button: cty::c_int,
) -> bool;
}
extern "C" {
pub fn igProgressBar(fraction: f32, size_arg: ImVec2, overlay: *const cty::c_char);
}
extern "C" {
pub fn igBullet();
}
extern "C" {
pub fn igImage(
user_texture_id: ImTextureID,
size: ImVec2,
uv0: ImVec2,
uv1: ImVec2,
tint_col: ImVec4,
border_col: ImVec4,
);
}
extern "C" {
pub fn igImageButton(
str_id: *const cty::c_char,
user_texture_id: ImTextureID,
size: ImVec2,
uv0: ImVec2,
uv1: ImVec2,
bg_col: ImVec4,
tint_col: ImVec4,
) -> bool;
}
extern "C" {
pub fn igBeginCombo(
label: *const cty::c_char,
preview_value: *const cty::c_char,
flags: ImGuiComboFlags,
) -> bool;
}
extern "C" {
pub fn igEndCombo();
}
extern "C" {
pub fn igCombo_Str_arr(
label: *const cty::c_char,
current_item: *mut cty::c_int,
items: *const *const cty::c_char,
items_count: cty::c_int,
popup_max_height_in_items: cty::c_int,
) -> bool;
}
extern "C" {
pub fn igCombo_Str(
label: *const cty::c_char,
current_item: *mut cty::c_int,
items_separated_by_zeros: *const cty::c_char,
popup_max_height_in_items: cty::c_int,
) -> bool;
}
extern "C" {
pub fn igCombo_FnBoolPtr(
label: *const cty::c_char,
current_item: *mut cty::c_int,
items_getter: ::core::option::Option<
unsafe extern "C" fn(
data: *mut cty::c_void,
idx: cty::c_int,
out_text: *mut *const cty::c_char,
) -> bool,
>,
data: *mut cty::c_void,
items_count: cty::c_int,
popup_max_height_in_items: cty::c_int,
) -> bool;
}
extern "C" {
pub fn igDragFloat(
label: *const cty::c_char,
v: *mut f32,
v_speed: f32,
v_min: f32,
v_max: f32,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igDragFloat2(
label: *const cty::c_char,
v: *mut f32,
v_speed: f32,
v_min: f32,
v_max: f32,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igDragFloat3(
label: *const cty::c_char,
v: *mut f32,
v_speed: f32,
v_min: f32,
v_max: f32,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igDragFloat4(
label: *const cty::c_char,
v: *mut f32,
v_speed: f32,
v_min: f32,
v_max: f32,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igDragFloatRange2(
label: *const cty::c_char,
v_current_min: *mut f32,
v_current_max: *mut f32,
v_speed: f32,
v_min: f32,
v_max: f32,
format: *const cty::c_char,
format_max: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igDragInt(
label: *const cty::c_char,
v: *mut cty::c_int,
v_speed: f32,
v_min: cty::c_int,
v_max: cty::c_int,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igDragInt2(
label: *const cty::c_char,
v: *mut cty::c_int,
v_speed: f32,
v_min: cty::c_int,
v_max: cty::c_int,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igDragInt3(
label: *const cty::c_char,
v: *mut cty::c_int,
v_speed: f32,
v_min: cty::c_int,
v_max: cty::c_int,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igDragInt4(
label: *const cty::c_char,
v: *mut cty::c_int,
v_speed: f32,
v_min: cty::c_int,
v_max: cty::c_int,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igDragIntRange2(
label: *const cty::c_char,
v_current_min: *mut cty::c_int,
v_current_max: *mut cty::c_int,
v_speed: f32,
v_min: cty::c_int,
v_max: cty::c_int,
format: *const cty::c_char,
format_max: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igDragScalar(
label: *const cty::c_char,
data_type: ImGuiDataType,
p_data: *mut cty::c_void,
v_speed: f32,
p_min: *const cty::c_void,
p_max: *const cty::c_void,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igDragScalarN(
label: *const cty::c_char,
data_type: ImGuiDataType,
p_data: *mut cty::c_void,
components: cty::c_int,
v_speed: f32,
p_min: *const cty::c_void,
p_max: *const cty::c_void,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igSliderFloat(
label: *const cty::c_char,
v: *mut f32,
v_min: f32,
v_max: f32,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igSliderFloat2(
label: *const cty::c_char,
v: *mut f32,
v_min: f32,
v_max: f32,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igSliderFloat3(
label: *const cty::c_char,
v: *mut f32,
v_min: f32,
v_max: f32,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igSliderFloat4(
label: *const cty::c_char,
v: *mut f32,
v_min: f32,
v_max: f32,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igSliderAngle(
label: *const cty::c_char,
v_rad: *mut f32,
v_degrees_min: f32,
v_degrees_max: f32,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igSliderInt(
label: *const cty::c_char,
v: *mut cty::c_int,
v_min: cty::c_int,
v_max: cty::c_int,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igSliderInt2(
label: *const cty::c_char,
v: *mut cty::c_int,
v_min: cty::c_int,
v_max: cty::c_int,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igSliderInt3(
label: *const cty::c_char,
v: *mut cty::c_int,
v_min: cty::c_int,
v_max: cty::c_int,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igSliderInt4(
label: *const cty::c_char,
v: *mut cty::c_int,
v_min: cty::c_int,
v_max: cty::c_int,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igSliderScalar(
label: *const cty::c_char,
data_type: ImGuiDataType,
p_data: *mut cty::c_void,
p_min: *const cty::c_void,
p_max: *const cty::c_void,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igSliderScalarN(
label: *const cty::c_char,
data_type: ImGuiDataType,
p_data: *mut cty::c_void,
components: cty::c_int,
p_min: *const cty::c_void,
p_max: *const cty::c_void,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igVSliderFloat(
label: *const cty::c_char,
size: ImVec2,
v: *mut f32,
v_min: f32,
v_max: f32,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igVSliderInt(
label: *const cty::c_char,
size: ImVec2,
v: *mut cty::c_int,
v_min: cty::c_int,
v_max: cty::c_int,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igVSliderScalar(
label: *const cty::c_char,
size: ImVec2,
data_type: ImGuiDataType,
p_data: *mut cty::c_void,
p_min: *const cty::c_void,
p_max: *const cty::c_void,
format: *const cty::c_char,
flags: ImGuiSliderFlags,
) -> bool;
}
extern "C" {
pub fn igInputText(
label: *const cty::c_char,
buf: *mut cty::c_char,
buf_size: usize,
flags: ImGuiInputTextFlags,
callback: ImGuiInputTextCallback,
user_data: *mut cty::c_void,
) -> bool;
}
extern "C" {
pub fn igInputTextMultiline(
label: *const cty::c_char,
buf: *mut cty::c_char,
buf_size: usize,
size: ImVec2,
flags: ImGuiInputTextFlags,
callback: ImGuiInputTextCallback,
user_data: *mut cty::c_void,
) -> bool;
}
extern "C" {
pub fn igInputTextWithHint(
label: *const cty::c_char,
hint: *const cty::c_char,
buf: *mut cty::c_char,
buf_size: usize,
flags: ImGuiInputTextFlags,
callback: ImGuiInputTextCallback,
user_data: *mut cty::c_void,
) -> bool;
}
extern "C" {
pub fn igInputFloat(
label: *const cty::c_char,
v: *mut f32,
step: f32,
step_fast: f32,
format: *const cty::c_char,
flags: ImGuiInputTextFlags,
) -> bool;
}
extern "C" {
pub fn igInputFloat2(
label: *const cty::c_char,
v: *mut f32,
format: *const cty::c_char,
flags: ImGuiInputTextFlags,
) -> bool;
}
extern "C" {
pub fn igInputFloat3(
label: *const cty::c_char,
v: *mut f32,
format: *const cty::c_char,
flags: ImGuiInputTextFlags,
) -> bool;
}
extern "C" {
pub fn igInputFloat4(
label: *const cty::c_char,
v: *mut f32,
format: *const cty::c_char,
flags: ImGuiInputTextFlags,
) -> bool;
}
extern "C" {
pub fn igInputInt(
label: *const cty::c_char,
v: *mut cty::c_int,
step: cty::c_int,
step_fast: cty::c_int,
flags: ImGuiInputTextFlags,
) -> bool;
}
extern "C" {
pub fn igInputInt2(
label: *const cty::c_char,
v: *mut cty::c_int,
flags: ImGuiInputTextFlags,
) -> bool;
}
extern "C" {
pub fn igInputInt3(
label: *const cty::c_char,
v: *mut cty::c_int,
flags: ImGuiInputTextFlags,
) -> bool;
}
extern "C" {
pub fn igInputInt4(
label: *const cty::c_char,
v: *mut cty::c_int,
flags: ImGuiInputTextFlags,
) -> bool;
}
extern "C" {
pub fn igInputDouble(
label: *const cty::c_char,
v: *mut f64,
step: f64,
step_fast: f64,
format: *const cty::c_char,
flags: ImGuiInputTextFlags,
) -> bool;
}
extern "C" {
pub fn igInputScalar(
label: *const cty::c_char,
data_type: ImGuiDataType,
p_data: *mut cty::c_void,
p_step: *const cty::c_void,
p_step_fast: *const cty::c_void,
format: *const cty::c_char,
flags: ImGuiInputTextFlags,
) -> bool;
}
extern "C" {
pub fn igInputScalarN(
label: *const cty::c_char,
data_type: ImGuiDataType,
p_data: *mut cty::c_void,
components: cty::c_int,
p_step: *const cty::c_void,
p_step_fast: *const cty::c_void,
format: *const cty::c_char,
flags: ImGuiInputTextFlags,
) -> bool;
}
extern "C" {
pub fn igColorEdit3(
label: *const cty::c_char,
col: *mut f32,
flags: ImGuiColorEditFlags,
) -> bool;
}
extern "C" {
pub fn igColorEdit4(
label: *const cty::c_char,
col: *mut f32,
flags: ImGuiColorEditFlags,
) -> bool;
}
extern "C" {
pub fn igColorPicker3(
label: *const cty::c_char,
col: *mut f32,
flags: ImGuiColorEditFlags,
) -> bool;
}
extern "C" {
pub fn igColorPicker4(
label: *const cty::c_char,
col: *mut f32,
flags: ImGuiColorEditFlags,
ref_col: *const f32,
) -> bool;
}
extern "C" {
pub fn igColorButton(
desc_id: *const cty::c_char,
col: ImVec4,
flags: ImGuiColorEditFlags,
size: ImVec2,
) -> bool;
}
extern "C" {
pub fn igSetColorEditOptions(flags: ImGuiColorEditFlags);
}
extern "C" {
pub fn igTreeNode_Str(label: *const cty::c_char) -> bool;
}
extern "C" {
pub fn igTreeNode_StrStr(str_id: *const cty::c_char, fmt: *const cty::c_char, ...) -> bool;
}
extern "C" {
pub fn igTreeNode_Ptr(ptr_id: *const cty::c_void, fmt: *const cty::c_char, ...) -> bool;
}
extern "C" {
pub fn igTreeNodeEx_Str(label: *const cty::c_char, flags: ImGuiTreeNodeFlags) -> bool;
}
extern "C" {
pub fn igTreeNodeEx_StrStr(
str_id: *const cty::c_char,
flags: ImGuiTreeNodeFlags,
fmt: *const cty::c_char,
...
) -> bool;
}
extern "C" {
pub fn igTreeNodeEx_Ptr(
ptr_id: *const cty::c_void,
flags: ImGuiTreeNodeFlags,
fmt: *const cty::c_char,
...
) -> bool;
}
extern "C" {
pub fn igTreePush_Str(str_id: *const cty::c_char);
}
extern "C" {
pub fn igTreePush_Ptr(ptr_id: *const cty::c_void);
}
extern "C" {
pub fn igTreePop();
}
extern "C" {
pub fn igGetTreeNodeToLabelSpacing() -> f32;
}
extern "C" {
pub fn igCollapsingHeader_TreeNodeFlags(
label: *const cty::c_char,
flags: ImGuiTreeNodeFlags,
) -> bool;
}
extern "C" {
pub fn igCollapsingHeader_BoolPtr(
label: *const cty::c_char,
p_visible: *mut bool,
flags: ImGuiTreeNodeFlags,
) -> bool;
}
extern "C" {
pub fn igSetNextItemOpen(is_open: bool, cond: ImGuiCond);
}
extern "C" {
pub fn igSelectable_Bool(
label: *const cty::c_char,
selected: bool,
flags: ImGuiSelectableFlags,
size: ImVec2,
) -> bool;
}
extern "C" {
pub fn igSelectable_BoolPtr(
label: *const cty::c_char,
p_selected: *mut bool,
flags: ImGuiSelectableFlags,
size: ImVec2,
) -> bool;
}
extern "C" {
pub fn igBeginListBox(label: *const cty::c_char, size: ImVec2) -> bool;
}
extern "C" {
pub fn igEndListBox();
}
extern "C" {
pub fn igListBox_Str_arr(
label: *const cty::c_char,
current_item: *mut cty::c_int,
items: *const *const cty::c_char,
items_count: cty::c_int,
height_in_items: cty::c_int,
) -> bool;
}
extern "C" {
pub fn igListBox_FnBoolPtr(
label: *const cty::c_char,
current_item: *mut cty::c_int,
items_getter: ::core::option::Option<
unsafe extern "C" fn(
data: *mut cty::c_void,
idx: cty::c_int,
out_text: *mut *const cty::c_char,
) -> bool,
>,
data: *mut cty::c_void,
items_count: cty::c_int,
height_in_items: cty::c_int,
) -> bool;
}
extern "C" {
pub fn igPlotLines_FloatPtr(
label: *const cty::c_char,
values: *const f32,
values_count: cty::c_int,
values_offset: cty::c_int,
overlay_text: *const cty::c_char,
scale_min: f32,
scale_max: f32,
graph_size: ImVec2,
stride: cty::c_int,
);
}
extern "C" {
pub fn igPlotLines_FnFloatPtr(
label: *const cty::c_char,
values_getter: ::core::option::Option<
unsafe extern "C" fn(data: *mut cty::c_void, idx: cty::c_int) -> f32,
>,
data: *mut cty::c_void,
values_count: cty::c_int,
values_offset: cty::c_int,
overlay_text: *const cty::c_char,
scale_min: f32,
scale_max: f32,
graph_size: ImVec2,
);
}
extern "C" {
pub fn igPlotHistogram_FloatPtr(
label: *const cty::c_char,
values: *const f32,
values_count: cty::c_int,
values_offset: cty::c_int,
overlay_text: *const cty::c_char,
scale_min: f32,
scale_max: f32,
graph_size: ImVec2,
stride: cty::c_int,
);
}
extern "C" {
pub fn igPlotHistogram_FnFloatPtr(
label: *const cty::c_char,
values_getter: ::core::option::Option<
unsafe extern "C" fn(data: *mut cty::c_void, idx: cty::c_int) -> f32,
>,
data: *mut cty::c_void,
values_count: cty::c_int,
values_offset: cty::c_int,
overlay_text: *const cty::c_char,
scale_min: f32,
scale_max: f32,
graph_size: ImVec2,
);
}
extern "C" {
pub fn igValue_Bool(prefix: *const cty::c_char, b: bool);
}
extern "C" {
pub fn igValue_Int(prefix: *const cty::c_char, v: cty::c_int);
}
extern "C" {
pub fn igValue_Uint(prefix: *const cty::c_char, v: cty::c_uint);
}
extern "C" {
pub fn igValue_Float(prefix: *const cty::c_char, v: f32, float_format: *const cty::c_char);
}
extern "C" {
pub fn igBeginMenuBar() -> bool;
}
extern "C" {
pub fn igEndMenuBar();
}
extern "C" {
pub fn igBeginMainMenuBar() -> bool;
}
extern "C" {
pub fn igEndMainMenuBar();
}
extern "C" {
pub fn igBeginMenu(label: *const cty::c_char, enabled: bool) -> bool;
}
extern "C" {
pub fn igEndMenu();
}
extern "C" {
pub fn igMenuItem_Bool(
label: *const cty::c_char,
shortcut: *const cty::c_char,
selected: bool,
enabled: bool,
) -> bool;
}
extern "C" {
pub fn igMenuItem_BoolPtr(
label: *const cty::c_char,
shortcut: *const cty::c_char,
p_selected: *mut bool,
enabled: bool,
) -> bool;
}
extern "C" {
pub fn igBeginTooltip();
}
extern "C" {
pub fn igEndTooltip();
}
extern "C" {
pub fn igSetTooltip(fmt: *const cty::c_char, ...);
}
extern "C" {
pub fn igBeginPopup(str_id: *const cty::c_char, flags: ImGuiWindowFlags) -> bool;
}
extern "C" {
pub fn igBeginPopupModal(
name: *const cty::c_char,
p_open: *mut bool,
flags: ImGuiWindowFlags,
) -> bool;
}
extern "C" {
pub fn igEndPopup();
}
extern "C" {
pub fn igOpenPopup_Str(str_id: *const cty::c_char, popup_flags: ImGuiPopupFlags);
}
extern "C" {
pub fn igOpenPopup_ID(id: ImGuiID, popup_flags: ImGuiPopupFlags);
}
extern "C" {
pub fn igOpenPopupOnItemClick(str_id: *const cty::c_char, popup_flags: ImGuiPopupFlags);
}
extern "C" {
pub fn igCloseCurrentPopup();
}
extern "C" {
pub fn igBeginPopupContextItem(
str_id: *const cty::c_char,
popup_flags: ImGuiPopupFlags,
) -> bool;
}
extern "C" {
pub fn igBeginPopupContextWindow(
str_id: *const cty::c_char,
popup_flags: ImGuiPopupFlags,
) -> bool;
}
extern "C" {
pub fn igBeginPopupContextVoid(
str_id: *const cty::c_char,
popup_flags: ImGuiPopupFlags,
) -> bool;
}
extern "C" {
pub fn igIsPopupOpen(str_id: *const cty::c_char, flags: ImGuiPopupFlags) -> bool;
}
extern "C" {
pub fn igBeginTable(
str_id: *const cty::c_char,
column: cty::c_int,
flags: ImGuiTableFlags,
outer_size: ImVec2,
inner_width: f32,
) -> bool;
}
extern "C" {
pub fn igEndTable();
}
extern "C" {
pub fn igTableNextRow(row_flags: ImGuiTableRowFlags, min_row_height: f32);
}
extern "C" {
pub fn igTableNextColumn() -> bool;
}
extern "C" {
pub fn igTableSetColumnIndex(column_n: cty::c_int) -> bool;
}
extern "C" {
pub fn igTableSetupColumn(
label: *const cty::c_char,
flags: ImGuiTableColumnFlags,
init_width_or_weight: f32,
user_id: ImGuiID,
);
}
extern "C" {
pub fn igTableSetupScrollFreeze(cols: cty::c_int, rows: cty::c_int);
}
extern "C" {
pub fn igTableHeadersRow();
}
extern "C" {
pub fn igTableHeader(label: *const cty::c_char);
}
extern "C" {
pub fn igTableGetSortSpecs() -> *mut ImGuiTableSortSpecs;
}
extern "C" {
pub fn igTableGetColumnCount() -> cty::c_int;
}
extern "C" {
pub fn igTableGetColumnIndex() -> cty::c_int;
}
extern "C" {
pub fn igTableGetRowIndex() -> cty::c_int;
}
extern "C" {
pub fn igTableGetColumnName(column_n: cty::c_int) -> *const cty::c_char;
}
extern "C" {
pub fn igTableGetColumnFlags(column_n: cty::c_int) -> ImGuiTableColumnFlags;
}
extern "C" {
pub fn igTableSetColumnEnabled(column_n: cty::c_int, v: bool);
}
extern "C" {
pub fn igTableSetBgColor(target: ImGuiTableBgTarget, color: ImU32, column_n: cty::c_int);
}
extern "C" {
pub fn igColumns(count: cty::c_int, id: *const cty::c_char, border: bool);
}
extern "C" {
pub fn igNextColumn();
}
extern "C" {
pub fn igGetColumnIndex() -> cty::c_int;
}
extern "C" {
pub fn igGetColumnWidth(column_index: cty::c_int) -> f32;
}
extern "C" {
pub fn igSetColumnWidth(column_index: cty::c_int, width: f32);
}
extern "C" {
pub fn igGetColumnOffset(column_index: cty::c_int) -> f32;
}
extern "C" {
pub fn igSetColumnOffset(column_index: cty::c_int, offset_x: f32);
}
extern "C" {
pub fn igGetColumnsCount() -> cty::c_int;
}
extern "C" {
pub fn igBeginTabBar(str_id: *const cty::c_char, flags: ImGuiTabBarFlags) -> bool;
}
extern "C" {
pub fn igEndTabBar();
}
extern "C" {
pub fn igBeginTabItem(
label: *const cty::c_char,
p_open: *mut bool,
flags: ImGuiTabItemFlags,
) -> bool;
}
extern "C" {
pub fn igEndTabItem();
}
extern "C" {
pub fn igTabItemButton(label: *const cty::c_char, flags: ImGuiTabItemFlags) -> bool;
}
extern "C" {
pub fn igSetTabItemClosed(tab_or_docked_window_label: *const cty::c_char);
}
extern "C" {
pub fn igLogToTTY(auto_open_depth: cty::c_int);
}
extern "C" {
pub fn igLogToFile(auto_open_depth: cty::c_int, filename: *const cty::c_char);
}
extern "C" {
pub fn igLogToClipboard(auto_open_depth: cty::c_int);
}
extern "C" {
pub fn igLogFinish();
}
extern "C" {
pub fn igLogButtons();
}
extern "C" {
pub fn igBeginDragDropSource(flags: ImGuiDragDropFlags) -> bool;
}
extern "C" {
pub fn igSetDragDropPayload(
type_: *const cty::c_char,
data: *const cty::c_void,
sz: usize,
cond: ImGuiCond,
) -> bool;
}
extern "C" {
pub fn igEndDragDropSource();
}
extern "C" {
pub fn igBeginDragDropTarget() -> bool;
}
extern "C" {
pub fn igAcceptDragDropPayload(
type_: *const cty::c_char,
flags: ImGuiDragDropFlags,
) -> *const ImGuiPayload;
}
extern "C" {
pub fn igEndDragDropTarget();
}
extern "C" {
pub fn igGetDragDropPayload() -> *const ImGuiPayload;
}
extern "C" {
pub fn igBeginDisabled(disabled: bool);
}
extern "C" {
pub fn igEndDisabled();
}
extern "C" {
pub fn igPushClipRect(
clip_rect_min: ImVec2,
clip_rect_max: ImVec2,
intersect_with_current_clip_rect: bool,
);
}
extern "C" {
pub fn igPopClipRect();
}
extern "C" {
pub fn igSetItemDefaultFocus();
}
extern "C" {
pub fn igSetKeyboardFocusHere(offset: cty::c_int);
}
extern "C" {
pub fn igIsItemHovered(flags: ImGuiHoveredFlags) -> bool;
}
extern "C" {
pub fn igIsItemActive() -> bool;
}
extern "C" {
pub fn igIsItemFocused() -> bool;
}
extern "C" {
pub fn igIsItemClicked(mouse_button: ImGuiMouseButton) -> bool;
}
extern "C" {
pub fn igIsItemVisible() -> bool;
}
extern "C" {
pub fn igIsItemEdited() -> bool;
}
extern "C" {
pub fn igIsItemActivated() -> bool;
}
extern "C" {
pub fn igIsItemDeactivated() -> bool;
}
extern "C" {
pub fn igIsItemDeactivatedAfterEdit() -> bool;
}
extern "C" {
pub fn igIsItemToggledOpen() -> bool;
}
extern "C" {
pub fn igIsAnyItemHovered() -> bool;
}
extern "C" {
pub fn igIsAnyItemActive() -> bool;
}
extern "C" {
pub fn igIsAnyItemFocused() -> bool;
}
extern "C" {
pub fn igGetItemID() -> ImGuiID;
}
extern "C" {
pub fn igGetItemRectMin(pOut: *mut ImVec2);
}
extern "C" {
pub fn igGetItemRectMax(pOut: *mut ImVec2);
}
extern "C" {
pub fn igGetItemRectSize(pOut: *mut ImVec2);
}
extern "C" {
pub fn igSetItemAllowOverlap();
}
extern "C" {
pub fn igGetMainViewport() -> *mut ImGuiViewport;
}
extern "C" {
pub fn igGetBackgroundDrawList() -> *mut ImDrawList;
}
extern "C" {
pub fn igGetForegroundDrawList() -> *mut ImDrawList;
}
extern "C" {
pub fn igIsRectVisible_Nil(size: ImVec2) -> bool;
}
extern "C" {
pub fn igIsRectVisible_Vec2(rect_min: ImVec2, rect_max: ImVec2) -> bool;
}
extern "C" {
pub fn igGetTime() -> f64;
}
extern "C" {
pub fn igGetFrameCount() -> cty::c_int;
}
extern "C" {
pub fn igGetDrawListSharedData() -> *mut ImDrawListSharedData;
}
extern "C" {
pub fn igGetStyleColorName(idx: ImGuiCol) -> *const cty::c_char;
}
extern "C" {
pub fn igSetStateStorage(storage: *mut ImGuiStorage);
}
extern "C" {
pub fn igGetStateStorage() -> *mut ImGuiStorage;
}
extern "C" {
pub fn igBeginChildFrame(id: ImGuiID, size: ImVec2, flags: ImGuiWindowFlags) -> bool;
}
extern "C" {
pub fn igEndChildFrame();
}
extern "C" {
pub fn igCalcTextSize(
pOut: *mut ImVec2,
text: *const cty::c_char,
text_end: *const cty::c_char,
hide_text_after_double_hash: bool,
wrap_width: f32,
);
}
extern "C" {
pub fn igColorConvertU32ToFloat4(pOut: *mut ImVec4, in_: ImU32);
}
extern "C" {
pub fn igColorConvertFloat4ToU32(in_: ImVec4) -> ImU32;
}
extern "C" {
pub fn igColorConvertRGBtoHSV(
r: f32,
g: f32,
b: f32,
out_h: *mut f32,
out_s: *mut f32,
out_v: *mut f32,
);
}
extern "C" {
pub fn igColorConvertHSVtoRGB(
h: f32,
s: f32,
v: f32,
out_r: *mut f32,
out_g: *mut f32,
out_b: *mut f32,
);
}
extern "C" {
pub fn igIsKeyDown(key: ImGuiKey) -> bool;
}
extern "C" {
pub fn igIsKeyPressed(key: ImGuiKey, repeat: bool) -> bool;
}
extern "C" {
pub fn igIsKeyReleased(key: ImGuiKey) -> bool;
}
extern "C" {
pub fn igGetKeyPressedAmount(key: ImGuiKey, repeat_delay: f32, rate: f32) -> cty::c_int;
}
extern "C" {
pub fn igGetKeyName(key: ImGuiKey) -> *const cty::c_char;
}
extern "C" {
pub fn igSetNextFrameWantCaptureKeyboard(want_capture_keyboard: bool);
}
extern "C" {
pub fn igIsMouseDown(button: ImGuiMouseButton) -> bool;
}
extern "C" {
pub fn igIsMouseClicked(button: ImGuiMouseButton, repeat: bool) -> bool;
}
extern "C" {
pub fn igIsMouseReleased(button: ImGuiMouseButton) -> bool;
}
extern "C" {
pub fn igIsMouseDoubleClicked(button: ImGuiMouseButton) -> bool;
}
extern "C" {
pub fn igGetMouseClickedCount(button: ImGuiMouseButton) -> cty::c_int;
}
extern "C" {
pub fn igIsMouseHoveringRect(r_min: ImVec2, r_max: ImVec2, clip: bool) -> bool;
}
extern "C" {
pub fn igIsMousePosValid(mouse_pos: *const ImVec2) -> bool;
}
extern "C" {
pub fn igIsAnyMouseDown() -> bool;
}
extern "C" {
pub fn igGetMousePos(pOut: *mut ImVec2);
}
extern "C" {
pub fn igGetMousePosOnOpeningCurrentPopup(pOut: *mut ImVec2);
}
extern "C" {
pub fn igIsMouseDragging(button: ImGuiMouseButton, lock_threshold: f32) -> bool;
}
extern "C" {
pub fn igGetMouseDragDelta(pOut: *mut ImVec2, button: ImGuiMouseButton, lock_threshold: f32);
}
extern "C" {
pub fn igResetMouseDragDelta(button: ImGuiMouseButton);
}
extern "C" {
pub fn igGetMouseCursor() -> ImGuiMouseCursor;
}
extern "C" {
pub fn igSetMouseCursor(cursor_type: ImGuiMouseCursor);
}
extern "C" {
pub fn igSetNextFrameWantCaptureMouse(want_capture_mouse: bool);
}
extern "C" {
pub fn igGetClipboardText() -> *const cty::c_char;
}
extern "C" {
pub fn igSetClipboardText(text: *const cty::c_char);
}
extern "C" {
pub fn igLoadIniSettingsFromDisk(ini_filename: *const cty::c_char);
}
extern "C" {
pub fn igLoadIniSettingsFromMemory(ini_data: *const cty::c_char, ini_size: usize);
}
extern "C" {
pub fn igSaveIniSettingsToDisk(ini_filename: *const cty::c_char);
}
extern "C" {
pub fn igSaveIniSettingsToMemory(out_ini_size: *mut usize) -> *const cty::c_char;
}
extern "C" {
pub fn igDebugTextEncoding(text: *const cty::c_char);
}
extern "C" {
pub fn igDebugCheckVersionAndDataLayout(
version_str: *const cty::c_char,
sz_io: usize,
sz_style: usize,
sz_vec2: usize,
sz_vec4: usize,
sz_drawvert: usize,
sz_drawidx: usize,
) -> bool;
}
extern "C" {
pub fn igSetAllocatorFunctions(
alloc_func: ImGuiMemAllocFunc,
free_func: ImGuiMemFreeFunc,
user_data: *mut cty::c_void,
);
}
extern "C" {
pub fn igGetAllocatorFunctions(
p_alloc_func: *mut ImGuiMemAllocFunc,
p_free_func: *mut ImGuiMemFreeFunc,
p_user_data: *mut *mut cty::c_void,
);
}
extern "C" {
pub fn igMemAlloc(size: usize) -> *mut cty::c_void;
}
extern "C" {
pub fn igMemFree(ptr: *mut cty::c_void);
}
extern "C" {
pub fn ImGuiStyle_ImGuiStyle() -> *mut ImGuiStyle;
}
extern "C" {
pub fn ImGuiStyle_destroy(self_: *mut ImGuiStyle);
}
extern "C" {
pub fn ImGuiStyle_ScaleAllSizes(self_: *mut ImGuiStyle, scale_factor: f32);
}
extern "C" {
pub fn ImGuiIO_AddKeyEvent(self_: *mut ImGuiIO, key: ImGuiKey, down: bool);
}
extern "C" {
pub fn ImGuiIO_AddKeyAnalogEvent(self_: *mut ImGuiIO, key: ImGuiKey, down: bool, v: f32);
}
extern "C" {
pub fn ImGuiIO_AddMousePosEvent(self_: *mut ImGuiIO, x: f32, y: f32);
}
extern "C" {
pub fn ImGuiIO_AddMouseButtonEvent(self_: *mut ImGuiIO, button: cty::c_int, down: bool);
}
extern "C" {
pub fn ImGuiIO_AddMouseWheelEvent(self_: *mut ImGuiIO, wh_x: f32, wh_y: f32);
}
extern "C" {
pub fn ImGuiIO_AddFocusEvent(self_: *mut ImGuiIO, focused: bool);
}
extern "C" {
pub fn ImGuiIO_AddInputCharacter(self_: *mut ImGuiIO, c: cty::c_uint);
}
extern "C" {
pub fn ImGuiIO_AddInputCharacterUTF16(self_: *mut ImGuiIO, c: ImWchar16);
}
extern "C" {
pub fn ImGuiIO_AddInputCharactersUTF8(self_: *mut ImGuiIO, str_: *const cty::c_char);
}
extern "C" {
pub fn ImGuiIO_SetKeyEventNativeData(
self_: *mut ImGuiIO,
key: ImGuiKey,
native_keycode: cty::c_int,
native_scancode: cty::c_int,
native_legacy_index: cty::c_int,
);
}
extern "C" {
pub fn ImGuiIO_SetAppAcceptingEvents(self_: *mut ImGuiIO, accepting_events: bool);
}
extern "C" {
pub fn ImGuiIO_ClearInputCharacters(self_: *mut ImGuiIO);
}
extern "C" {
pub fn ImGuiIO_ClearInputKeys(self_: *mut ImGuiIO);
}
extern "C" {
pub fn ImGuiIO_ImGuiIO() -> *mut ImGuiIO;
}
extern "C" {
pub fn ImGuiIO_destroy(self_: *mut ImGuiIO);
}
extern "C" {
pub fn ImGuiInputTextCallbackData_ImGuiInputTextCallbackData() -> *mut ImGuiInputTextCallbackData;
}
extern "C" {
pub fn ImGuiInputTextCallbackData_destroy(self_: *mut ImGuiInputTextCallbackData);
}
extern "C" {
pub fn ImGuiInputTextCallbackData_DeleteChars(
self_: *mut ImGuiInputTextCallbackData,
pos: cty::c_int,
bytes_count: cty::c_int,
);
}
extern "C" {
pub fn ImGuiInputTextCallbackData_InsertChars(
self_: *mut ImGuiInputTextCallbackData,
pos: cty::c_int,
text: *const cty::c_char,
text_end: *const cty::c_char,
);
}
extern "C" {
pub fn ImGuiInputTextCallbackData_SelectAll(self_: *mut ImGuiInputTextCallbackData);
}
extern "C" {
pub fn ImGuiInputTextCallbackData_ClearSelection(self_: *mut ImGuiInputTextCallbackData);
}
extern "C" {
pub fn ImGuiInputTextCallbackData_HasSelection(self_: *mut ImGuiInputTextCallbackData) -> bool;
}
extern "C" {
pub fn ImGuiPayload_ImGuiPayload() -> *mut ImGuiPayload;
}
extern "C" {
pub fn ImGuiPayload_destroy(self_: *mut ImGuiPayload);
}
extern "C" {
pub fn ImGuiPayload_Clear(self_: *mut ImGuiPayload);
}
extern "C" {
pub fn ImGuiPayload_IsDataType(self_: *mut ImGuiPayload, type_: *const cty::c_char) -> bool;
}
extern "C" {
pub fn ImGuiPayload_IsPreview(self_: *mut ImGuiPayload) -> bool;
}
extern "C" {
pub fn ImGuiPayload_IsDelivery(self_: *mut ImGuiPayload) -> bool;
}
extern "C" {
pub fn ImGuiTableColumnSortSpecs_ImGuiTableColumnSortSpecs() -> *mut ImGuiTableColumnSortSpecs;
}
extern "C" {
pub fn ImGuiTableColumnSortSpecs_destroy(self_: *mut ImGuiTableColumnSortSpecs);
}
extern "C" {
pub fn ImGuiTableSortSpecs_ImGuiTableSortSpecs() -> *mut ImGuiTableSortSpecs;
}
extern "C" {
pub fn ImGuiTableSortSpecs_destroy(self_: *mut ImGuiTableSortSpecs);
}
extern "C" {
pub fn ImGuiOnceUponAFrame_ImGuiOnceUponAFrame() -> *mut ImGuiOnceUponAFrame;
}
extern "C" {
pub fn ImGuiOnceUponAFrame_destroy(self_: *mut ImGuiOnceUponAFrame);
}
extern "C" {
pub fn ImGuiTextFilter_ImGuiTextFilter(
default_filter: *const cty::c_char,
) -> *mut ImGuiTextFilter;
}
extern "C" {
pub fn ImGuiTextFilter_destroy(self_: *mut ImGuiTextFilter);
}
extern "C" {
pub fn ImGuiTextFilter_Draw(
self_: *mut ImGuiTextFilter,
label: *const cty::c_char,
width: f32,
) -> bool;
}
extern "C" {
pub fn ImGuiTextFilter_PassFilter(
self_: *mut ImGuiTextFilter,
text: *const cty::c_char,
text_end: *const cty::c_char,
) -> bool;
}
extern "C" {
pub fn ImGuiTextFilter_Build(self_: *mut ImGuiTextFilter);
}
extern "C" {
pub fn ImGuiTextFilter_Clear(self_: *mut ImGuiTextFilter);
}
extern "C" {
pub fn ImGuiTextFilter_IsActive(self_: *mut ImGuiTextFilter) -> bool;
}
extern "C" {
pub fn ImGuiTextRange_ImGuiTextRange_Nil() -> *mut ImGuiTextRange;
}
extern "C" {
pub fn ImGuiTextRange_destroy(self_: *mut ImGuiTextRange);
}
extern "C" {
pub fn ImGuiTextRange_ImGuiTextRange_Str(
_b: *const cty::c_char,
_e: *const cty::c_char,
) -> *mut ImGuiTextRange;
}
extern "C" {
pub fn ImGuiTextRange_empty(self_: *mut ImGuiTextRange) -> bool;
}
extern "C" {
pub fn ImGuiTextRange_split(
self_: *mut ImGuiTextRange,
separator: cty::c_char,
out: *mut ImVector_ImGuiTextRange,
);
}
extern "C" {
pub fn ImGuiTextBuffer_ImGuiTextBuffer() -> *mut ImGuiTextBuffer;
}
extern "C" {
pub fn ImGuiTextBuffer_destroy(self_: *mut ImGuiTextBuffer);
}
extern "C" {
pub fn ImGuiTextBuffer_begin(self_: *mut ImGuiTextBuffer) -> *const cty::c_char;
}
extern "C" {
pub fn ImGuiTextBuffer_end(self_: *mut ImGuiTextBuffer) -> *const cty::c_char;
}
extern "C" {
pub fn ImGuiTextBuffer_size(self_: *mut ImGuiTextBuffer) -> cty::c_int;
}
extern "C" {
pub fn ImGuiTextBuffer_empty(self_: *mut ImGuiTextBuffer) -> bool;
}
extern "C" {
pub fn ImGuiTextBuffer_clear(self_: *mut ImGuiTextBuffer);
}
extern "C" {
pub fn ImGuiTextBuffer_reserve(self_: *mut ImGuiTextBuffer, capacity: cty::c_int);
}
extern "C" {
pub fn ImGuiTextBuffer_c_str(self_: *mut ImGuiTextBuffer) -> *const cty::c_char;
}
extern "C" {
pub fn ImGuiTextBuffer_append(
self_: *mut ImGuiTextBuffer,
str_: *const cty::c_char,
str_end: *const cty::c_char,
);
}
extern "C" {
pub fn ImGuiStoragePair_ImGuiStoragePair_Int(
_key: ImGuiID,
_val_i: cty::c_int,
) -> *mut ImGuiStoragePair;
}
extern "C" {
pub fn ImGuiStoragePair_destroy(self_: *mut ImGuiStoragePair);
}
extern "C" {
pub fn ImGuiStoragePair_ImGuiStoragePair_Float(
_key: ImGuiID,
_val_f: f32,
) -> *mut ImGuiStoragePair;
}
extern "C" {
pub fn ImGuiStoragePair_ImGuiStoragePair_Ptr(
_key: ImGuiID,
_val_p: *mut cty::c_void,
) -> *mut ImGuiStoragePair;
}
extern "C" {
pub fn ImGuiStorage_Clear(self_: *mut ImGuiStorage);
}
extern "C" {
pub fn ImGuiStorage_GetInt(
self_: *mut ImGuiStorage,
key: ImGuiID,
default_val: cty::c_int,
) -> cty::c_int;
}
extern "C" {
pub fn ImGuiStorage_SetInt(self_: *mut ImGuiStorage, key: ImGuiID, val: cty::c_int);
}
extern "C" {
pub fn ImGuiStorage_GetBool(self_: *mut ImGuiStorage, key: ImGuiID, default_val: bool) -> bool;
}
extern "C" {
pub fn ImGuiStorage_SetBool(self_: *mut ImGuiStorage, key: ImGuiID, val: bool);
}
extern "C" {
pub fn ImGuiStorage_GetFloat(self_: *mut ImGuiStorage, key: ImGuiID, default_val: f32) -> f32;
}
extern "C" {
pub fn ImGuiStorage_SetFloat(self_: *mut ImGuiStorage, key: ImGuiID, val: f32);
}
extern "C" {
pub fn ImGuiStorage_GetVoidPtr(self_: *mut ImGuiStorage, key: ImGuiID) -> *mut cty::c_void;
}
extern "C" {
pub fn ImGuiStorage_SetVoidPtr(self_: *mut ImGuiStorage, key: ImGuiID, val: *mut cty::c_void);
}
extern "C" {
pub fn ImGuiStorage_GetIntRef(
self_: *mut ImGuiStorage,
key: ImGuiID,
default_val: cty::c_int,
) -> *mut cty::c_int;
}
extern "C" {
pub fn ImGuiStorage_GetBoolRef(
self_: *mut ImGuiStorage,
key: ImGuiID,
default_val: bool,
) -> *mut bool;
}
extern "C" {
pub fn ImGuiStorage_GetFloatRef(
self_: *mut ImGuiStorage,
key: ImGuiID,
default_val: f32,
) -> *mut f32;
}
extern "C" {
pub fn ImGuiStorage_GetVoidPtrRef(
self_: *mut ImGuiStorage,
key: ImGuiID,
default_val: *mut cty::c_void,
) -> *mut *mut cty::c_void;
}
extern "C" {
pub fn ImGuiStorage_SetAllInt(self_: *mut ImGuiStorage, val: cty::c_int);
}
extern "C" {
pub fn ImGuiStorage_BuildSortByKey(self_: *mut ImGuiStorage);
}
extern "C" {
pub fn ImGuiListClipper_ImGuiListClipper() -> *mut ImGuiListClipper;
}
extern "C" {
pub fn ImGuiListClipper_destroy(self_: *mut ImGuiListClipper);
}
extern "C" {
pub fn ImGuiListClipper_Begin(
self_: *mut ImGuiListClipper,
items_count: cty::c_int,
items_height: f32,
);
}
extern "C" {
pub fn ImGuiListClipper_End(self_: *mut ImGuiListClipper);
}
extern "C" {
pub fn ImGuiListClipper_Step(self_: *mut ImGuiListClipper) -> bool;
}
extern "C" {
pub fn ImGuiListClipper_ForceDisplayRangeByIndices(
self_: *mut ImGuiListClipper,
item_min: cty::c_int,
item_max: cty::c_int,
);
}
extern "C" {
pub fn ImColor_ImColor_Nil() -> *mut ImColor;
}
extern "C" {
pub fn ImColor_destroy(self_: *mut ImColor);
}
extern "C" {
pub fn ImColor_ImColor_Float(r: f32, g: f32, b: f32, a: f32) -> *mut ImColor;
}
extern "C" {
pub fn ImColor_ImColor_Vec4(col: ImVec4) -> *mut ImColor;
}
extern "C" {
pub fn ImColor_ImColor_Int(
r: cty::c_int,
g: cty::c_int,
b: cty::c_int,
a: cty::c_int,
) -> *mut ImColor;
}
extern "C" {
pub fn ImColor_ImColor_U32(rgba: ImU32) -> *mut ImColor;
}
extern "C" {
pub fn ImColor_SetHSV(self_: *mut ImColor, h: f32, s: f32, v: f32, a: f32);
}
extern "C" {
pub fn ImColor_HSV(pOut: *mut ImColor, h: f32, s: f32, v: f32, a: f32);
}
extern "C" {
pub fn ImDrawCmd_ImDrawCmd() -> *mut ImDrawCmd;
}
extern "C" {
pub fn ImDrawCmd_destroy(self_: *mut ImDrawCmd);
}
extern "C" {
pub fn ImDrawCmd_GetTexID(self_: *mut ImDrawCmd) -> ImTextureID;
}
extern "C" {
pub fn ImDrawListSplitter_ImDrawListSplitter() -> *mut ImDrawListSplitter;
}
extern "C" {
pub fn ImDrawListSplitter_destroy(self_: *mut ImDrawListSplitter);
}
extern "C" {
pub fn ImDrawListSplitter_Clear(self_: *mut ImDrawListSplitter);
}
extern "C" {
pub fn ImDrawListSplitter_ClearFreeMemory(self_: *mut ImDrawListSplitter);
}
extern "C" {
pub fn ImDrawListSplitter_Split(
self_: *mut ImDrawListSplitter,
draw_list: *mut ImDrawList,
count: cty::c_int,
);
}
extern "C" {
pub fn ImDrawListSplitter_Merge(self_: *mut ImDrawListSplitter, draw_list: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawListSplitter_SetCurrentChannel(
self_: *mut ImDrawListSplitter,
draw_list: *mut ImDrawList,
channel_idx: cty::c_int,
);
}
extern "C" {
pub fn ImDrawList_ImDrawList(shared_data: *mut ImDrawListSharedData) -> *mut ImDrawList;
}
extern "C" {
pub fn ImDrawList_destroy(self_: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawList_PushClipRect(
self_: *mut ImDrawList,
clip_rect_min: ImVec2,
clip_rect_max: ImVec2,
intersect_with_current_clip_rect: bool,
);
}
extern "C" {
pub fn ImDrawList_PushClipRectFullScreen(self_: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawList_PopClipRect(self_: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawList_PushTextureID(self_: *mut ImDrawList, texture_id: ImTextureID);
}
extern "C" {
pub fn ImDrawList_PopTextureID(self_: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawList_GetClipRectMin(pOut: *mut ImVec2, self_: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawList_GetClipRectMax(pOut: *mut ImVec2, self_: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawList_AddLine(
self_: *mut ImDrawList,
p1: ImVec2,
p2: ImVec2,
col: ImU32,
thickness: f32,
);
}
extern "C" {
pub fn ImDrawList_AddRect(
self_: *mut ImDrawList,
p_min: ImVec2,
p_max: ImVec2,
col: ImU32,
rounding: f32,
flags: ImDrawFlags,
thickness: f32,
);
}
extern "C" {
pub fn ImDrawList_AddRectFilled(
self_: *mut ImDrawList,
p_min: ImVec2,
p_max: ImVec2,
col: ImU32,
rounding: f32,
flags: ImDrawFlags,
);
}
extern "C" {
pub fn ImDrawList_AddRectFilledMultiColor(
self_: *mut ImDrawList,
p_min: ImVec2,
p_max: ImVec2,
col_upr_left: ImU32,
col_upr_right: ImU32,
col_bot_right: ImU32,
col_bot_left: ImU32,
);
}
extern "C" {
pub fn ImDrawList_AddQuad(
self_: *mut ImDrawList,
p1: ImVec2,
p2: ImVec2,
p3: ImVec2,
p4: ImVec2,
col: ImU32,
thickness: f32,
);
}
extern "C" {
pub fn ImDrawList_AddQuadFilled(
self_: *mut ImDrawList,
p1: ImVec2,
p2: ImVec2,
p3: ImVec2,
p4: ImVec2,
col: ImU32,
);
}
extern "C" {
pub fn ImDrawList_AddTriangle(
self_: *mut ImDrawList,
p1: ImVec2,
p2: ImVec2,
p3: ImVec2,
col: ImU32,
thickness: f32,
);
}
extern "C" {
pub fn ImDrawList_AddTriangleFilled(
self_: *mut ImDrawList,
p1: ImVec2,
p2: ImVec2,
p3: ImVec2,
col: ImU32,
);
}
extern "C" {
pub fn ImDrawList_AddCircle(
self_: *mut ImDrawList,
center: ImVec2,
radius: f32,
col: ImU32,
num_segments: cty::c_int,
thickness: f32,
);
}
extern "C" {
pub fn ImDrawList_AddCircleFilled(
self_: *mut ImDrawList,
center: ImVec2,
radius: f32,
col: ImU32,
num_segments: cty::c_int,
);
}
extern "C" {
pub fn ImDrawList_AddNgon(
self_: *mut ImDrawList,
center: ImVec2,
radius: f32,
col: ImU32,
num_segments: cty::c_int,
thickness: f32,
);
}
extern "C" {
pub fn ImDrawList_AddNgonFilled(
self_: *mut ImDrawList,
center: ImVec2,
radius: f32,
col: ImU32,
num_segments: cty::c_int,
);
}
extern "C" {
pub fn ImDrawList_AddText_Vec2(
self_: *mut ImDrawList,
pos: ImVec2,
col: ImU32,
text_begin: *const cty::c_char,
text_end: *const cty::c_char,
);
}
extern "C" {
pub fn ImDrawList_AddText_FontPtr(
self_: *mut ImDrawList,
font: *const ImFont,
font_size: f32,
pos: ImVec2,
col: ImU32,
text_begin: *const cty::c_char,
text_end: *const cty::c_char,
wrap_width: f32,
cpu_fine_clip_rect: *const ImVec4,
);
}
extern "C" {
pub fn ImDrawList_AddPolyline(
self_: *mut ImDrawList,
points: *const ImVec2,
num_points: cty::c_int,
col: ImU32,
flags: ImDrawFlags,
thickness: f32,
);
}
extern "C" {
pub fn ImDrawList_AddConvexPolyFilled(
self_: *mut ImDrawList,
points: *const ImVec2,
num_points: cty::c_int,
col: ImU32,
);
}
extern "C" {
pub fn ImDrawList_AddBezierCubic(
self_: *mut ImDrawList,
p1: ImVec2,
p2: ImVec2,
p3: ImVec2,
p4: ImVec2,
col: ImU32,
thickness: f32,
num_segments: cty::c_int,
);
}
extern "C" {
pub fn ImDrawList_AddBezierQuadratic(
self_: *mut ImDrawList,
p1: ImVec2,
p2: ImVec2,
p3: ImVec2,
col: ImU32,
thickness: f32,
num_segments: cty::c_int,
);
}
extern "C" {
pub fn ImDrawList_AddImage(
self_: *mut ImDrawList,
user_texture_id: ImTextureID,
p_min: ImVec2,
p_max: ImVec2,
uv_min: ImVec2,
uv_max: ImVec2,
col: ImU32,
);
}
extern "C" {
pub fn ImDrawList_AddImageQuad(
self_: *mut ImDrawList,
user_texture_id: ImTextureID,
p1: ImVec2,
p2: ImVec2,
p3: ImVec2,
p4: ImVec2,
uv1: ImVec2,
uv2: ImVec2,
uv3: ImVec2,
uv4: ImVec2,
col: ImU32,
);
}
extern "C" {
pub fn ImDrawList_AddImageRounded(
self_: *mut ImDrawList,
user_texture_id: ImTextureID,
p_min: ImVec2,
p_max: ImVec2,
uv_min: ImVec2,
uv_max: ImVec2,
col: ImU32,
rounding: f32,
flags: ImDrawFlags,
);
}
extern "C" {
pub fn ImDrawList_PathClear(self_: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawList_PathLineTo(self_: *mut ImDrawList, pos: ImVec2);
}
extern "C" {
pub fn ImDrawList_PathLineToMergeDuplicate(self_: *mut ImDrawList, pos: ImVec2);
}
extern "C" {
pub fn ImDrawList_PathFillConvex(self_: *mut ImDrawList, col: ImU32);
}
extern "C" {
pub fn ImDrawList_PathStroke(
self_: *mut ImDrawList,
col: ImU32,
flags: ImDrawFlags,
thickness: f32,
);
}
extern "C" {
pub fn ImDrawList_PathArcTo(
self_: *mut ImDrawList,
center: ImVec2,
radius: f32,
a_min: f32,
a_max: f32,
num_segments: cty::c_int,
);
}
extern "C" {
pub fn ImDrawList_PathArcToFast(
self_: *mut ImDrawList,
center: ImVec2,
radius: f32,
a_min_of_12: cty::c_int,
a_max_of_12: cty::c_int,
);
}
extern "C" {
pub fn ImDrawList_PathBezierCubicCurveTo(
self_: *mut ImDrawList,
p2: ImVec2,
p3: ImVec2,
p4: ImVec2,
num_segments: cty::c_int,
);
}
extern "C" {
pub fn ImDrawList_PathBezierQuadraticCurveTo(
self_: *mut ImDrawList,
p2: ImVec2,
p3: ImVec2,
num_segments: cty::c_int,
);
}
extern "C" {
pub fn ImDrawList_PathRect(
self_: *mut ImDrawList,
rect_min: ImVec2,
rect_max: ImVec2,
rounding: f32,
flags: ImDrawFlags,
);
}
extern "C" {
pub fn ImDrawList_AddCallback(
self_: *mut ImDrawList,
callback: ImDrawCallback,
callback_data: *mut cty::c_void,
);
}
extern "C" {
pub fn ImDrawList_AddDrawCmd(self_: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawList_CloneOutput(self_: *mut ImDrawList) -> *mut ImDrawList;
}
extern "C" {
pub fn ImDrawList_ChannelsSplit(self_: *mut ImDrawList, count: cty::c_int);
}
extern "C" {
pub fn ImDrawList_ChannelsMerge(self_: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawList_ChannelsSetCurrent(self_: *mut ImDrawList, n: cty::c_int);
}
extern "C" {
pub fn ImDrawList_PrimReserve(
self_: *mut ImDrawList,
idx_count: cty::c_int,
vtx_count: cty::c_int,
);
}
extern "C" {
pub fn ImDrawList_PrimUnreserve(
self_: *mut ImDrawList,
idx_count: cty::c_int,
vtx_count: cty::c_int,
);
}
extern "C" {
pub fn ImDrawList_PrimRect(self_: *mut ImDrawList, a: ImVec2, b: ImVec2, col: ImU32);
}
extern "C" {
pub fn ImDrawList_PrimRectUV(
self_: *mut ImDrawList,
a: ImVec2,
b: ImVec2,
uv_a: ImVec2,
uv_b: ImVec2,
col: ImU32,
);
}
extern "C" {
pub fn ImDrawList_PrimQuadUV(
self_: *mut ImDrawList,
a: ImVec2,
b: ImVec2,
c: ImVec2,
d: ImVec2,
uv_a: ImVec2,
uv_b: ImVec2,
uv_c: ImVec2,
uv_d: ImVec2,
col: ImU32,
);
}
extern "C" {
pub fn ImDrawList_PrimWriteVtx(self_: *mut ImDrawList, pos: ImVec2, uv: ImVec2, col: ImU32);
}
extern "C" {
pub fn ImDrawList_PrimWriteIdx(self_: *mut ImDrawList, idx: ImDrawIdx);
}
extern "C" {
pub fn ImDrawList_PrimVtx(self_: *mut ImDrawList, pos: ImVec2, uv: ImVec2, col: ImU32);
}
extern "C" {
pub fn ImDrawList__ResetForNewFrame(self_: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawList__ClearFreeMemory(self_: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawList__PopUnusedDrawCmd(self_: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawList__TryMergeDrawCmds(self_: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawList__OnChangedClipRect(self_: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawList__OnChangedTextureID(self_: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawList__OnChangedVtxOffset(self_: *mut ImDrawList);
}
extern "C" {
pub fn ImDrawList__CalcCircleAutoSegmentCount(
self_: *mut ImDrawList,
radius: f32,
) -> cty::c_int;
}
extern "C" {
pub fn ImDrawList__PathArcToFastEx(
self_: *mut ImDrawList,
center: ImVec2,
radius: f32,
a_min_sample: cty::c_int,
a_max_sample: cty::c_int,
a_step: cty::c_int,
);
}
extern "C" {
pub fn ImDrawList__PathArcToN(
self_: *mut ImDrawList,
center: ImVec2,
radius: f32,
a_min: f32,
a_max: f32,
num_segments: cty::c_int,
);
}
extern "C" {
pub fn ImDrawData_ImDrawData() -> *mut ImDrawData;
}
extern "C" {
pub fn ImDrawData_destroy(self_: *mut ImDrawData);
}
extern "C" {
pub fn ImDrawData_Clear(self_: *mut ImDrawData);
}
extern "C" {
pub fn ImDrawData_DeIndexAllBuffers(self_: *mut ImDrawData);
}
extern "C" {
pub fn ImDrawData_ScaleClipRects(self_: *mut ImDrawData, fb_scale: ImVec2);
}
extern "C" {
pub fn ImFontConfig_ImFontConfig() -> *mut ImFontConfig;
}
extern "C" {
pub fn ImFontConfig_destroy(self_: *mut ImFontConfig);
}
extern "C" {
pub fn ImFontGlyphRangesBuilder_ImFontGlyphRangesBuilder() -> *mut ImFontGlyphRangesBuilder;
}
extern "C" {
pub fn ImFontGlyphRangesBuilder_destroy(self_: *mut ImFontGlyphRangesBuilder);
}
extern "C" {
pub fn ImFontGlyphRangesBuilder_Clear(self_: *mut ImFontGlyphRangesBuilder);
}
extern "C" {
pub fn ImFontGlyphRangesBuilder_GetBit(self_: *mut ImFontGlyphRangesBuilder, n: usize) -> bool;
}
extern "C" {
pub fn ImFontGlyphRangesBuilder_SetBit(self_: *mut ImFontGlyphRangesBuilder, n: usize);
}
extern "C" {
pub fn ImFontGlyphRangesBuilder_AddChar(self_: *mut ImFontGlyphRangesBuilder, c: ImWchar);
}
extern "C" {
pub fn ImFontGlyphRangesBuilder_AddText(
self_: *mut ImFontGlyphRangesBuilder,
text: *const cty::c_char,
text_end: *const cty::c_char,
);
}
extern "C" {
pub fn ImFontGlyphRangesBuilder_AddRanges(
self_: *mut ImFontGlyphRangesBuilder,
ranges: *const ImWchar,
);
}
extern "C" {
pub fn ImFontGlyphRangesBuilder_BuildRanges(
self_: *mut ImFontGlyphRangesBuilder,
out_ranges: *mut ImVector_ImWchar,
);
}
extern "C" {
pub fn ImFontAtlasCustomRect_ImFontAtlasCustomRect() -> *mut ImFontAtlasCustomRect;
}
extern "C" {
pub fn ImFontAtlasCustomRect_destroy(self_: *mut ImFontAtlasCustomRect);
}
extern "C" {
pub fn ImFontAtlasCustomRect_IsPacked(self_: *mut ImFontAtlasCustomRect) -> bool;
}
extern "C" {
pub fn ImFontAtlas_ImFontAtlas() -> *mut ImFontAtlas;
}
extern "C" {
pub fn ImFontAtlas_destroy(self_: *mut ImFontAtlas);
}
extern "C" {
pub fn ImFontAtlas_AddFont(
self_: *mut ImFontAtlas,
font_cfg: *const ImFontConfig,
) -> *mut ImFont;
}
extern "C" {
pub fn ImFontAtlas_AddFontDefault(
self_: *mut ImFontAtlas,
font_cfg: *const ImFontConfig,
) -> *mut ImFont;
}
extern "C" {
pub fn ImFontAtlas_AddFontFromFileTTF(
self_: *mut ImFontAtlas,
filename: *const cty::c_char,
size_pixels: f32,
font_cfg: *const ImFontConfig,
glyph_ranges: *const ImWchar,
) -> *mut ImFont;
}
extern "C" {
pub fn ImFontAtlas_AddFontFromMemoryTTF(
self_: *mut ImFontAtlas,
font_data: *mut cty::c_void,
font_size: cty::c_int,
size_pixels: f32,
font_cfg: *const ImFontConfig,
glyph_ranges: *const ImWchar,
) -> *mut ImFont;
}
extern "C" {
pub fn ImFontAtlas_AddFontFromMemoryCompressedTTF(
self_: *mut ImFontAtlas,
compressed_font_data: *const cty::c_void,
compressed_font_size: cty::c_int,
size_pixels: f32,
font_cfg: *const ImFontConfig,
glyph_ranges: *const ImWchar,
) -> *mut ImFont;
}
extern "C" {
pub fn ImFontAtlas_AddFontFromMemoryCompressedBase85TTF(
self_: *mut ImFontAtlas,
compressed_font_data_base85: *const cty::c_char,
size_pixels: f32,
font_cfg: *const ImFontConfig,
glyph_ranges: *const ImWchar,
) -> *mut ImFont;
}
extern "C" {
pub fn ImFontAtlas_ClearInputData(self_: *mut ImFontAtlas);
}
extern "C" {
pub fn ImFontAtlas_ClearTexData(self_: *mut ImFontAtlas);
}
extern "C" {
pub fn ImFontAtlas_ClearFonts(self_: *mut ImFontAtlas);
}
extern "C" {
pub fn ImFontAtlas_Clear(self_: *mut ImFontAtlas);
}
extern "C" {
pub fn ImFontAtlas_Build(self_: *mut ImFontAtlas) -> bool;
}
extern "C" {
pub fn ImFontAtlas_GetTexDataAsAlpha8(
self_: *mut ImFontAtlas,
out_pixels: *mut *mut cty::c_uchar,
out_width: *mut cty::c_int,
out_height: *mut cty::c_int,
out_bytes_per_pixel: *mut cty::c_int,
);
}
extern "C" {
pub fn ImFontAtlas_GetTexDataAsRGBA32(
self_: *mut ImFontAtlas,
out_pixels: *mut *mut cty::c_uchar,
out_width: *mut cty::c_int,
out_height: *mut cty::c_int,
out_bytes_per_pixel: *mut cty::c_int,
);
}
extern "C" {
pub fn ImFontAtlas_IsBuilt(self_: *mut ImFontAtlas) -> bool;
}
extern "C" {
pub fn ImFontAtlas_SetTexID(self_: *mut ImFontAtlas, id: ImTextureID);
}
extern "C" {
pub fn ImFontAtlas_GetGlyphRangesDefault(self_: *mut ImFontAtlas) -> *const ImWchar;
}
extern "C" {
pub fn ImFontAtlas_GetGlyphRangesGreek(self_: *mut ImFontAtlas) -> *const ImWchar;
}
extern "C" {
pub fn ImFontAtlas_GetGlyphRangesKorean(self_: *mut ImFontAtlas) -> *const ImWchar;
}
extern "C" {
pub fn ImFontAtlas_GetGlyphRangesJapanese(self_: *mut ImFontAtlas) -> *const ImWchar;
}
extern "C" {
pub fn ImFontAtlas_GetGlyphRangesChineseFull(self_: *mut ImFontAtlas) -> *const ImWchar;
}
extern "C" {
pub fn ImFontAtlas_GetGlyphRangesChineseSimplifiedCommon(
self_: *mut ImFontAtlas,
) -> *const ImWchar;
}
extern "C" {
pub fn ImFontAtlas_GetGlyphRangesCyrillic(self_: *mut ImFontAtlas) -> *const ImWchar;
}
extern "C" {
pub fn ImFontAtlas_GetGlyphRangesThai(self_: *mut ImFontAtlas) -> *const ImWchar;
}
extern "C" {
pub fn ImFontAtlas_GetGlyphRangesVietnamese(self_: *mut ImFontAtlas) -> *const ImWchar;
}
extern "C" {
pub fn ImFontAtlas_AddCustomRectRegular(
self_: *mut ImFontAtlas,
width: cty::c_int,
height: cty::c_int,
) -> cty::c_int;
}
extern "C" {
pub fn ImFontAtlas_AddCustomRectFontGlyph(
self_: *mut ImFontAtlas,
font: *mut ImFont,
id: ImWchar,
width: cty::c_int,
height: cty::c_int,
advance_x: f32,
offset: ImVec2,
) -> cty::c_int;
}
extern "C" {
pub fn ImFontAtlas_GetCustomRectByIndex(
self_: *mut ImFontAtlas,
index: cty::c_int,
) -> *mut ImFontAtlasCustomRect;
}
extern "C" {
pub fn ImFontAtlas_CalcCustomRectUV(
self_: *mut ImFontAtlas,
rect: *const ImFontAtlasCustomRect,
out_uv_min: *mut ImVec2,
out_uv_max: *mut ImVec2,
);
}
extern "C" {
pub fn ImFontAtlas_GetMouseCursorTexData(
self_: *mut ImFontAtlas,
cursor: ImGuiMouseCursor,
out_offset: *mut ImVec2,
out_size: *mut ImVec2,
out_uv_border: *mut ImVec2,
out_uv_fill: *mut ImVec2,
) -> bool;
}
extern "C" {
pub fn ImFont_ImFont() -> *mut ImFont;
}
extern "C" {
pub fn ImFont_destroy(self_: *mut ImFont);
}
extern "C" {
pub fn ImFont_FindGlyph(self_: *mut ImFont, c: ImWchar) -> *const ImFontGlyph;
}
extern "C" {
pub fn ImFont_FindGlyphNoFallback(self_: *mut ImFont, c: ImWchar) -> *const ImFontGlyph;
}
extern "C" {
pub fn ImFont_GetCharAdvance(self_: *mut ImFont, c: ImWchar) -> f32;
}
extern "C" {
pub fn ImFont_IsLoaded(self_: *mut ImFont) -> bool;
}
extern "C" {
pub fn ImFont_GetDebugName(self_: *mut ImFont) -> *const cty::c_char;
}
extern "C" {
pub fn ImFont_CalcTextSizeA(
pOut: *mut ImVec2,
self_: *mut ImFont,
size: f32,
max_width: f32,
wrap_width: f32,
text_begin: *const cty::c_char,
text_end: *const cty::c_char,
remaining: *mut *const cty::c_char,
);
}
extern "C" {
pub fn ImFont_CalcWordWrapPositionA(
self_: *mut ImFont,
scale: f32,
text: *const cty::c_char,
text_end: *const cty::c_char,
wrap_width: f32,
) -> *const cty::c_char;
}
extern "C" {
pub fn ImFont_RenderChar(
self_: *mut ImFont,
draw_list: *mut ImDrawList,
size: f32,
pos: ImVec2,
col: ImU32,
c: ImWchar,
);
}
extern "C" {
pub fn ImFont_RenderText(
self_: *mut ImFont,
draw_list: *mut ImDrawList,
size: f32,
pos: ImVec2,
col: ImU32,
clip_rect: ImVec4,
text_begin: *const cty::c_char,
text_end: *const cty::c_char,
wrap_width: f32,
cpu_fine_clip: bool,
);
}
extern "C" {
pub fn ImFont_BuildLookupTable(self_: *mut ImFont);
}
extern "C" {
pub fn ImFont_ClearOutputData(self_: *mut ImFont);
}
extern "C" {
pub fn ImFont_GrowIndex(self_: *mut ImFont, new_size: cty::c_int);
}
extern "C" {
pub fn ImFont_AddGlyph(
self_: *mut ImFont,
src_cfg: *const ImFontConfig,
c: ImWchar,
x0: f32,
y0: f32,
x1: f32,
y1: f32,
u0: f32,
v0: f32,
u1: f32,
v1: f32,
advance_x: f32,
);
}
extern "C" {
pub fn ImFont_AddRemapChar(self_: *mut ImFont, dst: ImWchar, src: ImWchar, overwrite_dst: bool);
}
extern "C" {
pub fn ImFont_SetGlyphVisible(self_: *mut ImFont, c: ImWchar, visible: bool);
}
extern "C" {
pub fn ImFont_IsGlyphRangeUnused(
self_: *mut ImFont,
c_begin: cty::c_uint,
c_last: cty::c_uint,
) -> bool;
}
extern "C" {
pub fn ImGuiViewport_ImGuiViewport() -> *mut ImGuiViewport;
}
extern "C" {
pub fn ImGuiViewport_destroy(self_: *mut ImGuiViewport);
}
extern "C" {
pub fn ImGuiViewport_GetCenter(pOut: *mut ImVec2, self_: *mut ImGuiViewport);
}
extern "C" {
pub fn ImGuiViewport_GetWorkCenter(pOut: *mut ImVec2, self_: *mut ImGuiViewport);
}
extern "C" {
pub fn ImGuiPlatformImeData_ImGuiPlatformImeData() -> *mut ImGuiPlatformImeData;
}
extern "C" {
pub fn ImGuiPlatformImeData_destroy(self_: *mut ImGuiPlatformImeData);
}
extern "C" {
pub fn igGetKeyIndex(key: ImGuiKey) -> ImGuiKey;
}
extern "C" {
pub fn igLogText(fmt: *const cty::c_char, ...);
}
extern "C" {
pub fn ImGuiTextBuffer_appendf(buffer: *mut ImGuiTextBuffer, fmt: *const cty::c_char, ...);
}