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
4703
4704
4705
4706
4707
4708
4709
4710
4711
4712
4713
4714
4715
4716
4717
4718
4719
4720
4721
4722
4723
4724
4725
4726
4727
4728
4729
4730
4731
4732
4733
4734
4735
4736
4737
4738
4739
4740
4741
4742
4743
4744
4745
4746
4747
4748
4749
4750
4751
4752
4753
4754
4755
4756
4757
4758
4759
4760
4761
4762
4763
4764
4765
4766
4767
4768
4769
4770
4771
4772
4773
4774
4775
4776
4777
4778
4779
4780
4781
4782
4783
4784
4785
4786
4787
4788
4789
4790
4791
4792
4793
4794
4795
4796
4797
4798
4799
4800
4801
4802
4803
4804
4805
4806
4807
4808
4809
4810
4811
4812
4813
4814
4815
4816
4817
4818
4819
4820
4821
4822
4823
4824
4825
4826
4827
4828
4829
4830
4831
4832
4833
4834
4835
4836
4837
4838
4839
4840
4841
4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
4862
4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
4882
4883
4884
4885
4886
4887
4888
4889
4890
4891
4892
4893
4894
4895
4896
4897
4898
4899
4900
4901
4902
4903
4904
4905
4906
4907
4908
4909
4910
4911
4912
4913
4914
4915
4916
4917
4918
4919
4920
4921
4922
4923
4924
4925
4926
4927
4928
4929
4930
4931
4932
4933
4934
4935
4936
4937
4938
4939
4940
4941
4942
4943
4944
4945
4946
4947
4948
4949
4950
4951
4952
4953
4954
4955
4956
4957
4958
4959
4960
4961
4962
4963
4964
4965
4966
4967
4968
4969
4970
4971
4972
4973
4974
4975
4976
4977
4978
4979
4980
4981
4982
4983
4984
4985
4986
4987
4988
4989
4990
4991
4992
4993
4994
4995
4996
4997
4998
4999
5000
5001
5002
5003
5004
5005
5006
5007
5008
5009
5010
5011
5012
5013
5014
5015
5016
5017
5018
5019
5020
5021
5022
5023
5024
5025
5026
5027
5028
5029
5030
5031
5032
5033
5034
5035
5036
5037
5038
5039
5040
5041
5042
5043
5044
5045
5046
5047
5048
5049
5050
5051
5052
5053
5054
5055
5056
5057
5058
5059
5060
5061
5062
5063
5064
5065
5066
5067
5068
5069
5070
5071
5072
5073
5074
5075
5076
5077
5078
5079
5080
5081
5082
5083
5084
5085
5086
5087
5088
5089
5090
5091
5092
5093
5094
5095
5096
5097
5098
5099
5100
5101
5102
5103
5104
5105
5106
5107
5108
5109
5110
5111
5112
5113
5114
5115
5116
5117
5118
5119
5120
5121
5122
5123
5124
5125
5126
5127
5128
5129
5130
5131
5132
5133
5134
5135
5136
5137
5138
5139
5140
5141
5142
5143
5144
5145
5146
5147
5148
5149
5150
5151
5152
5153
5154
5155
5156
5157
5158
5159
5160
5161
5162
5163
5164
5165
5166
5167
5168
5169
5170
5171
5172
5173
5174
5175
5176
5177
5178
5179
5180
5181
5182
5183
5184
5185
5186
5187
5188
5189
5190
5191
5192
5193
5194
5195
5196
5197
5198
5199
5200
5201
5202
5203
5204
5205
5206
5207
5208
5209
5210
5211
5212
5213
5214
5215
5216
5217
5218
5219
5220
5221
5222
5223
5224
5225
5226
5227
5228
5229
5230
5231
5232
5233
5234
5235
5236
5237
5238
5239
5240
5241
5242
5243
5244
5245
5246
5247
5248
5249
5250
5251
5252
5253
5254
5255
5256
5257
5258
5259
5260
5261
5262
5263
5264
5265
5266
5267
5268
5269
5270
5271
5272
5273
5274
5275
5276
5277
5278
5279
5280
5281
5282
5283
5284
5285
5286
5287
5288
5289
5290
5291
5292
5293
5294
5295
5296
5297
5298
5299
5300
5301
5302
5303
5304
5305
5306
5307
5308
5309
5310
5311
5312
5313
5314
5315
5316
5317
5318
5319
5320
5321
5322
5323
5324
5325
5326
5327
5328
5329
5330
5331
5332
5333
5334
5335
5336
5337
5338
5339
5340
5341
5342
5343
5344
5345
5346
5347
5348
5349
5350
5351
5352
5353
5354
5355
5356
5357
5358
5359
5360
5361
5362
5363
5364
5365
5366
5367
5368
5369
5370
5371
5372
5373
5374
5375
5376
5377
5378
5379
5380
5381
5382
5383
5384
5385
5386
5387
5388
5389
5390
5391
5392
5393
5394
5395
5396
5397
5398
5399
5400
5401
5402
5403
5404
5405
5406
5407
5408
5409
5410
5411
5412
5413
5414
5415
5416
5417
5418
5419
5420
5421
5422
5423
5424
5425
5426
5427
5428
5429
5430
5431
5432
5433
5434
5435
5436
5437
5438
5439
5440
5441
5442
5443
5444
5445
5446
5447
5448
5449
5450
5451
5452
5453
5454
5455
5456
5457
5458
5459
5460
5461
5462
5463
5464
5465
5466
5467
5468
5469
5470
5471
5472
5473
5474
5475
5476
5477
5478
5479
5480
5481
5482
5483
5484
5485
5486
5487
5488
5489
5490
5491
5492
5493
5494
5495
5496
5497
5498
5499
5500
5501
5502
5503
5504
5505
5506
5507
5508
5509
5510
5511
5512
5513
5514
5515
5516
5517
5518
5519
5520
5521
5522
5523
5524
5525
5526
5527
5528
5529
5530
5531
5532
5533
5534
5535
5536
5537
5538
5539
5540
5541
5542
5543
5544
5545
5546
5547
5548
5549
5550
5551
5552
5553
5554
5555
5556
5557
5558
5559
5560
5561
5562
5563
5564
5565
5566
5567
5568
5569
5570
5571
5572
5573
5574
5575
5576
5577
5578
5579
5580
5581
5582
5583
5584
5585
5586
5587
5588
5589
5590
5591
5592
5593
5594
5595
5596
5597
5598
5599
5600
5601
5602
5603
5604
5605
5606
5607
5608
5609
5610
5611
5612
5613
5614
5615
5616
5617
5618
5619
5620
5621
5622
5623
5624
5625
5626
5627
5628
5629
5630
5631
5632
5633
5634
5635
5636
5637
5638
5639
5640
5641
5642
5643
5644
5645
5646
5647
5648
5649
5650
5651
5652
5653
5654
5655
5656
5657
5658
5659
5660
5661
5662
5663
5664
5665
5666
5667
5668
5669
5670
5671
5672
5673
5674
5675
5676
5677
5678
5679
5680
5681
5682
5683
5684
5685
5686
5687
5688
5689
5690
5691
5692
5693
5694
5695
5696
5697
5698
5699
5700
5701
5702
5703
5704
5705
5706
5707
5708
5709
5710
5711
5712
5713
5714
5715
5716
5717
5718
5719
5720
5721
5722
5723
5724
5725
5726
5727
5728
5729
5730
5731
5732
5733
5734
5735
5736
5737
5738
5739
5740
5741
5742
5743
5744
5745
5746
5747
5748
5749
5750
5751
5752
5753
5754
5755
5756
5757
5758
5759
5760
5761
5762
5763
5764
5765
5766
5767
5768
5769
5770
5771
5772
5773
5774
5775
5776
5777
5778
5779
5780
5781
5782
5783
5784
5785
5786
5787
5788
5789
5790
5791
5792
5793
5794
5795
5796
5797
5798
5799
5800
5801
5802
5803
5804
5805
5806
5807
5808
5809
5810
5811
5812
5813
5814
5815
5816
5817
5818
5819
5820
5821
5822
5823
5824
5825
5826
5827
5828
5829
5830
5831
5832
5833
5834
5835
5836
5837
5838
5839
5840
5841
5842
5843
5844
5845
5846
5847
5848
5849
5850
5851
5852
5853
5854
5855
5856
5857
5858
5859
5860
5861
5862
5863
5864
5865
5866
5867
5868
5869
5870
5871
5872
5873
5874
5875
5876
5877
5878
5879
5880
5881
5882
5883
5884
5885
5886
5887
5888
5889
5890
5891
5892
5893
5894
5895
5896
5897
5898
5899
5900
5901
5902
5903
5904
5905
5906
5907
5908
5909
5910
5911
5912
5913
5914
5915
5916
5917
5918
5919
5920
5921
5922
5923
5924
5925
5926
5927
5928
5929
5930
5931
5932
5933
5934
5935
5936
5937
5938
5939
5940
5941
5942
5943
5944
5945
5946
5947
5948
5949
5950
5951
5952
5953
5954
5955
5956
5957
5958
5959
5960
5961
5962
5963
5964
5965
5966
5967
5968
5969
5970
5971
5972
5973
5974
5975
5976
5977
5978
5979
5980
5981
5982
5983
5984
5985
5986
5987
5988
5989
5990
5991
5992
5993
5994
5995
5996
5997
5998
5999
6000
6001
6002
6003
6004
6005
6006
6007
6008
6009
6010
6011
6012
6013
6014
6015
6016
6017
6018
6019
6020
6021
6022
6023
6024
6025
6026
6027
6028
6029
6030
6031
6032
6033
6034
6035
6036
6037
6038
6039
6040
6041
6042
6043
6044
6045
6046
6047
6048
6049
6050
6051
6052
6053
6054
6055
6056
6057
6058
6059
6060
6061
6062
6063
6064
6065
6066
6067
6068
6069
6070
6071
6072
6073
6074
6075
6076
6077
6078
6079
6080
6081
6082
6083
6084
6085
6086
6087
6088
6089
6090
6091
6092
6093
6094
6095
6096
6097
6098
6099
6100
6101
6102
6103
6104
6105
6106
6107
6108
6109
6110
6111
6112
6113
6114
6115
6116
6117
6118
6119
6120
6121
6122
6123
6124
6125
6126
6127
6128
6129
6130
6131
6132
6133
6134
6135
6136
6137
6138
6139
6140
6141
6142
6143
6144
6145
6146
6147
6148
6149
6150
6151
6152
6153
6154
6155
6156
6157
6158
6159
6160
6161
6162
6163
6164
6165
6166
6167
6168
6169
6170
6171
6172
6173
6174
6175
6176
6177
6178
6179
6180
6181
6182
6183
6184
6185
6186
6187
6188
6189
6190
6191
6192
6193
6194
6195
6196
6197
6198
6199
6200
6201
6202
6203
6204
6205
6206
6207
6208
6209
6210
6211
6212
6213
6214
6215
6216
6217
6218
6219
6220
6221
6222
6223
6224
6225
6226
6227
6228
6229
6230
6231
6232
6233
6234
6235
6236
6237
6238
6239
6240
6241
6242
6243
6244
6245
6246
6247
6248
6249
6250
6251
6252
6253
6254
6255
6256
6257
6258
6259
6260
6261
6262
6263
6264
6265
6266
6267
6268
6269
6270
6271
6272
6273
6274
6275
6276
6277
6278
6279
6280
6281
6282
6283
6284
6285
6286
6287
6288
6289
6290
6291
6292
6293
6294
6295
6296
6297
6298
6299
6300
6301
6302
6303
6304
6305
6306
6307
6308
6309
6310
6311
6312
6313
6314
6315
6316
6317
6318
6319
6320
6321
6322
6323
6324
6325
6326
6327
6328
6329
6330
6331
6332
6333
6334
6335
6336
6337
6338
6339
6340
6341
6342
6343
6344
6345
6346
6347
6348
6349
6350
6351
6352
6353
6354
6355
6356
6357
6358
6359
6360
6361
6362
6363
6364
6365
6366
6367
6368
6369
6370
6371
6372
6373
6374
6375
6376
6377
6378
6379
6380
6381
6382
6383
6384
6385
6386
6387
6388
6389
6390
6391
6392
6393
6394
6395
6396
6397
6398
6399
6400
6401
6402
6403
6404
6405
6406
6407
6408
6409
6410
6411
6412
6413
6414
6415
6416
6417
6418
6419
6420
6421
6422
6423
6424
6425
6426
6427
6428
6429
6430
6431
6432
6433
6434
6435
6436
6437
6438
6439
6440
6441
6442
6443
6444
6445
6446
6447
6448
6449
6450
6451
6452
6453
6454
6455
6456
6457
6458
6459
6460
6461
6462
6463
6464
6465
6466
6467
6468
6469
6470
6471
6472
6473
6474
6475
6476
6477
6478
6479
6480
6481
6482
6483
6484
6485
6486
6487
6488
6489
6490
6491
6492
6493
6494
6495
6496
6497
6498
6499
6500
6501
6502
6503
6504
6505
6506
6507
6508
6509
6510
6511
6512
6513
6514
6515
6516
6517
6518
6519
6520
6521
6522
6523
6524
6525
6526
6527
6528
6529
6530
6531
6532
6533
6534
6535
6536
6537
6538
6539
6540
6541
6542
6543
6544
6545
6546
6547
6548
6549
6550
6551
6552
6553
6554
6555
6556
6557
6558
6559
6560
6561
6562
6563
6564
6565
6566
6567
6568
6569
6570
6571
6572
6573
6574
6575
6576
6577
6578
6579
6580
6581
6582
6583
6584
6585
6586
6587
6588
6589
6590
6591
6592
6593
6594
6595
6596
6597
6598
6599
6600
6601
6602
6603
6604
6605
6606
6607
6608
6609
6610
6611
6612
6613
6614
6615
6616
6617
6618
6619
6620
6621
6622
6623
6624
6625
6626
6627
6628
6629
6630
6631
6632
6633
6634
6635
6636
6637
6638
6639
6640
6641
6642
6643
6644
6645
6646
6647
6648
6649
6650
6651
6652
6653
6654
6655
6656
6657
6658
6659
6660
6661
6662
6663
6664
6665
6666
6667
6668
6669
6670
6671
6672
6673
6674
6675
6676
6677
6678
6679
6680
6681
6682
6683
6684
6685
6686
6687
6688
6689
6690
6691
6692
6693
6694
6695
6696
6697
6698
6699
6700
6701
6702
6703
6704
6705
6706
6707
6708
6709
6710
6711
6712
6713
6714
6715
6716
6717
6718
6719
6720
6721
6722
6723
6724
6725
6726
6727
6728
6729
6730
6731
6732
6733
6734
6735
6736
6737
6738
6739
6740
6741
6742
6743
6744
6745
6746
6747
6748
6749
6750
6751
6752
6753
6754
6755
6756
6757
6758
6759
6760
6761
6762
6763
6764
6765
6766
6767
6768
6769
6770
6771
6772
6773
6774
6775
6776
6777
6778
6779
6780
6781
6782
6783
6784
6785
6786
6787
6788
6789
6790
6791
6792
6793
6794
6795
6796
6797
6798
6799
6800
6801
6802
6803
6804
6805
6806
6807
6808
6809
6810
6811
6812
6813
6814
6815
6816
6817
6818
6819
6820
6821
6822
6823
6824
6825
6826
6827
6828
6829
6830
6831
6832
6833
6834
6835
6836
6837
6838
6839
6840
6841
6842
6843
6844
6845
6846
6847
6848
6849
6850
6851
6852
6853
6854
6855
6856
6857
6858
6859
6860
6861
6862
6863
6864
6865
6866
6867
6868
6869
6870
6871
6872
6873
6874
6875
6876
6877
6878
6879
6880
6881
6882
6883
6884
6885
6886
6887
6888
6889
6890
6891
6892
6893
6894
6895
6896
6897
6898
6899
6900
6901
6902
6903
6904
6905
6906
6907
6908
6909
6910
6911
6912
6913
6914
6915
6916
6917
6918
6919
6920
6921
6922
6923
6924
6925
6926
6927
6928
6929
6930
6931
6932
6933
6934
6935
6936
6937
6938
6939
6940
6941
6942
6943
6944
6945
6946
6947
6948
6949
6950
6951
6952
6953
6954
6955
6956
6957
6958
6959
6960
6961
6962
6963
6964
6965
6966
6967
6968
6969
6970
6971
6972
6973
6974
6975
6976
6977
6978
6979
6980
6981
6982
6983
6984
6985
6986
6987
6988
6989
6990
6991
6992
6993
6994
6995
6996
6997
6998
6999
7000
7001
7002
7003
7004
7005
7006
7007
7008
7009
7010
7011
7012
7013
7014
7015
7016
7017
7018
7019
7020
7021
7022
7023
7024
7025
7026
7027
7028
7029
7030
7031
7032
7033
7034
7035
7036
7037
7038
7039
7040
7041
7042
7043
7044
7045
7046
7047
7048
7049
7050
7051
7052
7053
7054
7055
7056
7057
7058
7059
7060
7061
7062
7063
7064
7065
7066
7067
7068
7069
7070
7071
7072
7073
7074
7075
7076
7077
7078
7079
7080
7081
7082
7083
7084
7085
7086
7087
7088
7089
7090
7091
7092
7093
7094
7095
7096
7097
7098
7099
7100
7101
7102
7103
7104
7105
7106
7107
7108
7109
7110
7111
7112
7113
7114
7115
7116
7117
7118
7119
7120
7121
7122
7123
7124
7125
7126
7127
7128
7129
7130
7131
7132
7133
7134
7135
7136
7137
7138
7139
7140
7141
7142
7143
7144
7145
7146
7147
7148
7149
7150
7151
7152
7153
7154
7155
7156
7157
7158
7159
7160
7161
7162
7163
7164
7165
7166
7167
7168
7169
7170
7171
7172
7173
7174
7175
7176
7177
7178
7179
7180
7181
7182
7183
7184
7185
7186
7187
7188
7189
7190
7191
7192
7193
7194
7195
7196
7197
7198
7199
7200
7201
7202
7203
7204
7205
7206
7207
7208
7209
7210
7211
7212
7213
7214
7215
7216
7217
7218
7219
7220
7221
7222
7223
7224
7225
7226
7227
7228
7229
7230
7231
7232
7233
7234
7235
7236
7237
7238
7239
7240
7241
7242
7243
7244
7245
7246
7247
7248
7249
7250
7251
7252
7253
7254
7255
7256
7257
7258
7259
7260
7261
7262
7263
7264
7265
7266
7267
7268
7269
7270
7271
7272
7273
7274
7275
7276
7277
7278
7279
7280
7281
7282
7283
7284
7285
7286
7287
7288
7289
7290
7291
7292
7293
7294
7295
7296
7297
7298
7299
7300
7301
7302
7303
7304
7305
7306
7307
7308
7309
7310
7311
7312
7313
7314
7315
7316
7317
7318
7319
7320
7321
7322
7323
7324
7325
7326
7327
7328
7329
7330
7331
7332
7333
7334
7335
7336
7337
7338
7339
7340
7341
7342
7343
7344
7345
7346
7347
7348
7349
7350
7351
7352
7353
7354
7355
7356
7357
7358
7359
7360
7361
7362
7363
7364
7365
7366
7367
7368
7369
7370
7371
7372
7373
7374
7375
7376
7377
7378
7379
7380
7381
7382
7383
7384
7385
7386
7387
7388
7389
7390
7391
7392
7393
7394
7395
7396
7397
7398
7399
7400
7401
7402
7403
7404
7405
7406
7407
7408
7409
7410
7411
7412
7413
7414
7415
7416
7417
7418
7419
7420
7421
7422
7423
7424
7425
7426
7427
7428
7429
7430
7431
7432
7433
7434
7435
7436
7437
7438
7439
7440
7441
7442
7443
7444
7445
7446
7447
7448
7449
7450
7451
7452
7453
7454
7455
7456
7457
7458
7459
7460
7461
7462
7463
7464
7465
7466
7467
7468
7469
7470
7471
7472
7473
7474
7475
7476
7477
7478
7479
7480
7481
7482
7483
7484
7485
7486
7487
7488
7489
7490
7491
7492
7493
7494
7495
7496
7497
7498
7499
7500
7501
7502
7503
7504
7505
7506
7507
7508
7509
7510
7511
7512
7513
7514
7515
7516
7517
7518
7519
7520
7521
7522
7523
7524
7525
7526
7527
7528
7529
7530
7531
7532
7533
7534
7535
7536
7537
7538
7539
7540
7541
7542
7543
7544
7545
7546
7547
7548
7549
7550
7551
7552
7553
7554
7555
7556
7557
7558
7559
7560
7561
7562
7563
7564
7565
7566
7567
7568
7569
7570
7571
7572
7573
7574
7575
7576
7577
7578
7579
7580
7581
7582
7583
7584
7585
7586
7587
7588
7589
7590
7591
7592
7593
7594
7595
7596
7597
7598
7599
7600
7601
7602
7603
7604
7605
7606
7607
7608
7609
7610
7611
7612
7613
7614
7615
7616
7617
7618
7619
7620
7621
7622
7623
7624
7625
7626
7627
7628
7629
7630
7631
7632
7633
7634
7635
7636
7637
7638
7639
7640
7641
7642
7643
7644
7645
7646
7647
7648
7649
7650
7651
7652
7653
7654
7655
7656
7657
7658
7659
7660
7661
7662
7663
7664
7665
7666
7667
7668
7669
7670
7671
7672
7673
7674
7675
7676
7677
7678
7679
7680
7681
7682
7683
7684
7685
7686
7687
7688
7689
7690
7691
7692
7693
7694
7695
7696
7697
7698
7699
7700
7701
7702
7703
7704
7705
7706
7707
7708
7709
7710
7711
7712
7713
7714
7715
7716
7717
7718
7719
7720
7721
7722
7723
7724
7725
7726
7727
7728
7729
7730
7731
7732
7733
7734
7735
7736
7737
7738
7739
7740
7741
7742
7743
7744
7745
7746
7747
7748
7749
7750
7751
7752
7753
7754
7755
7756
7757
7758
7759
7760
7761
7762
7763
7764
7765
7766
7767
7768
7769
7770
7771
7772
7773
7774
7775
7776
7777
7778
7779
7780
7781
7782
7783
7784
7785
7786
7787
7788
7789
7790
7791
7792
7793
7794
7795
7796
7797
7798
7799
7800
7801
7802
7803
7804
7805
7806
7807
7808
7809
7810
7811
7812
7813
7814
7815
7816
7817
7818
7819
7820
7821
7822
7823
7824
7825
7826
7827
7828
7829
7830
7831
7832
7833
7834
7835
7836
7837
7838
7839
7840
7841
7842
7843
7844
7845
7846
7847
7848
7849
7850
7851
7852
7853
7854
7855
7856
7857
7858
7859
7860
7861
7862
7863
7864
7865
7866
7867
7868
7869
7870
7871
7872
7873
7874
7875
7876
7877
7878
7879
7880
7881
7882
7883
7884
7885
7886
7887
7888
7889
7890
7891
7892
7893
7894
7895
7896
7897
7898
7899
7900
7901
7902
7903
7904
7905
7906
7907
7908
7909
7910
7911
7912
7913
7914
7915
7916
7917
7918
7919
7920
7921
7922
7923
7924
7925
7926
7927
7928
7929
7930
7931
7932
7933
7934
7935
7936
7937
7938
7939
7940
7941
7942
7943
7944
7945
7946
7947
7948
7949
7950
7951
7952
7953
7954
7955
7956
7957
7958
7959
7960
7961
7962
7963
7964
7965
7966
7967
7968
7969
7970
7971
7972
7973
7974
7975
7976
7977
7978
7979
7980
7981
7982
7983
7984
7985
7986
7987
7988
7989
7990
7991
7992
7993
7994
7995
7996
7997
7998
7999
8000
8001
8002
8003
8004
8005
8006
8007
8008
8009
8010
8011
8012
8013
8014
8015
8016
8017
8018
8019
8020
8021
8022
8023
8024
8025
8026
8027
8028
8029
8030
8031
8032
8033
8034
8035
8036
8037
8038
8039
8040
8041
8042
8043
8044
8045
8046
8047
8048
8049
8050
8051
8052
8053
8054
8055
8056
8057
8058
8059
8060
8061
8062
8063
8064
8065
8066
8067
8068
8069
8070
8071
8072
8073
8074
8075
8076
8077
8078
8079
8080
8081
8082
8083
8084
8085
8086
8087
8088
8089
8090
8091
8092
8093
8094
8095
8096
8097
8098
8099
8100
8101
8102
8103
8104
8105
8106
8107
8108
8109
8110
8111
8112
8113
8114
8115
8116
8117
8118
8119
8120
8121
8122
8123
8124
8125
8126
8127
8128
8129
8130
8131
8132
8133
8134
8135
8136
8137
8138
8139
8140
8141
8142
8143
8144
8145
8146
8147
8148
8149
8150
8151
8152
8153
8154
8155
8156
8157
8158
8159
8160
8161
8162
8163
8164
8165
8166
8167
8168
8169
8170
8171
8172
8173
8174
8175
8176
8177
8178
8179
8180
8181
8182
8183
8184
8185
8186
8187
8188
8189
8190
8191
8192
8193
8194
8195
8196
8197
8198
8199
8200
8201
8202
8203
8204
8205
8206
8207
8208
8209
8210
8211
8212
8213
8214
8215
8216
8217
8218
8219
8220
8221
8222
8223
8224
8225
8226
8227
8228
8229
8230
8231
8232
8233
8234
8235
8236
8237
8238
8239
8240
8241
8242
8243
8244
8245
8246
8247
8248
8249
8250
8251
8252
8253
8254
8255
8256
8257
8258
8259
8260
8261
8262
8263
8264
8265
8266
8267
8268
8269
8270
8271
8272
8273
8274
8275
8276
8277
8278
8279
8280
8281
8282
8283
8284
8285
8286
8287
8288
8289
8290
8291
8292
8293
8294
8295
8296
8297
8298
8299
8300
8301
8302
8303
8304
8305
8306
8307
8308
8309
8310
8311
8312
8313
8314
8315
8316
8317
8318
8319
8320
8321
8322
8323
8324
8325
8326
8327
8328
8329
8330
8331
8332
8333
8334
8335
8336
8337
8338
8339
8340
8341
8342
8343
8344
8345
8346
8347
8348
8349
8350
8351
8352
8353
8354
8355
8356
8357
8358
8359
8360
8361
8362
8363
8364
8365
8366
8367
8368
8369
8370
8371
8372
8373
8374
8375
8376
8377
8378
8379
8380
8381
8382
8383
8384
8385
8386
8387
8388
8389
8390
8391
8392
8393
8394
8395
8396
8397
8398
8399
8400
8401
8402
8403
8404
8405
8406
8407
8408
8409
8410
8411
8412
8413
8414
8415
8416
8417
8418
8419
8420
8421
8422
8423
8424
8425
8426
8427
8428
8429
8430
8431
8432
8433
8434
8435
8436
8437
8438
8439
8440
8441
8442
8443
8444
8445
8446
8447
8448
8449
8450
8451
8452
8453
8454
8455
8456
8457
8458
8459
8460
8461
8462
8463
8464
8465
8466
8467
8468
8469
8470
8471
8472
8473
8474
8475
8476
8477
8478
8479
8480
8481
8482
8483
8484
8485
8486
8487
8488
8489
8490
8491
8492
8493
8494
8495
8496
8497
8498
8499
8500
8501
8502
8503
8504
8505
8506
8507
8508
8509
8510
8511
8512
8513
8514
8515
8516
8517
8518
8519
8520
8521
8522
8523
8524
8525
8526
8527
8528
8529
8530
8531
8532
8533
8534
8535
8536
8537
8538
8539
8540
8541
8542
8543
8544
8545
8546
8547
8548
8549
8550
8551
8552
8553
8554
8555
8556
8557
8558
8559
8560
8561
8562
8563
8564
8565
8566
8567
8568
8569
8570
8571
8572
8573
8574
8575
8576
8577
8578
8579
8580
8581
8582
8583
8584
8585
8586
8587
8588
8589
8590
8591
8592
8593
8594
8595
8596
8597
8598
8599
8600
8601
8602
8603
8604
8605
8606
8607
8608
8609
8610
8611
8612
8613
8614
8615
8616
8617
8618
8619
8620
8621
8622
8623
8624
8625
8626
8627
8628
8629
8630
8631
8632
8633
8634
8635
8636
8637
8638
8639
8640
8641
8642
8643
8644
8645
8646
8647
8648
8649
8650
8651
8652
8653
8654
8655
8656
8657
8658
8659
8660
8661
8662
8663
8664
8665
8666
8667
8668
8669
8670
8671
8672
8673
8674
8675
8676
8677
8678
8679
8680
8681
8682
8683
8684
8685
8686
8687
8688
8689
8690
8691
8692
8693
8694
8695
8696
8697
8698
8699
8700
8701
8702
8703
8704
8705
8706
8707
8708
8709
8710
8711
8712
8713
8714
8715
8716
8717
8718
8719
8720
8721
8722
8723
8724
8725
8726
8727
8728
8729
8730
8731
8732
8733
8734
8735
8736
8737
8738
8739
8740
8741
8742
8743
8744
8745
8746
8747
8748
8749
8750
8751
8752
8753
8754
8755
8756
8757
8758
8759
8760
8761
8762
8763
8764
8765
8766
8767
8768
8769
8770
8771
8772
8773
8774
8775
8776
8777
8778
8779
8780
8781
8782
8783
8784
8785
8786
8787
8788
8789
8790
8791
8792
8793
8794
8795
8796
8797
8798
8799
8800
8801
8802
8803
8804
8805
8806
8807
8808
8809
8810
8811
8812
8813
8814
8815
8816
8817
8818
8819
8820
8821
8822
8823
8824
8825
8826
8827
8828
8829
8830
8831
8832
8833
8834
8835
8836
8837
8838
8839
8840
8841
8842
8843
8844
8845
8846
8847
8848
8849
8850
8851
8852
8853
8854
8855
8856
8857
8858
8859
8860
8861
8862
8863
8864
8865
8866
8867
8868
8869
8870
8871
8872
8873
8874
8875
8876
8877
8878
8879
8880
8881
8882
8883
8884
8885
8886
8887
8888
8889
8890
8891
8892
8893
8894
8895
8896
8897
8898
8899
8900
8901
8902
8903
8904
8905
8906
8907
8908
8909
8910
8911
8912
8913
8914
8915
8916
8917
8918
8919
8920
8921
8922
8923
8924
8925
8926
8927
8928
8929
8930
8931
8932
8933
8934
8935
8936
8937
8938
8939
8940
8941
8942
8943
8944
8945
8946
8947
8948
8949
8950
8951
8952
8953
8954
8955
8956
8957
8958
8959
8960
8961
8962
8963
8964
8965
8966
8967
8968
8969
8970
8971
8972
8973
8974
8975
8976
8977
8978
8979
8980
8981
8982
8983
8984
8985
8986
8987
8988
8989
8990
8991
8992
8993
8994
8995
8996
8997
8998
8999
9000
9001
9002
9003
9004
9005
9006
9007
9008
9009
9010
9011
9012
9013
9014
9015
9016
9017
9018
9019
9020
9021
9022
9023
9024
9025
9026
9027
9028
9029
9030
9031
9032
9033
9034
9035
9036
9037
9038
9039
9040
9041
9042
9043
9044
9045
9046
9047
9048
9049
9050
9051
9052
9053
9054
9055
9056
9057
9058
9059
9060
9061
9062
9063
9064
9065
9066
9067
9068
9069
9070
9071
9072
9073
9074
9075
9076
9077
9078
9079
9080
9081
9082
9083
9084
9085
9086
9087
9088
9089
9090
9091
9092
9093
9094
9095
9096
9097
9098
9099
9100
9101
9102
9103
9104
9105
9106
9107
9108
9109
9110
9111
9112
9113
9114
9115
9116
9117
9118
9119
9120
9121
9122
9123
9124
9125
9126
9127
9128
9129
9130
9131
9132
9133
9134
9135
9136
9137
9138
9139
9140
9141
9142
9143
9144
9145
9146
9147
9148
9149
9150
9151
9152
9153
9154
9155
9156
9157
9158
9159
9160
9161
9162
9163
9164
/* automatically generated by rust-bindgen */

#[repr(C)]
#[derive(Copy, Clone, Debug, Default, Eq, Hash, Ord, PartialEq, PartialOrd)]
pub struct __BindgenBitfieldUnit<Storage, Align> {
    storage: Storage,
    align: [Align; 0],
}
impl<Storage, Align> __BindgenBitfieldUnit<Storage, Align> {
    #[inline]
    pub const fn new(storage: Storage) -> Self {
        Self { storage, align: [] }
    }
}
impl<Storage, Align> __BindgenBitfieldUnit<Storage, Align>
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);
        }
    }
}
pub const _STDINT_H: u32 = 1;
pub const _FEATURES_H: u32 = 1;
pub const _DEFAULT_SOURCE: u32 = 1;
pub const __GLIBC_USE_ISOC2X: u32 = 0;
pub const __USE_ISOC11: u32 = 1;
pub const __USE_ISOC99: u32 = 1;
pub const __USE_ISOC95: u32 = 1;
pub const __USE_POSIX_IMPLICITLY: u32 = 1;
pub const _POSIX_SOURCE: u32 = 1;
pub const _POSIX_C_SOURCE: u32 = 200809;
pub const __USE_POSIX: u32 = 1;
pub const __USE_POSIX2: u32 = 1;
pub const __USE_POSIX199309: u32 = 1;
pub const __USE_POSIX199506: u32 = 1;
pub const __USE_XOPEN2K: u32 = 1;
pub const __USE_XOPEN2K8: u32 = 1;
pub const _ATFILE_SOURCE: u32 = 1;
pub const __USE_MISC: u32 = 1;
pub const __USE_ATFILE: u32 = 1;
pub const __USE_FORTIFY_LEVEL: u32 = 0;
pub const __GLIBC_USE_DEPRECATED_GETS: u32 = 0;
pub const __GLIBC_USE_DEPRECATED_SCANF: u32 = 0;
pub const _STDC_PREDEF_H: u32 = 1;
pub const __STDC_IEC_559__: u32 = 1;
pub const __STDC_IEC_559_COMPLEX__: u32 = 1;
pub const __STDC_ISO_10646__: u32 = 201706;
pub const __GNU_LIBRARY__: u32 = 6;
pub const __GLIBC__: u32 = 2;
pub const __GLIBC_MINOR__: u32 = 31;
pub const _SYS_CDEFS_H: u32 = 1;
pub const __glibc_c99_flexarr_available: u32 = 1;
pub const __WORDSIZE: u32 = 32;
pub const __WORDSIZE32_SIZE_ULONG: u32 = 0;
pub const __WORDSIZE32_PTRDIFF_LONG: u32 = 0;
pub const __WORDSIZE_TIME64_COMPAT32: u32 = 0;
pub const __LONG_DOUBLE_USES_FLOAT128: u32 = 0;
pub const __HAVE_GENERIC_SELECTION: u32 = 1;
pub const __GLIBC_USE_LIB_EXT2: u32 = 0;
pub const __GLIBC_USE_IEC_60559_BFP_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_BFP_EXT_C2X: u32 = 0;
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT: u32 = 0;
pub const __GLIBC_USE_IEC_60559_FUNCS_EXT_C2X: u32 = 0;
pub const __GLIBC_USE_IEC_60559_TYPES_EXT: u32 = 0;
pub const _BITS_TYPES_H: u32 = 1;
pub const __TIMESIZE: u32 = 32;
pub const _BITS_TYPESIZES_H: u32 = 1;
pub const __RLIM_T_MATCHES_RLIM64_T: u32 = 0;
pub const __STATFS_MATCHES_STATFS64: u32 = 0;
pub const __FD_SETSIZE: u32 = 1024;
pub const _BITS_TIME64_H: u32 = 1;
pub const _BITS_WCHAR_H: u32 = 1;
pub const _BITS_STDINT_INTN_H: u32 = 1;
pub const _BITS_STDINT_UINTN_H: u32 = 1;
pub const INT8_MIN: i32 = -128;
pub const INT16_MIN: i32 = -32768;
pub const INT32_MIN: i32 = -2147483648;
pub const INT8_MAX: u32 = 127;
pub const INT16_MAX: u32 = 32767;
pub const INT32_MAX: u32 = 2147483647;
pub const UINT8_MAX: u32 = 255;
pub const UINT16_MAX: u32 = 65535;
pub const UINT32_MAX: u32 = 4294967295;
pub const INT_LEAST8_MIN: i32 = -128;
pub const INT_LEAST16_MIN: i32 = -32768;
pub const INT_LEAST32_MIN: i32 = -2147483648;
pub const INT_LEAST8_MAX: u32 = 127;
pub const INT_LEAST16_MAX: u32 = 32767;
pub const INT_LEAST32_MAX: u32 = 2147483647;
pub const UINT_LEAST8_MAX: u32 = 255;
pub const UINT_LEAST16_MAX: u32 = 65535;
pub const UINT_LEAST32_MAX: u32 = 4294967295;
pub const INT_FAST8_MIN: i32 = -128;
pub const INT_FAST16_MIN: i32 = -2147483648;
pub const INT_FAST32_MIN: i32 = -2147483648;
pub const INT_FAST8_MAX: u32 = 127;
pub const INT_FAST16_MAX: u32 = 2147483647;
pub const INT_FAST32_MAX: u32 = 2147483647;
pub const UINT_FAST8_MAX: u32 = 255;
pub const UINT_FAST16_MAX: u32 = 4294967295;
pub const UINT_FAST32_MAX: u32 = 4294967295;
pub const INTPTR_MIN: i32 = -2147483648;
pub const INTPTR_MAX: u32 = 2147483647;
pub const UINTPTR_MAX: u32 = 4294967295;
pub const PTRDIFF_MIN: i32 = -2147483648;
pub const PTRDIFF_MAX: u32 = 2147483647;
pub const SIG_ATOMIC_MIN: i32 = -2147483648;
pub const SIG_ATOMIC_MAX: u32 = 2147483647;
pub const SIZE_MAX: u32 = 4294967295;
pub const WINT_MIN: u32 = 0;
pub const WINT_MAX: u32 = 4294967295;
pub const LV_HOR_RES_MAX: u32 = 240;
pub const LV_VER_RES_MAX: u32 = 240;
pub const LV_COLOR_DEPTH: u32 = 16;
pub const LV_COLOR_16_SWAP: u32 = 0;
pub const LV_COLOR_SCREEN_TRANSP: u32 = 0;
pub const LV_ANTIALIAS: u32 = 1;
pub const LV_DISP_DEF_REFR_PERIOD: u32 = 30;
pub const LV_DPI: u32 = 130;
pub const LV_DISP_SMALL_LIMIT: u32 = 30;
pub const LV_DISP_MEDIUM_LIMIT: u32 = 50;
pub const LV_DISP_LARGE_LIMIT: u32 = 70;
pub const LV_MEM_CUSTOM: u32 = 0;
pub const LV_MEM_SIZE: u32 = 32768;
pub const LV_MEM_ADR: u32 = 0;
pub const LV_MEM_AUTO_DEFRAG: u32 = 1;
pub const LV_ENABLE_GC: u32 = 0;
pub const LV_INDEV_DEF_READ_PERIOD: u32 = 30;
pub const LV_INDEV_DEF_DRAG_LIMIT: u32 = 10;
pub const LV_INDEV_DEF_DRAG_THROW: u32 = 10;
pub const LV_INDEV_DEF_LONG_PRESS_TIME: u32 = 400;
pub const LV_INDEV_DEF_LONG_PRESS_REP_TIME: u32 = 100;
pub const LV_INDEV_DEF_GESTURE_LIMIT: u32 = 50;
pub const LV_INDEV_DEF_GESTURE_MIN_VELOCITY: u32 = 3;
pub const LV_USE_ANIMATION: u32 = 1;
pub const LV_USE_SHADOW: u32 = 1;
pub const LV_SHADOW_CACHE_SIZE: u32 = 0;
pub const LV_USE_BLEND_MODES: u32 = 1;
pub const LV_USE_OPA_SCALE: u32 = 1;
pub const LV_USE_IMG_TRANSFORM: u32 = 1;
pub const LV_USE_GROUP: u32 = 1;
pub const LV_USE_GPU: u32 = 1;
pub const LV_USE_GPU_STM32_DMA2D: u32 = 0;
pub const LV_USE_FILESYSTEM: u32 = 1;
pub const LV_USE_USER_DATA: u32 = 1;
pub const LV_USE_PERF_MONITOR: u32 = 0;
pub const LV_USE_API_EXTENSION_V6: u32 = 1;
pub const LV_IMG_CF_INDEXED: u32 = 1;
pub const LV_IMG_CF_ALPHA: u32 = 1;
pub const LV_IMG_CACHE_DEF_SIZE: u32 = 1;
pub const LV_TICK_CUSTOM: u32 = 0;
pub const LV_USE_LOG: u32 = 0;
pub const LV_USE_DEBUG: u32 = 1;
pub const LV_USE_ASSERT_NULL: u32 = 1;
pub const LV_USE_ASSERT_MEM: u32 = 1;
pub const LV_USE_ASSERT_MEM_INTEGRITY: u32 = 0;
pub const LV_USE_ASSERT_STR: u32 = 0;
pub const LV_USE_ASSERT_OBJ: u32 = 0;
pub const LV_USE_ASSERT_STYLE: u32 = 0;
pub const LV_FONT_MONTSERRAT_12: u32 = 0;
pub const LV_FONT_MONTSERRAT_14: u32 = 0;
pub const LV_FONT_MONTSERRAT_16: u32 = 1;
pub const LV_FONT_MONTSERRAT_18: u32 = 0;
pub const LV_FONT_MONTSERRAT_20: u32 = 0;
pub const LV_FONT_MONTSERRAT_22: u32 = 0;
pub const LV_FONT_MONTSERRAT_24: u32 = 0;
pub const LV_FONT_MONTSERRAT_26: u32 = 0;
pub const LV_FONT_MONTSERRAT_28: u32 = 0;
pub const LV_FONT_MONTSERRAT_30: u32 = 0;
pub const LV_FONT_MONTSERRAT_32: u32 = 0;
pub const LV_FONT_MONTSERRAT_34: u32 = 0;
pub const LV_FONT_MONTSERRAT_36: u32 = 0;
pub const LV_FONT_MONTSERRAT_38: u32 = 0;
pub const LV_FONT_MONTSERRAT_40: u32 = 0;
pub const LV_FONT_MONTSERRAT_42: u32 = 0;
pub const LV_FONT_MONTSERRAT_44: u32 = 0;
pub const LV_FONT_MONTSERRAT_46: u32 = 0;
pub const LV_FONT_MONTSERRAT_48: u32 = 0;
pub const LV_FONT_MONTSERRAT_12_SUBPX: u32 = 0;
pub const LV_FONT_MONTSERRAT_28_COMPRESSED: u32 = 0;
pub const LV_FONT_DEJAVU_16_PERSIAN_HEBREW: u32 = 0;
pub const LV_FONT_SIMSUN_16_CJK: u32 = 0;
pub const LV_FONT_UNSCII_8: u32 = 0;
pub const LV_FONT_FMT_TXT_LARGE: u32 = 0;
pub const LV_FONT_SUBPX_BGR: u32 = 0;
pub const LV_USE_THEME_EMPTY: u32 = 1;
pub const LV_USE_THEME_TEMPLATE: u32 = 1;
pub const LV_USE_THEME_MATERIAL: u32 = 1;
pub const LV_USE_THEME_MONO: u32 = 1;
pub const LV_TXT_BREAK_CHARS: &'static [u8; 8usize] = b" ,.;:-_\0";
pub const LV_TXT_LINE_BREAK_LONG_LEN: u32 = 0;
pub const LV_TXT_LINE_BREAK_LONG_PRE_MIN_LEN: u32 = 3;
pub const LV_TXT_LINE_BREAK_LONG_POST_MIN_LEN: u32 = 3;
pub const LV_TXT_COLOR_CMD: &'static [u8; 2usize] = b"#\0";
pub const LV_USE_BIDI: u32 = 0;
pub const LV_USE_ARABIC_PERSIAN_CHARS: u32 = 0;
pub const LV_SPRINTF_CUSTOM: u32 = 0;
pub const LV_SPRINTF_DISABLE_FLOAT: u32 = 1;
pub const LV_USE_USER_DATA_FREE: u32 = 0;
pub const LV_USE_OBJ_REALIGN: u32 = 1;
pub const LV_USE_ARC: u32 = 1;
pub const LV_USE_BAR: u32 = 1;
pub const LV_USE_BTN: u32 = 1;
pub const LV_USE_BTNMATRIX: u32 = 1;
pub const LV_USE_CALENDAR: u32 = 1;
pub const LV_USE_CANVAS: u32 = 1;
pub const LV_USE_CHECKBOX: u32 = 1;
pub const LV_USE_CHART: u32 = 1;
pub const LV_CHART_AXIS_TICK_LABEL_MAX_LEN: u32 = 256;
pub const LV_USE_CONT: u32 = 1;
pub const LV_USE_CPICKER: u32 = 1;
pub const LV_USE_DROPDOWN: u32 = 1;
pub const LV_DROPDOWN_DEF_ANIM_TIME: u32 = 200;
pub const LV_USE_GAUGE: u32 = 1;
pub const LV_USE_IMG: u32 = 1;
pub const LV_USE_IMGBTN: u32 = 1;
pub const LV_IMGBTN_TILED: u32 = 0;
pub const LV_USE_KEYBOARD: u32 = 1;
pub const LV_USE_LABEL: u32 = 1;
pub const LV_LABEL_DEF_SCROLL_SPEED: u32 = 25;
pub const LV_LABEL_WAIT_CHAR_COUNT: u32 = 3;
pub const LV_LABEL_TEXT_SEL: u32 = 0;
pub const LV_LABEL_LONG_TXT_HINT: u32 = 0;
pub const LV_USE_LED: u32 = 1;
pub const LV_LED_BRIGHT_MIN: u32 = 120;
pub const LV_LED_BRIGHT_MAX: u32 = 255;
pub const LV_USE_LINE: u32 = 1;
pub const LV_USE_LIST: u32 = 1;
pub const LV_LIST_DEF_ANIM_TIME: u32 = 100;
pub const LV_USE_LINEMETER: u32 = 1;
pub const LV_LINEMETER_PRECISE: u32 = 0;
pub const LV_USE_OBJMASK: u32 = 1;
pub const LV_USE_MSGBOX: u32 = 1;
pub const LV_USE_PAGE: u32 = 1;
pub const LV_PAGE_DEF_ANIM_TIME: u32 = 400;
pub const LV_USE_SPINNER: u32 = 1;
pub const LV_SPINNER_DEF_ARC_LENGTH: u32 = 60;
pub const LV_SPINNER_DEF_SPIN_TIME: u32 = 1000;
pub const LV_USE_ROLLER: u32 = 1;
pub const LV_ROLLER_DEF_ANIM_TIME: u32 = 200;
pub const LV_ROLLER_INF_PAGES: u32 = 7;
pub const LV_USE_SLIDER: u32 = 1;
pub const LV_USE_SPINBOX: u32 = 1;
pub const LV_USE_SWITCH: u32 = 1;
pub const LV_USE_TEXTAREA: u32 = 1;
pub const LV_TEXTAREA_DEF_CURSOR_BLINK_TIME: u32 = 400;
pub const LV_TEXTAREA_DEF_PWD_SHOW_TIME: u32 = 1500;
pub const LV_USE_TABLE: u32 = 1;
pub const LV_TABLE_COL_MAX: u32 = 12;
pub const LV_USE_TABVIEW: u32 = 1;
pub const LV_TABVIEW_DEF_ANIM_TIME: u32 = 300;
pub const LV_USE_TILEVIEW: u32 = 1;
pub const LV_TILEVIEW_DEF_ANIM_TIME: u32 = 300;
pub const LV_USE_WIN: u32 = 1;
pub const LV_LOG_LEVEL_TRACE: u32 = 0;
pub const LV_LOG_LEVEL_INFO: u32 = 1;
pub const LV_LOG_LEVEL_WARN: u32 = 2;
pub const LV_LOG_LEVEL_ERROR: u32 = 3;
pub const LV_LOG_LEVEL_USER: u32 = 4;
pub const LV_LOG_LEVEL_NONE: u32 = 5;
pub const _LV_LOG_LEVEL_NUM: u32 = 6;
pub const true_: u32 = 1;
pub const false_: u32 = 0;
pub const __bool_true_false_are_defined: u32 = 1;
pub const LV_MEM_BUF_MAX_NUM: u32 = 16;
pub const LV_NO_TASK_READY: u32 = 4294967295;
pub const LV_TRIGO_SIN_MAX: u32 = 32767;
pub const LV_TRIGO_SHIFT: u32 = 15;
pub const LV_BEZIER_VAL_MAX: u32 = 1024;
pub const LV_BEZIER_VAL_SHIFT: u32 = 10;
pub const LV_OPA_MIN: u32 = 5;
pub const LV_OPA_MAX: u32 = 250;
pub const LV_COLOR_SIZE: u32 = 16;
pub const LV_COLOR_MIX_ROUND_OFS: u32 = 128;
pub const _STRING_H: u32 = 1;
pub const _BITS_TYPES_LOCALE_T_H: u32 = 1;
pub const _BITS_TYPES___LOCALE_T_H: u32 = 1;
pub const _STRINGS_H: u32 = 1;
pub const LV_INV_BUF_SIZE: u32 = 32;
pub const LV_SYMBOL_AUDIO: &'static [u8; 4usize] = b"\xEF\x80\x81\0";
pub const LV_SYMBOL_VIDEO: &'static [u8; 4usize] = b"\xEF\x80\x88\0";
pub const LV_SYMBOL_LIST: &'static [u8; 4usize] = b"\xEF\x80\x8B\0";
pub const LV_SYMBOL_OK: &'static [u8; 4usize] = b"\xEF\x80\x8C\0";
pub const LV_SYMBOL_CLOSE: &'static [u8; 4usize] = b"\xEF\x80\x8D\0";
pub const LV_SYMBOL_POWER: &'static [u8; 4usize] = b"\xEF\x80\x91\0";
pub const LV_SYMBOL_SETTINGS: &'static [u8; 4usize] = b"\xEF\x80\x93\0";
pub const LV_SYMBOL_HOME: &'static [u8; 4usize] = b"\xEF\x80\x95\0";
pub const LV_SYMBOL_DOWNLOAD: &'static [u8; 4usize] = b"\xEF\x80\x99\0";
pub const LV_SYMBOL_DRIVE: &'static [u8; 4usize] = b"\xEF\x80\x9C\0";
pub const LV_SYMBOL_REFRESH: &'static [u8; 4usize] = b"\xEF\x80\xA1\0";
pub const LV_SYMBOL_MUTE: &'static [u8; 4usize] = b"\xEF\x80\xA6\0";
pub const LV_SYMBOL_VOLUME_MID: &'static [u8; 4usize] = b"\xEF\x80\xA7\0";
pub const LV_SYMBOL_VOLUME_MAX: &'static [u8; 4usize] = b"\xEF\x80\xA8\0";
pub const LV_SYMBOL_IMAGE: &'static [u8; 4usize] = b"\xEF\x80\xBE\0";
pub const LV_SYMBOL_EDIT: &'static [u8; 4usize] = b"\xEF\x8C\x84\0";
pub const LV_SYMBOL_PREV: &'static [u8; 4usize] = b"\xEF\x81\x88\0";
pub const LV_SYMBOL_PLAY: &'static [u8; 4usize] = b"\xEF\x81\x8B\0";
pub const LV_SYMBOL_PAUSE: &'static [u8; 4usize] = b"\xEF\x81\x8C\0";
pub const LV_SYMBOL_STOP: &'static [u8; 4usize] = b"\xEF\x81\x8D\0";
pub const LV_SYMBOL_NEXT: &'static [u8; 4usize] = b"\xEF\x81\x91\0";
pub const LV_SYMBOL_EJECT: &'static [u8; 4usize] = b"\xEF\x81\x92\0";
pub const LV_SYMBOL_LEFT: &'static [u8; 4usize] = b"\xEF\x81\x93\0";
pub const LV_SYMBOL_RIGHT: &'static [u8; 4usize] = b"\xEF\x81\x94\0";
pub const LV_SYMBOL_PLUS: &'static [u8; 4usize] = b"\xEF\x81\xA7\0";
pub const LV_SYMBOL_MINUS: &'static [u8; 4usize] = b"\xEF\x81\xA8\0";
pub const LV_SYMBOL_EYE_OPEN: &'static [u8; 4usize] = b"\xEF\x81\xAE\0";
pub const LV_SYMBOL_EYE_CLOSE: &'static [u8; 4usize] = b"\xEF\x81\xB0\0";
pub const LV_SYMBOL_WARNING: &'static [u8; 4usize] = b"\xEF\x81\xB1\0";
pub const LV_SYMBOL_SHUFFLE: &'static [u8; 4usize] = b"\xEF\x81\xB4\0";
pub const LV_SYMBOL_UP: &'static [u8; 4usize] = b"\xEF\x81\xB7\0";
pub const LV_SYMBOL_DOWN: &'static [u8; 4usize] = b"\xEF\x81\xB8\0";
pub const LV_SYMBOL_LOOP: &'static [u8; 4usize] = b"\xEF\x81\xB9\0";
pub const LV_SYMBOL_DIRECTORY: &'static [u8; 4usize] = b"\xEF\x81\xBB\0";
pub const LV_SYMBOL_UPLOAD: &'static [u8; 4usize] = b"\xEF\x82\x93\0";
pub const LV_SYMBOL_CALL: &'static [u8; 4usize] = b"\xEF\x82\x95\0";
pub const LV_SYMBOL_CUT: &'static [u8; 4usize] = b"\xEF\x83\x84\0";
pub const LV_SYMBOL_COPY: &'static [u8; 4usize] = b"\xEF\x83\x85\0";
pub const LV_SYMBOL_SAVE: &'static [u8; 4usize] = b"\xEF\x83\x87\0";
pub const LV_SYMBOL_CHARGE: &'static [u8; 4usize] = b"\xEF\x83\xA7\0";
pub const LV_SYMBOL_PASTE: &'static [u8; 4usize] = b"\xEF\x83\xAA\0";
pub const LV_SYMBOL_BELL: &'static [u8; 4usize] = b"\xEF\x83\xB3\0";
pub const LV_SYMBOL_KEYBOARD: &'static [u8; 4usize] = b"\xEF\x84\x9C\0";
pub const LV_SYMBOL_GPS: &'static [u8; 4usize] = b"\xEF\x84\xA4\0";
pub const LV_SYMBOL_FILE: &'static [u8; 4usize] = b"\xEF\x85\x9B\0";
pub const LV_SYMBOL_WIFI: &'static [u8; 4usize] = b"\xEF\x87\xAB\0";
pub const LV_SYMBOL_BATTERY_FULL: &'static [u8; 4usize] = b"\xEF\x89\x80\0";
pub const LV_SYMBOL_BATTERY_3: &'static [u8; 4usize] = b"\xEF\x89\x81\0";
pub const LV_SYMBOL_BATTERY_2: &'static [u8; 4usize] = b"\xEF\x89\x82\0";
pub const LV_SYMBOL_BATTERY_1: &'static [u8; 4usize] = b"\xEF\x89\x83\0";
pub const LV_SYMBOL_BATTERY_EMPTY: &'static [u8; 4usize] = b"\xEF\x89\x84\0";
pub const LV_SYMBOL_USB: &'static [u8; 4usize] = b"\xEF\x8A\x87\0";
pub const LV_SYMBOL_BLUETOOTH: &'static [u8; 4usize] = b"\xEF\x8A\x93\0";
pub const LV_SYMBOL_TRASH: &'static [u8; 4usize] = b"\xEF\x8B\xAD\0";
pub const LV_SYMBOL_BACKSPACE: &'static [u8; 4usize] = b"\xEF\x95\x9A\0";
pub const LV_SYMBOL_SD_CARD: &'static [u8; 4usize] = b"\xEF\x9F\x82\0";
pub const LV_SYMBOL_NEW_LINE: &'static [u8; 4usize] = b"\xEF\xA2\xA2\0";
pub const LV_SYMBOL_DUMMY: &'static [u8; 4usize] = b"\xEF\xA3\xBF\0";
pub const LV_SYMBOL_BULLET: &'static [u8; 4usize] = b"\xE2\x80\xA2\0";
pub const LV_FONT_WIDTH_FRACT_DIGIT: u32 = 4;
pub const LV_FONT_KERN_POSITIVE: u32 = 0;
pub const LV_FONT_KERN_NEGATIVE: u32 = 1;
pub const LV_ANIM_REPEAT_INFINITE: u32 = 65535;
pub const LV_MASK_ID_INV: i32 = -1;
pub const _LV_MASK_MAX_NUM: u32 = 16;
pub const LV_RADIUS_CIRCLE: u32 = 32767;
pub const LV_DEBUG_STYLE_SENTINEL_VALUE: u32 = 579381998;
pub const LV_DEBUG_STYLE_LIST_SENTINEL_VALUE: u32 = 2574765243;
pub const LV_STYLE_ID_MASK: u32 = 255;
pub const LV_STYLE_ATTR_NONE: u32 = 0;
pub const LV_STYLE_ATTR_INHERIT: u32 = 128;
pub const _LV_STYLE_CLOSEING_PROP: u32 = 255;
pub const LV_STYLE_TRANS_NUM_MAX: u32 = 6;
pub const LV_STYLE_PROP_ALL: u32 = 255;
pub const LV_STYLE_ID_VALUE: u32 = 0;
pub const LV_STYLE_ID_COLOR: u32 = 9;
pub const LV_STYLE_ID_OPA: u32 = 12;
pub const LV_STYLE_ID_PTR: u32 = 14;
pub const LV_STYLE_STATE_POS: u32 = 8;
pub const LV_STYLE_STATE_MASK: u32 = 32512;
pub const LV_STYLE_INHERIT_MASK: u32 = 32768;
pub const LV_BIDI_LRO: &'static [u8; 4usize] = b"\xE2\x80\xAD\0";
pub const LV_BIDI_RLO: &'static [u8; 4usize] = b"\xE2\x80\xAE\0";
pub const LV_TXT_ENC_UTF8: u32 = 1;
pub const LV_TXT_ENC_ASCII: u32 = 2;
pub const LV_DRAW_LABEL_NO_TXT_SEL: u32 = 65535;
pub const LV_IMG_PX_SIZE_ALPHA_BYTE: u32 = 3;
pub const LV_IMG_ZOOM_NONE: u32 = 256;
pub const LV_FS_MAX_FN_LENGTH: u32 = 64;
pub const LV_FS_MAX_PATH_LENGTH: u32 = 256;
pub const LV_MAX_ANCESTOR_NUM: u32 = 8;
pub const LV_EXT_CLICK_AREA_OFF: u32 = 0;
pub const LV_EXT_CLICK_AREA_TINY: u32 = 1;
pub const LV_EXT_CLICK_AREA_FULL: u32 = 2;
pub const __GNUC_VA_LIST: u32 = 1;
pub const LV_LABEL_DOT_NUM: u32 = 3;
pub const LV_LABEL_POS_LAST: u32 = 65535;
pub const LV_LABEL_TEXT_SEL_OFF: u32 = 65535;
pub const LV_CHART_TICK_LENGTH_AUTO: u32 = 255;
pub const LV_TABLE_CELL_STYLE_CNT: u32 = 4;
pub const LV_BAR_ANIM_STATE_START: u32 = 0;
pub const LV_BAR_ANIM_STATE_END: u32 = 256;
pub const LV_BAR_ANIM_STATE_INV: i32 = -1;
pub const LV_BAR_ANIM_STATE_NORM: u32 = 8;
pub const LV_BTNMATRIX_WIDTH_MASK: u32 = 7;
pub const LV_BTNMATRIX_BTN_NONE: u32 = 65535;
pub const LV_DROPDOWN_POS_LAST: u32 = 65535;
pub const LV_TEXTAREA_CURSOR_LAST: u32 = 32767;
pub const LV_SPINBOX_MAX_DIGIT_COUNT: u32 = 10;
pub const LVGL_VERSION_MAJOR: u32 = 7;
pub const LVGL_VERSION_MINOR: u32 = 0;
pub const LVGL_VERSION_PATCH: u32 = 2;
pub const LVGL_VERSION_INFO: &'static [u8; 4usize] = b"dev\0";
pub type __u_char = cty::c_uchar;
pub type __u_short = cty::c_ushort;
pub type __u_int = cty::c_uint;
pub type __u_long = cty::c_ulong;
pub type __int8_t = cty::c_schar;
pub type __uint8_t = cty::c_uchar;
pub type __int16_t = cty::c_short;
pub type __uint16_t = cty::c_ushort;
pub type __int32_t = cty::c_int;
pub type __uint32_t = cty::c_uint;
pub type __int64_t = cty::c_longlong;
pub type __uint64_t = cty::c_ulonglong;
pub type __int_least8_t = __int8_t;
pub type __uint_least8_t = __uint8_t;
pub type __int_least16_t = __int16_t;
pub type __uint_least16_t = __uint16_t;
pub type __int_least32_t = __int32_t;
pub type __uint_least32_t = __uint32_t;
pub type __int_least64_t = __int64_t;
pub type __uint_least64_t = __uint64_t;
pub type __quad_t = cty::c_longlong;
pub type __u_quad_t = cty::c_ulonglong;
pub type __intmax_t = cty::c_longlong;
pub type __uintmax_t = cty::c_ulonglong;
pub type __dev_t = __uint64_t;
pub type __uid_t = cty::c_uint;
pub type __gid_t = cty::c_uint;
pub type __ino_t = cty::c_ulong;
pub type __ino64_t = __uint64_t;
pub type __mode_t = cty::c_uint;
pub type __nlink_t = cty::c_uint;
pub type __off_t = cty::c_long;
pub type __off64_t = __int64_t;
pub type __pid_t = cty::c_int;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __fsid_t {
    pub __val: [cty::c_int; 2usize],
}
pub type __clock_t = cty::c_long;
pub type __rlim_t = cty::c_ulong;
pub type __rlim64_t = __uint64_t;
pub type __id_t = cty::c_uint;
pub type __time_t = cty::c_long;
pub type __useconds_t = cty::c_uint;
pub type __suseconds_t = cty::c_long;
pub type __daddr_t = cty::c_int;
pub type __key_t = cty::c_int;
pub type __clockid_t = cty::c_int;
pub type __timer_t = *mut cty::c_void;
pub type __blksize_t = cty::c_long;
pub type __blkcnt_t = cty::c_long;
pub type __blkcnt64_t = __int64_t;
pub type __fsblkcnt_t = cty::c_ulong;
pub type __fsblkcnt64_t = __uint64_t;
pub type __fsfilcnt_t = cty::c_ulong;
pub type __fsfilcnt64_t = __uint64_t;
pub type __fsword_t = cty::c_int;
pub type __ssize_t = cty::c_int;
pub type __syscall_slong_t = cty::c_long;
pub type __syscall_ulong_t = cty::c_ulong;
pub type __loff_t = __off64_t;
pub type __caddr_t = *mut cty::c_char;
pub type __intptr_t = cty::c_int;
pub type __socklen_t = cty::c_uint;
pub type __sig_atomic_t = cty::c_int;
pub type __time64_t = __int64_t;
pub type int_least8_t = __int_least8_t;
pub type int_least16_t = __int_least16_t;
pub type int_least32_t = __int_least32_t;
pub type int_least64_t = __int_least64_t;
pub type uint_least8_t = __uint_least8_t;
pub type uint_least16_t = __uint_least16_t;
pub type uint_least32_t = __uint_least32_t;
pub type uint_least64_t = __uint_least64_t;
pub type int_fast8_t = cty::c_schar;
pub type int_fast16_t = cty::c_int;
pub type int_fast32_t = cty::c_int;
pub type int_fast64_t = cty::c_longlong;
pub type uint_fast8_t = cty::c_uchar;
pub type uint_fast16_t = cty::c_uint;
pub type uint_fast32_t = cty::c_uint;
pub type uint_fast64_t = cty::c_ulonglong;
pub type intmax_t = __intmax_t;
pub type uintmax_t = __uintmax_t;
pub type lv_coord_t = i16;
pub type lv_anim_user_data_t = *mut cty::c_void;
pub type lv_group_user_data_t = *mut cty::c_void;
pub type lv_fs_drv_user_data_t = *mut cty::c_void;
pub type lv_img_decoder_user_data_t = *mut cty::c_void;
pub type lv_disp_drv_user_data_t = *mut cty::c_void;
pub type lv_indev_drv_user_data_t = *mut cty::c_void;
pub type lv_font_user_data_t = *mut cty::c_void;
pub type lv_obj_user_data_t = *mut cty::c_void;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _silence_gcc_warning {
    _unused: [u8; 0],
}
pub type lv_log_level_t = i8;
pub type size_t = cty::c_uint;
pub type wchar_t = cty::c_int;
#[repr(C)]
#[repr(align(8))]
#[derive(Debug, Copy, Clone)]
pub struct max_align_t {
    pub __clang_max_align_nonce1: cty::c_longlong,
    pub __clang_max_align_nonce2: f64,
}
pub const LV_RES_INV: _bindgen_ty_1 = 0;
pub const LV_RES_OK: _bindgen_ty_1 = 1;
pub type _bindgen_ty_1 = u32;
pub type lv_res_t = u8;
pub type lv_uintptr_t = usize;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_mem_monitor_t {
    pub total_size: u32,
    pub free_cnt: u32,
    pub free_size: u32,
    pub free_biggest_size: u32,
    pub used_cnt: u32,
    pub used_pct: u8,
    pub frag_pct: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_mem_buf_t {
    pub p: *mut cty::c_void,
    pub size: u16,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: u8,
}
impl lv_mem_buf_t {
    #[inline]
    pub fn used(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_used(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(used: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let used: u8 = unsafe { ::core::mem::transmute(used) };
            used as u64
        });
        __bindgen_bitfield_unit
    }
}
pub type lv_mem_buf_arr_t = [lv_mem_buf_t; 16usize];
extern "C" {
    pub static mut _lv_mem_buf: lv_mem_buf_arr_t;
}
extern "C" {
    pub fn _lv_mem_init();
}
extern "C" {
    pub fn _lv_mem_deinit();
}
extern "C" {
    pub fn lv_mem_alloc(size: size_t) -> *mut cty::c_void;
}
extern "C" {
    pub fn lv_mem_free(data: *const cty::c_void);
}
extern "C" {
    pub fn lv_mem_realloc(data_p: *mut cty::c_void, new_size: size_t) -> *mut cty::c_void;
}
extern "C" {
    pub fn lv_mem_defrag();
}
extern "C" {
    pub fn lv_mem_test() -> lv_res_t;
}
extern "C" {
    pub fn lv_mem_monitor(mon_p: *mut lv_mem_monitor_t);
}
extern "C" {
    pub fn _lv_mem_get_size(data: *const cty::c_void) -> u32;
}
extern "C" {
    pub fn _lv_mem_buf_get(size: u32) -> *mut cty::c_void;
}
extern "C" {
    pub fn _lv_mem_buf_release(p: *mut cty::c_void);
}
extern "C" {
    pub fn _lv_mem_buf_free_all();
}
extern "C" {
    pub fn _lv_memcpy(
        dst: *mut cty::c_void,
        src: *const cty::c_void,
        len: size_t,
    ) -> *mut cty::c_void;
}
extern "C" {
    pub fn _lv_memset(dst: *mut cty::c_void, v: u8, len: size_t);
}
extern "C" {
    pub fn _lv_memset_00(dst: *mut cty::c_void, len: size_t);
}
extern "C" {
    pub fn _lv_memset_ff(dst: *mut cty::c_void, len: size_t);
}
pub type lv_ll_node_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_ll_t {
    pub n_size: u32,
    pub head: *mut lv_ll_node_t,
    pub tail: *mut lv_ll_node_t,
}
extern "C" {
    pub fn _lv_ll_init(ll_p: *mut lv_ll_t, node_size: u32);
}
extern "C" {
    pub fn _lv_ll_ins_head(ll_p: *mut lv_ll_t) -> *mut cty::c_void;
}
extern "C" {
    pub fn _lv_ll_ins_prev(ll_p: *mut lv_ll_t, n_act: *mut cty::c_void) -> *mut cty::c_void;
}
extern "C" {
    pub fn _lv_ll_ins_tail(ll_p: *mut lv_ll_t) -> *mut cty::c_void;
}
extern "C" {
    pub fn _lv_ll_remove(ll_p: *mut lv_ll_t, node_p: *mut cty::c_void);
}
extern "C" {
    pub fn _lv_ll_clear(ll_p: *mut lv_ll_t);
}
extern "C" {
    pub fn _lv_ll_chg_list(
        ll_ori_p: *mut lv_ll_t,
        ll_new_p: *mut lv_ll_t,
        node: *mut cty::c_void,
        head: bool,
    );
}
extern "C" {
    pub fn _lv_ll_get_head(ll_p: *const lv_ll_t) -> *mut cty::c_void;
}
extern "C" {
    pub fn _lv_ll_get_tail(ll_p: *const lv_ll_t) -> *mut cty::c_void;
}
extern "C" {
    pub fn _lv_ll_get_next(ll_p: *const lv_ll_t, n_act: *const cty::c_void) -> *mut cty::c_void;
}
extern "C" {
    pub fn _lv_ll_get_prev(ll_p: *const lv_ll_t, n_act: *const cty::c_void) -> *mut cty::c_void;
}
extern "C" {
    pub fn _lv_ll_get_len(ll_p: *const lv_ll_t) -> u32;
}
extern "C" {
    pub fn _lv_ll_move_before(
        ll_p: *mut lv_ll_t,
        n_act: *mut cty::c_void,
        n_after: *mut cty::c_void,
    );
}
extern "C" {
    pub fn _lv_ll_is_empty(ll_p: *mut lv_ll_t) -> bool;
}
pub type lv_task_cb_t = ::core::option::Option<unsafe extern "C" fn(arg1: *mut _lv_task_t)>;
pub const LV_TASK_PRIO_OFF: _bindgen_ty_2 = 0;
pub const LV_TASK_PRIO_LOWEST: _bindgen_ty_2 = 1;
pub const LV_TASK_PRIO_LOW: _bindgen_ty_2 = 2;
pub const LV_TASK_PRIO_MID: _bindgen_ty_2 = 3;
pub const LV_TASK_PRIO_HIGH: _bindgen_ty_2 = 4;
pub const LV_TASK_PRIO_HIGHEST: _bindgen_ty_2 = 5;
pub const _LV_TASK_PRIO_NUM: _bindgen_ty_2 = 6;
pub type _bindgen_ty_2 = u32;
pub type lv_task_prio_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _lv_task_t {
    pub period: u32,
    pub last_run: u32,
    pub task_cb: lv_task_cb_t,
    pub user_data: *mut cty::c_void,
    pub repeat_count: i32,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
impl _lv_task_t {
    #[inline]
    pub fn prio(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 3u8) as u8) }
    }
    #[inline]
    pub fn set_prio(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 3u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(prio: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 3u8, {
            let prio: u8 = unsafe { ::core::mem::transmute(prio) };
            prio as u64
        });
        __bindgen_bitfield_unit
    }
}
pub type lv_task_t = _lv_task_t;
extern "C" {
    pub fn _lv_task_core_init();
}
extern "C" {
    pub fn lv_task_handler() -> u32;
}
extern "C" {
    pub fn lv_task_create_basic() -> *mut lv_task_t;
}
extern "C" {
    pub fn lv_task_create(
        task_xcb: lv_task_cb_t,
        period: u32,
        prio: lv_task_prio_t,
        user_data: *mut cty::c_void,
    ) -> *mut lv_task_t;
}
extern "C" {
    pub fn lv_task_del(task: *mut lv_task_t);
}
extern "C" {
    pub fn lv_task_set_cb(task: *mut lv_task_t, task_cb: lv_task_cb_t);
}
extern "C" {
    pub fn lv_task_set_prio(task: *mut lv_task_t, prio: lv_task_prio_t);
}
extern "C" {
    pub fn lv_task_set_period(task: *mut lv_task_t, period: u32);
}
extern "C" {
    pub fn lv_task_ready(task: *mut lv_task_t);
}
extern "C" {
    pub fn lv_task_set_repeat_count(task: *mut lv_task_t, repeat_count: i32);
}
extern "C" {
    pub fn lv_task_reset(task: *mut lv_task_t);
}
extern "C" {
    pub fn lv_task_enable(en: bool);
}
extern "C" {
    pub fn lv_task_get_idle() -> u8;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_sqrt_res_t {
    pub i: u16,
    pub f: u16,
}
extern "C" {
    pub fn _lv_trigo_sin(angle: i16) -> i16;
}
extern "C" {
    pub fn _lv_bezier3(t: u32, u0: i32, u1: i32, u2: i32, u3: i32) -> i32;
}
extern "C" {
    pub fn _lv_atan2(x: cty::c_int, y: cty::c_int) -> u16;
}
extern "C" {
    pub fn _lv_sqrt(x: u32, q: *mut lv_sqrt_res_t, mask: u32);
}
extern "C" {
    pub fn _lv_pow(base: i64, exp: i8) -> i64;
}
pub type lv_async_cb_t = ::core::option::Option<unsafe extern "C" fn(arg1: *mut cty::c_void)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _lv_async_info_t {
    pub cb: lv_async_cb_t,
    pub user_data: *mut cty::c_void,
}
pub type lv_async_info_t = _lv_async_info_t;
extern "C" {
    pub fn lv_async_call(async_xcb: lv_async_cb_t, user_data: *mut cty::c_void) -> lv_res_t;
}
pub const LV_OPA_TRANSP: _bindgen_ty_3 = 0;
pub const LV_OPA_0: _bindgen_ty_3 = 0;
pub const LV_OPA_10: _bindgen_ty_3 = 25;
pub const LV_OPA_20: _bindgen_ty_3 = 51;
pub const LV_OPA_30: _bindgen_ty_3 = 76;
pub const LV_OPA_40: _bindgen_ty_3 = 102;
pub const LV_OPA_50: _bindgen_ty_3 = 127;
pub const LV_OPA_60: _bindgen_ty_3 = 153;
pub const LV_OPA_70: _bindgen_ty_3 = 178;
pub const LV_OPA_80: _bindgen_ty_3 = 204;
pub const LV_OPA_90: _bindgen_ty_3 = 229;
pub const LV_OPA_100: _bindgen_ty_3 = 255;
pub const LV_OPA_COVER: _bindgen_ty_3 = 255;
pub type _bindgen_ty_3 = u32;
#[repr(C)]
#[derive(Copy, Clone)]
pub union lv_color1_t {
    pub ch: lv_color1_t__bindgen_ty_1,
    pub full: u8,
    _bindgen_union_align: u8,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union lv_color1_t__bindgen_ty_1 {
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    _bindgen_union_align: u8,
}
impl lv_color1_t__bindgen_ty_1 {
    #[inline]
    pub fn blue(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_blue(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn green(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_green(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn red(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_red(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(blue: u8, green: u8, red: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let blue: u8 = unsafe { ::core::mem::transmute(blue) };
            blue as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let green: u8 = unsafe { ::core::mem::transmute(green) };
            green as u64
        });
        __bindgen_bitfield_unit.set(2usize, 1u8, {
            let red: u8 = unsafe { ::core::mem::transmute(red) };
            red as u64
        });
        __bindgen_bitfield_unit
    }
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union lv_color8_t {
    pub ch: lv_color8_t__bindgen_ty_1,
    pub full: u8,
    _bindgen_union_align: u8,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct lv_color8_t__bindgen_ty_1 {
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
}
impl lv_color8_t__bindgen_ty_1 {
    #[inline]
    pub fn blue(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_blue(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn green(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 3u8) as u8) }
    }
    #[inline]
    pub fn set_green(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 3u8, val as u64)
        }
    }
    #[inline]
    pub fn red(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(5usize, 3u8) as u8) }
    }
    #[inline]
    pub fn set_red(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(5usize, 3u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(blue: u8, green: u8, red: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 2u8, {
            let blue: u8 = unsafe { ::core::mem::transmute(blue) };
            blue as u64
        });
        __bindgen_bitfield_unit.set(2usize, 3u8, {
            let green: u8 = unsafe { ::core::mem::transmute(green) };
            green as u64
        });
        __bindgen_bitfield_unit.set(5usize, 3u8, {
            let red: u8 = unsafe { ::core::mem::transmute(red) };
            red as u64
        });
        __bindgen_bitfield_unit
    }
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union lv_color16_t {
    pub ch: lv_color16_t__bindgen_ty_1,
    pub full: u16,
    _bindgen_union_align: u16,
}
#[repr(C)]
#[repr(align(2))]
#[derive(Debug, Copy, Clone)]
pub struct lv_color16_t__bindgen_ty_1 {
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize], u8>,
}
impl lv_color16_t__bindgen_ty_1 {
    #[inline]
    pub fn blue(&self) -> u16 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 5u8) as u16) }
    }
    #[inline]
    pub fn set_blue(&mut self, val: u16) {
        unsafe {
            let val: u16 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 5u8, val as u64)
        }
    }
    #[inline]
    pub fn green(&self) -> u16 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(5usize, 6u8) as u16) }
    }
    #[inline]
    pub fn set_green(&mut self, val: u16) {
        unsafe {
            let val: u16 = ::core::mem::transmute(val);
            self._bitfield_1.set(5usize, 6u8, val as u64)
        }
    }
    #[inline]
    pub fn red(&self) -> u16 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(11usize, 5u8) as u16) }
    }
    #[inline]
    pub fn set_red(&mut self, val: u16) {
        unsafe {
            let val: u16 = ::core::mem::transmute(val);
            self._bitfield_1.set(11usize, 5u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        blue: u16,
        green: u16,
        red: u16,
    ) -> __BindgenBitfieldUnit<[u8; 2usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 5u8, {
            let blue: u16 = unsafe { ::core::mem::transmute(blue) };
            blue as u64
        });
        __bindgen_bitfield_unit.set(5usize, 6u8, {
            let green: u16 = unsafe { ::core::mem::transmute(green) };
            green as u64
        });
        __bindgen_bitfield_unit.set(11usize, 5u8, {
            let red: u16 = unsafe { ::core::mem::transmute(red) };
            red as u64
        });
        __bindgen_bitfield_unit
    }
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union lv_color32_t {
    pub ch: lv_color32_t__bindgen_ty_1,
    pub full: u32,
    _bindgen_union_align: u32,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_color32_t__bindgen_ty_1 {
    pub blue: u8,
    pub green: u8,
    pub red: u8,
    pub alpha: u8,
}
pub type lv_color_int_t = u16;
pub type lv_color_t = lv_color16_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_color_hsv_t {
    pub h: u16,
    pub s: u8,
    pub v: u8,
}
pub type lv_opa_t = u8;
extern "C" {
    pub fn lv_color_fill(buf: *mut lv_color_t, color: lv_color_t, px_num: u32);
}
extern "C" {
    pub fn lv_color_lighten(c: lv_color_t, lvl: lv_opa_t) -> lv_color_t;
}
extern "C" {
    pub fn lv_color_darken(c: lv_color_t, lvl: lv_opa_t) -> lv_color_t;
}
extern "C" {
    pub fn lv_color_hsv_to_rgb(h: u16, s: u8, v: u8) -> lv_color_t;
}
extern "C" {
    pub fn lv_color_rgb_to_hsv(r8: u8, g8: u8, b8: u8) -> lv_color_hsv_t;
}
extern "C" {
    pub fn lv_color_to_hsv(color: lv_color_t) -> lv_color_hsv_t;
}
extern "C" {
    pub fn memcpy(
        __dest: *mut cty::c_void,
        __src: *const cty::c_void,
        __n: cty::c_uint,
    ) -> *mut cty::c_void;
}
extern "C" {
    pub fn memmove(
        __dest: *mut cty::c_void,
        __src: *const cty::c_void,
        __n: cty::c_uint,
    ) -> *mut cty::c_void;
}
extern "C" {
    pub fn memccpy(
        __dest: *mut cty::c_void,
        __src: *const cty::c_void,
        __c: cty::c_int,
        __n: cty::c_uint,
    ) -> *mut cty::c_void;
}
extern "C" {
    pub fn memset(__s: *mut cty::c_void, __c: cty::c_int, __n: cty::c_uint) -> *mut cty::c_void;
}
extern "C" {
    pub fn memcmp(
        __s1: *const cty::c_void,
        __s2: *const cty::c_void,
        __n: cty::c_uint,
    ) -> cty::c_int;
}
extern "C" {
    pub fn memchr(__s: *const cty::c_void, __c: cty::c_int, __n: cty::c_uint) -> *mut cty::c_void;
}
extern "C" {
    pub fn strcpy(__dest: *mut cty::c_char, __src: *const cty::c_char) -> *mut cty::c_char;
}
extern "C" {
    pub fn strncpy(
        __dest: *mut cty::c_char,
        __src: *const cty::c_char,
        __n: cty::c_uint,
    ) -> *mut cty::c_char;
}
extern "C" {
    pub fn strcat(__dest: *mut cty::c_char, __src: *const cty::c_char) -> *mut cty::c_char;
}
extern "C" {
    pub fn strncat(
        __dest: *mut cty::c_char,
        __src: *const cty::c_char,
        __n: cty::c_uint,
    ) -> *mut cty::c_char;
}
extern "C" {
    pub fn strcmp(__s1: *const cty::c_char, __s2: *const cty::c_char) -> cty::c_int;
}
extern "C" {
    pub fn strncmp(
        __s1: *const cty::c_char,
        __s2: *const cty::c_char,
        __n: cty::c_uint,
    ) -> cty::c_int;
}
extern "C" {
    pub fn strcoll(__s1: *const cty::c_char, __s2: *const cty::c_char) -> cty::c_int;
}
extern "C" {
    pub fn strxfrm(
        __dest: *mut cty::c_char,
        __src: *const cty::c_char,
        __n: cty::c_uint,
    ) -> cty::c_uint;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __locale_struct {
    pub __locales: [*mut __locale_data; 13usize],
    pub __ctype_b: *const cty::c_ushort,
    pub __ctype_tolower: *const cty::c_int,
    pub __ctype_toupper: *const cty::c_int,
    pub __names: [*const cty::c_char; 13usize],
}
pub type __locale_t = *mut __locale_struct;
pub type locale_t = __locale_t;
extern "C" {
    pub fn strcoll_l(
        __s1: *const cty::c_char,
        __s2: *const cty::c_char,
        __l: locale_t,
    ) -> cty::c_int;
}
extern "C" {
    pub fn strxfrm_l(
        __dest: *mut cty::c_char,
        __src: *const cty::c_char,
        __n: size_t,
        __l: locale_t,
    ) -> size_t;
}
extern "C" {
    pub fn strdup(__s: *const cty::c_char) -> *mut cty::c_char;
}
extern "C" {
    pub fn strndup(__string: *const cty::c_char, __n: cty::c_uint) -> *mut cty::c_char;
}
extern "C" {
    pub fn strchr(__s: *const cty::c_char, __c: cty::c_int) -> *mut cty::c_char;
}
extern "C" {
    pub fn strrchr(__s: *const cty::c_char, __c: cty::c_int) -> *mut cty::c_char;
}
extern "C" {
    pub fn strcspn(__s: *const cty::c_char, __reject: *const cty::c_char) -> cty::c_uint;
}
extern "C" {
    pub fn strspn(__s: *const cty::c_char, __accept: *const cty::c_char) -> cty::c_uint;
}
extern "C" {
    pub fn strpbrk(__s: *const cty::c_char, __accept: *const cty::c_char) -> *mut cty::c_char;
}
extern "C" {
    pub fn strstr(__haystack: *const cty::c_char, __needle: *const cty::c_char)
        -> *mut cty::c_char;
}
extern "C" {
    pub fn strtok(__s: *mut cty::c_char, __delim: *const cty::c_char) -> *mut cty::c_char;
}
extern "C" {
    pub fn __strtok_r(
        __s: *mut cty::c_char,
        __delim: *const cty::c_char,
        __save_ptr: *mut *mut cty::c_char,
    ) -> *mut cty::c_char;
}
extern "C" {
    pub fn strtok_r(
        __s: *mut cty::c_char,
        __delim: *const cty::c_char,
        __save_ptr: *mut *mut cty::c_char,
    ) -> *mut cty::c_char;
}
extern "C" {
    pub fn strlen(__s: *const cty::c_char) -> cty::c_uint;
}
extern "C" {
    pub fn strnlen(__string: *const cty::c_char, __maxlen: size_t) -> size_t;
}
extern "C" {
    pub fn strerror(__errnum: cty::c_int) -> *mut cty::c_char;
}
extern "C" {
    #[link_name = "\u{1}__xpg_strerror_r"]
    pub fn strerror_r(
        __errnum: cty::c_int,
        __buf: *mut cty::c_char,
        __buflen: size_t,
    ) -> cty::c_int;
}
extern "C" {
    pub fn strerror_l(__errnum: cty::c_int, __l: locale_t) -> *mut cty::c_char;
}
extern "C" {
    pub fn bcmp(__s1: *const cty::c_void, __s2: *const cty::c_void, __n: cty::c_uint)
        -> cty::c_int;
}
extern "C" {
    pub fn bcopy(__src: *const cty::c_void, __dest: *mut cty::c_void, __n: size_t);
}
extern "C" {
    pub fn bzero(__s: *mut cty::c_void, __n: cty::c_uint);
}
extern "C" {
    pub fn index(__s: *const cty::c_char, __c: cty::c_int) -> *mut cty::c_char;
}
extern "C" {
    pub fn rindex(__s: *const cty::c_char, __c: cty::c_int) -> *mut cty::c_char;
}
extern "C" {
    pub fn ffs(__i: cty::c_int) -> cty::c_int;
}
extern "C" {
    pub fn ffsl(__l: cty::c_long) -> cty::c_int;
}
extern "C" {
    pub fn ffsll(__ll: cty::c_longlong) -> cty::c_int;
}
extern "C" {
    pub fn strcasecmp(__s1: *const cty::c_char, __s2: *const cty::c_char) -> cty::c_int;
}
extern "C" {
    pub fn strncasecmp(
        __s1: *const cty::c_char,
        __s2: *const cty::c_char,
        __n: cty::c_uint,
    ) -> cty::c_int;
}
extern "C" {
    pub fn strcasecmp_l(
        __s1: *const cty::c_char,
        __s2: *const cty::c_char,
        __loc: locale_t,
    ) -> cty::c_int;
}
extern "C" {
    pub fn strncasecmp_l(
        __s1: *const cty::c_char,
        __s2: *const cty::c_char,
        __n: size_t,
        __loc: locale_t,
    ) -> cty::c_int;
}
extern "C" {
    pub fn explicit_bzero(__s: *mut cty::c_void, __n: size_t);
}
extern "C" {
    pub fn strsep(
        __stringp: *mut *mut cty::c_char,
        __delim: *const cty::c_char,
    ) -> *mut cty::c_char;
}
extern "C" {
    pub fn strsignal(__sig: cty::c_int) -> *mut cty::c_char;
}
extern "C" {
    pub fn __stpcpy(__dest: *mut cty::c_char, __src: *const cty::c_char) -> *mut cty::c_char;
}
extern "C" {
    pub fn stpcpy(__dest: *mut cty::c_char, __src: *const cty::c_char) -> *mut cty::c_char;
}
extern "C" {
    pub fn __stpncpy(
        __dest: *mut cty::c_char,
        __src: *const cty::c_char,
        __n: size_t,
    ) -> *mut cty::c_char;
}
extern "C" {
    pub fn stpncpy(
        __dest: *mut cty::c_char,
        __src: *const cty::c_char,
        __n: cty::c_uint,
    ) -> *mut cty::c_char;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_point_t {
    pub x: lv_coord_t,
    pub y: lv_coord_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_area_t {
    pub x1: lv_coord_t,
    pub y1: lv_coord_t,
    pub x2: lv_coord_t,
    pub y2: lv_coord_t,
}
pub const LV_ALIGN_CENTER: _bindgen_ty_4 = 0;
pub const LV_ALIGN_IN_TOP_LEFT: _bindgen_ty_4 = 1;
pub const LV_ALIGN_IN_TOP_MID: _bindgen_ty_4 = 2;
pub const LV_ALIGN_IN_TOP_RIGHT: _bindgen_ty_4 = 3;
pub const LV_ALIGN_IN_BOTTOM_LEFT: _bindgen_ty_4 = 4;
pub const LV_ALIGN_IN_BOTTOM_MID: _bindgen_ty_4 = 5;
pub const LV_ALIGN_IN_BOTTOM_RIGHT: _bindgen_ty_4 = 6;
pub const LV_ALIGN_IN_LEFT_MID: _bindgen_ty_4 = 7;
pub const LV_ALIGN_IN_RIGHT_MID: _bindgen_ty_4 = 8;
pub const LV_ALIGN_OUT_TOP_LEFT: _bindgen_ty_4 = 9;
pub const LV_ALIGN_OUT_TOP_MID: _bindgen_ty_4 = 10;
pub const LV_ALIGN_OUT_TOP_RIGHT: _bindgen_ty_4 = 11;
pub const LV_ALIGN_OUT_BOTTOM_LEFT: _bindgen_ty_4 = 12;
pub const LV_ALIGN_OUT_BOTTOM_MID: _bindgen_ty_4 = 13;
pub const LV_ALIGN_OUT_BOTTOM_RIGHT: _bindgen_ty_4 = 14;
pub const LV_ALIGN_OUT_LEFT_TOP: _bindgen_ty_4 = 15;
pub const LV_ALIGN_OUT_LEFT_MID: _bindgen_ty_4 = 16;
pub const LV_ALIGN_OUT_LEFT_BOTTOM: _bindgen_ty_4 = 17;
pub const LV_ALIGN_OUT_RIGHT_TOP: _bindgen_ty_4 = 18;
pub const LV_ALIGN_OUT_RIGHT_MID: _bindgen_ty_4 = 19;
pub const LV_ALIGN_OUT_RIGHT_BOTTOM: _bindgen_ty_4 = 20;
pub type _bindgen_ty_4 = u32;
pub type lv_align_t = u8;
extern "C" {
    pub fn lv_area_set(
        area_p: *mut lv_area_t,
        x1: lv_coord_t,
        y1: lv_coord_t,
        x2: lv_coord_t,
        y2: lv_coord_t,
    );
}
extern "C" {
    pub fn lv_area_set_width(area_p: *mut lv_area_t, w: lv_coord_t);
}
extern "C" {
    pub fn lv_area_set_height(area_p: *mut lv_area_t, h: lv_coord_t);
}
extern "C" {
    pub fn _lv_area_set_pos(area_p: *mut lv_area_t, x: lv_coord_t, y: lv_coord_t);
}
extern "C" {
    pub fn lv_area_get_size(area_p: *const lv_area_t) -> u32;
}
extern "C" {
    pub fn _lv_area_intersect(
        res_p: *mut lv_area_t,
        a1_p: *const lv_area_t,
        a2_p: *const lv_area_t,
    ) -> bool;
}
extern "C" {
    pub fn _lv_area_join(a_res_p: *mut lv_area_t, a1_p: *const lv_area_t, a2_p: *const lv_area_t);
}
extern "C" {
    pub fn _lv_area_is_point_on(
        a_p: *const lv_area_t,
        p_p: *const lv_point_t,
        radius: lv_coord_t,
    ) -> bool;
}
extern "C" {
    pub fn _lv_area_is_on(a1_p: *const lv_area_t, a2_p: *const lv_area_t) -> bool;
}
extern "C" {
    pub fn _lv_area_is_in(
        ain_p: *const lv_area_t,
        aholder_p: *const lv_area_t,
        radius: lv_coord_t,
    ) -> bool;
}
extern "C" {
    pub fn _lv_area_align(
        base: *const lv_area_t,
        to_align: *const lv_area_t,
        align: lv_align_t,
        res: *mut lv_point_t,
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_disp_buf_t {
    pub buf1: *mut cty::c_void,
    pub buf2: *mut cty::c_void,
    pub buf_act: *mut cty::c_void,
    pub size: u32,
    pub area: lv_area_t,
    pub flushing: cty::c_int,
    pub flushing_last: cty::c_int,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
impl lv_disp_buf_t {
    #[inline]
    pub fn last_area(&self) -> u32 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
    }
    #[inline]
    pub fn set_last_area(&mut self, val: u32) {
        unsafe {
            let val: u32 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn last_part(&self) -> u32 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
    }
    #[inline]
    pub fn set_last_part(&mut self, val: u32) {
        unsafe {
            let val: u32 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        last_area: u32,
        last_part: u32,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let last_area: u32 = unsafe { ::core::mem::transmute(last_area) };
            last_area as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let last_part: u32 = unsafe { ::core::mem::transmute(last_part) };
            last_part as u64
        });
        __bindgen_bitfield_unit
    }
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _disp_drv_t {
    pub hor_res: lv_coord_t,
    pub ver_res: lv_coord_t,
    pub buffer: *mut lv_disp_buf_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize], u16>,
    pub flush_cb: ::core::option::Option<
        unsafe extern "C" fn(
            disp_drv: *mut _disp_drv_t,
            area: *const lv_area_t,
            color_p: *mut lv_color_t,
        ),
    >,
    pub rounder_cb: ::core::option::Option<
        unsafe extern "C" fn(disp_drv: *mut _disp_drv_t, area: *mut lv_area_t),
    >,
    pub set_px_cb: ::core::option::Option<
        unsafe extern "C" fn(
            disp_drv: *mut _disp_drv_t,
            buf: *mut u8,
            buf_w: lv_coord_t,
            x: lv_coord_t,
            y: lv_coord_t,
            color: lv_color_t,
            opa: lv_opa_t,
        ),
    >,
    pub monitor_cb: ::core::option::Option<
        unsafe extern "C" fn(disp_drv: *mut _disp_drv_t, time: u32, px: u32),
    >,
    pub wait_cb: ::core::option::Option<unsafe extern "C" fn(disp_drv: *mut _disp_drv_t)>,
    pub gpu_blend_cb: ::core::option::Option<
        unsafe extern "C" fn(
            disp_drv: *mut _disp_drv_t,
            dest: *mut lv_color_t,
            src: *const lv_color_t,
            length: u32,
            opa: lv_opa_t,
        ),
    >,
    pub gpu_fill_cb: ::core::option::Option<
        unsafe extern "C" fn(
            disp_drv: *mut _disp_drv_t,
            dest_buf: *mut lv_color_t,
            dest_width: lv_coord_t,
            fill_area: *const lv_area_t,
            color: lv_color_t,
        ),
    >,
    pub color_chroma_key: lv_color_t,
    pub user_data: lv_disp_drv_user_data_t,
}
impl _disp_drv_t {
    #[inline]
    pub fn antialiasing(&self) -> u32 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u32) }
    }
    #[inline]
    pub fn set_antialiasing(&mut self, val: u32) {
        unsafe {
            let val: u32 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn rotated(&self) -> u32 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u32) }
    }
    #[inline]
    pub fn set_rotated(&mut self, val: u32) {
        unsafe {
            let val: u32 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn dpi(&self) -> u32 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 10u8) as u32) }
    }
    #[inline]
    pub fn set_dpi(&mut self, val: u32) {
        unsafe {
            let val: u32 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 10u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        antialiasing: u32,
        rotated: u32,
        dpi: u32,
    ) -> __BindgenBitfieldUnit<[u8; 2usize], u16> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize], u16> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let antialiasing: u32 = unsafe { ::core::mem::transmute(antialiasing) };
            antialiasing as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let rotated: u32 = unsafe { ::core::mem::transmute(rotated) };
            rotated as u64
        });
        __bindgen_bitfield_unit.set(2usize, 10u8, {
            let dpi: u32 = unsafe { ::core::mem::transmute(dpi) };
            dpi as u64
        });
        __bindgen_bitfield_unit
    }
}
pub type lv_disp_drv_t = _disp_drv_t;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _disp_t {
    pub driver: lv_disp_drv_t,
    pub refr_task: *mut lv_task_t,
    pub scr_ll: lv_ll_t,
    pub act_scr: *mut _lv_obj_t,
    pub top_layer: *mut _lv_obj_t,
    pub sys_layer: *mut _lv_obj_t,
    pub inv_areas: [lv_area_t; 32usize],
    pub inv_area_joined: [u8; 32usize],
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize], u16>,
    pub last_activity_time: u32,
}
impl _disp_t {
    #[inline]
    pub fn inv_p(&self) -> u32 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 10u8) as u32) }
    }
    #[inline]
    pub fn set_inv_p(&mut self, val: u32) {
        unsafe {
            let val: u32 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 10u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(inv_p: u32) -> __BindgenBitfieldUnit<[u8; 2usize], u16> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize], u16> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 10u8, {
            let inv_p: u32 = unsafe { ::core::mem::transmute(inv_p) };
            inv_p as u64
        });
        __bindgen_bitfield_unit
    }
}
pub type lv_disp_t = _disp_t;
pub const lv_disp_size_t_LV_DISP_SIZE_SMALL: lv_disp_size_t = 0;
pub const lv_disp_size_t_LV_DISP_SIZE_MEDIUM: lv_disp_size_t = 1;
pub const lv_disp_size_t_LV_DISP_SIZE_LARGE: lv_disp_size_t = 2;
pub const lv_disp_size_t_LV_DISP_SIZE_EXTRA_LARGE: lv_disp_size_t = 3;
pub type lv_disp_size_t = u32;
extern "C" {
    pub fn lv_disp_drv_init(driver: *mut lv_disp_drv_t);
}
extern "C" {
    pub fn lv_disp_buf_init(
        disp_buf: *mut lv_disp_buf_t,
        buf1: *mut cty::c_void,
        buf2: *mut cty::c_void,
        size_in_px_cnt: u32,
    );
}
extern "C" {
    pub fn lv_disp_drv_register(driver: *mut lv_disp_drv_t) -> *mut lv_disp_t;
}
extern "C" {
    pub fn lv_disp_drv_update(disp: *mut lv_disp_t, new_drv: *mut lv_disp_drv_t);
}
extern "C" {
    pub fn lv_disp_remove(disp: *mut lv_disp_t);
}
extern "C" {
    pub fn lv_disp_set_default(disp: *mut lv_disp_t);
}
extern "C" {
    pub fn lv_disp_get_default() -> *mut lv_disp_t;
}
extern "C" {
    pub fn lv_disp_get_hor_res(disp: *mut lv_disp_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_disp_get_ver_res(disp: *mut lv_disp_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_disp_get_antialiasing(disp: *mut lv_disp_t) -> bool;
}
extern "C" {
    pub fn lv_disp_get_dpi(disp: *mut lv_disp_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_disp_get_size_category(disp: *mut lv_disp_t) -> lv_disp_size_t;
}
extern "C" {
    pub fn lv_disp_flush_ready(disp_drv: *mut lv_disp_drv_t);
}
extern "C" {
    pub fn lv_disp_flush_is_last(disp_drv: *mut lv_disp_drv_t) -> bool;
}
extern "C" {
    pub fn lv_disp_get_next(disp: *mut lv_disp_t) -> *mut lv_disp_t;
}
extern "C" {
    pub fn lv_disp_get_buf(disp: *mut lv_disp_t) -> *mut lv_disp_buf_t;
}
extern "C" {
    pub fn lv_disp_get_inv_buf_size(disp: *mut lv_disp_t) -> u16;
}
extern "C" {
    pub fn _lv_disp_pop_from_inv_buf(disp: *mut lv_disp_t, num: u16);
}
extern "C" {
    pub fn lv_disp_is_double_buf(disp: *mut lv_disp_t) -> bool;
}
extern "C" {
    pub fn lv_disp_is_true_double_buf(disp: *mut lv_disp_t) -> bool;
}
pub const LV_INDEV_TYPE_NONE: _bindgen_ty_5 = 0;
pub const LV_INDEV_TYPE_POINTER: _bindgen_ty_5 = 1;
pub const LV_INDEV_TYPE_KEYPAD: _bindgen_ty_5 = 2;
pub const LV_INDEV_TYPE_BUTTON: _bindgen_ty_5 = 3;
pub const LV_INDEV_TYPE_ENCODER: _bindgen_ty_5 = 4;
pub type _bindgen_ty_5 = u32;
pub type lv_indev_type_t = u8;
pub const LV_INDEV_STATE_REL: _bindgen_ty_6 = 0;
pub const LV_INDEV_STATE_PR: _bindgen_ty_6 = 1;
pub type _bindgen_ty_6 = u32;
pub type lv_indev_state_t = u8;
pub const LV_DRAG_DIR_HOR: _bindgen_ty_7 = 1;
pub const LV_DRAG_DIR_VER: _bindgen_ty_7 = 2;
pub const LV_DRAG_DIR_BOTH: _bindgen_ty_7 = 3;
pub const LV_DRAG_DIR_ONE: _bindgen_ty_7 = 4;
pub type _bindgen_ty_7 = u32;
pub type lv_drag_dir_t = u8;
pub const LV_GESTURE_DIR_TOP: _bindgen_ty_8 = 0;
pub const LV_GESTURE_DIR_BOTTOM: _bindgen_ty_8 = 1;
pub const LV_GESTURE_DIR_LEFT: _bindgen_ty_8 = 2;
pub const LV_GESTURE_DIR_RIGHT: _bindgen_ty_8 = 3;
pub type _bindgen_ty_8 = u32;
pub type lv_gesture_dir_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_indev_data_t {
    pub point: lv_point_t,
    pub key: u32,
    pub btn_id: u32,
    pub enc_diff: i16,
    pub state: lv_indev_state_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _lv_indev_drv_t {
    pub type_: lv_indev_type_t,
    pub read_cb: ::core::option::Option<
        unsafe extern "C" fn(indev_drv: *mut _lv_indev_drv_t, data: *mut lv_indev_data_t) -> bool,
    >,
    pub feedback_cb:
        ::core::option::Option<unsafe extern "C" fn(arg1: *mut _lv_indev_drv_t, arg2: u8)>,
    pub user_data: lv_indev_drv_user_data_t,
    pub disp: *mut _disp_t,
    pub read_task: *mut lv_task_t,
    pub drag_limit: u8,
    pub drag_throw: u8,
    pub gesture_min_velocity: u8,
    pub gesture_limit: u8,
    pub long_press_time: u16,
    pub long_press_rep_time: u16,
}
pub type lv_indev_drv_t = _lv_indev_drv_t;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _lv_indev_proc_t {
    pub state: lv_indev_state_t,
    pub types: _lv_indev_proc_t__bindgen_ty_1,
    pub pr_timestamp: u32,
    pub longpr_rep_timestamp: u32,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union _lv_indev_proc_t__bindgen_ty_1 {
    pub pointer: _lv_indev_proc_t__bindgen_ty_1__bindgen_ty_1,
    pub keypad: _lv_indev_proc_t__bindgen_ty_1__bindgen_ty_2,
    _bindgen_union_align: [u32; 10usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _lv_indev_proc_t__bindgen_ty_1__bindgen_ty_1 {
    pub act_point: lv_point_t,
    pub last_point: lv_point_t,
    pub vect: lv_point_t,
    pub drag_sum: lv_point_t,
    pub drag_throw_vect: lv_point_t,
    pub act_obj: *mut _lv_obj_t,
    pub last_obj: *mut _lv_obj_t,
    pub last_pressed: *mut _lv_obj_t,
    pub gesture_dir: lv_gesture_dir_t,
    pub gesture_sum: lv_point_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: u8,
}
impl _lv_indev_proc_t__bindgen_ty_1__bindgen_ty_1 {
    #[inline]
    pub fn drag_limit_out(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_drag_limit_out(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn drag_in_prog(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_drag_in_prog(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn drag_dir(&self) -> lv_drag_dir_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 3u8) as u8) }
    }
    #[inline]
    pub fn set_drag_dir(&mut self, val: lv_drag_dir_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 3u8, val as u64)
        }
    }
    #[inline]
    pub fn gesture_sent(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_gesture_sent(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(5usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        drag_limit_out: u8,
        drag_in_prog: u8,
        drag_dir: lv_drag_dir_t,
        gesture_sent: u8,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let drag_limit_out: u8 = unsafe { ::core::mem::transmute(drag_limit_out) };
            drag_limit_out as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let drag_in_prog: u8 = unsafe { ::core::mem::transmute(drag_in_prog) };
            drag_in_prog as u64
        });
        __bindgen_bitfield_unit.set(2usize, 3u8, {
            let drag_dir: u8 = unsafe { ::core::mem::transmute(drag_dir) };
            drag_dir as u64
        });
        __bindgen_bitfield_unit.set(5usize, 1u8, {
            let gesture_sent: u8 = unsafe { ::core::mem::transmute(gesture_sent) };
            gesture_sent as u64
        });
        __bindgen_bitfield_unit
    }
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _lv_indev_proc_t__bindgen_ty_1__bindgen_ty_2 {
    pub last_state: lv_indev_state_t,
    pub last_key: u32,
}
impl _lv_indev_proc_t {
    #[inline]
    pub fn long_pr_sent(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_long_pr_sent(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn reset_query(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_reset_query(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn disabled(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_disabled(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn wait_until_release(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_wait_until_release(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(3usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        long_pr_sent: u8,
        reset_query: u8,
        disabled: u8,
        wait_until_release: u8,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let long_pr_sent: u8 = unsafe { ::core::mem::transmute(long_pr_sent) };
            long_pr_sent as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let reset_query: u8 = unsafe { ::core::mem::transmute(reset_query) };
            reset_query as u64
        });
        __bindgen_bitfield_unit.set(2usize, 1u8, {
            let disabled: u8 = unsafe { ::core::mem::transmute(disabled) };
            disabled as u64
        });
        __bindgen_bitfield_unit.set(3usize, 1u8, {
            let wait_until_release: u8 = unsafe { ::core::mem::transmute(wait_until_release) };
            wait_until_release as u64
        });
        __bindgen_bitfield_unit
    }
}
pub type lv_indev_proc_t = _lv_indev_proc_t;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _lv_indev_t {
    pub driver: lv_indev_drv_t,
    pub proc_: lv_indev_proc_t,
    pub cursor: *mut _lv_obj_t,
    pub group: *mut _lv_group_t,
    pub btn_points: *const lv_point_t,
}
pub type lv_indev_t = _lv_indev_t;
extern "C" {
    pub fn lv_indev_drv_init(driver: *mut lv_indev_drv_t);
}
extern "C" {
    pub fn lv_indev_drv_register(driver: *mut lv_indev_drv_t) -> *mut lv_indev_t;
}
extern "C" {
    pub fn lv_indev_drv_update(indev: *mut lv_indev_t, new_drv: *mut lv_indev_drv_t);
}
extern "C" {
    pub fn lv_indev_get_next(indev: *mut lv_indev_t) -> *mut lv_indev_t;
}
extern "C" {
    pub fn _lv_indev_read(indev: *mut lv_indev_t, data: *mut lv_indev_data_t) -> bool;
}
extern "C" {
    pub fn lv_tick_inc(tick_period: u32);
}
extern "C" {
    pub fn lv_tick_get() -> u32;
}
extern "C" {
    pub fn lv_tick_elaps(prev_tick: u32) -> u32;
}
pub const _LV_STR_SYMBOL_AUDIO: _bindgen_ty_9 = 0;
pub const _LV_STR_SYMBOL_VIDEO: _bindgen_ty_9 = 1;
pub const _LV_STR_SYMBOL_LIST: _bindgen_ty_9 = 2;
pub const _LV_STR_SYMBOL_OK: _bindgen_ty_9 = 3;
pub const _LV_STR_SYMBOL_CLOSE: _bindgen_ty_9 = 4;
pub const _LV_STR_SYMBOL_POWER: _bindgen_ty_9 = 5;
pub const _LV_STR_SYMBOL_SETTINGS: _bindgen_ty_9 = 6;
pub const _LV_STR_SYMBOL_HOME: _bindgen_ty_9 = 7;
pub const _LV_STR_SYMBOL_DOWNLOAD: _bindgen_ty_9 = 8;
pub const _LV_STR_SYMBOL_DRIVE: _bindgen_ty_9 = 9;
pub const _LV_STR_SYMBOL_REFRESH: _bindgen_ty_9 = 10;
pub const _LV_STR_SYMBOL_MUTE: _bindgen_ty_9 = 11;
pub const _LV_STR_SYMBOL_VOLUME_MID: _bindgen_ty_9 = 12;
pub const _LV_STR_SYMBOL_VOLUME_MAX: _bindgen_ty_9 = 13;
pub const _LV_STR_SYMBOL_IMAGE: _bindgen_ty_9 = 14;
pub const _LV_STR_SYMBOL_EDIT: _bindgen_ty_9 = 15;
pub const _LV_STR_SYMBOL_PREV: _bindgen_ty_9 = 16;
pub const _LV_STR_SYMBOL_PLAY: _bindgen_ty_9 = 17;
pub const _LV_STR_SYMBOL_PAUSE: _bindgen_ty_9 = 18;
pub const _LV_STR_SYMBOL_STOP: _bindgen_ty_9 = 19;
pub const _LV_STR_SYMBOL_NEXT: _bindgen_ty_9 = 20;
pub const _LV_STR_SYMBOL_EJECT: _bindgen_ty_9 = 21;
pub const _LV_STR_SYMBOL_LEFT: _bindgen_ty_9 = 22;
pub const _LV_STR_SYMBOL_RIGHT: _bindgen_ty_9 = 23;
pub const _LV_STR_SYMBOL_PLUS: _bindgen_ty_9 = 24;
pub const _LV_STR_SYMBOL_MINUS: _bindgen_ty_9 = 25;
pub const _LV_STR_SYMBOL_EYE_OPEN: _bindgen_ty_9 = 26;
pub const _LV_STR_SYMBOL_EYE_CLOSE: _bindgen_ty_9 = 27;
pub const _LV_STR_SYMBOL_WARNING: _bindgen_ty_9 = 28;
pub const _LV_STR_SYMBOL_SHUFFLE: _bindgen_ty_9 = 29;
pub const _LV_STR_SYMBOL_UP: _bindgen_ty_9 = 30;
pub const _LV_STR_SYMBOL_DOWN: _bindgen_ty_9 = 31;
pub const _LV_STR_SYMBOL_LOOP: _bindgen_ty_9 = 32;
pub const _LV_STR_SYMBOL_DIRECTORY: _bindgen_ty_9 = 33;
pub const _LV_STR_SYMBOL_UPLOAD: _bindgen_ty_9 = 34;
pub const _LV_STR_SYMBOL_CALL: _bindgen_ty_9 = 35;
pub const _LV_STR_SYMBOL_CUT: _bindgen_ty_9 = 36;
pub const _LV_STR_SYMBOL_COPY: _bindgen_ty_9 = 37;
pub const _LV_STR_SYMBOL_SAVE: _bindgen_ty_9 = 38;
pub const _LV_STR_SYMBOL_CHARGE: _bindgen_ty_9 = 39;
pub const _LV_STR_SYMBOL_PASTE: _bindgen_ty_9 = 40;
pub const _LV_STR_SYMBOL_BELL: _bindgen_ty_9 = 41;
pub const _LV_STR_SYMBOL_KEYBOARD: _bindgen_ty_9 = 42;
pub const _LV_STR_SYMBOL_GPS: _bindgen_ty_9 = 43;
pub const _LV_STR_SYMBOL_FILE: _bindgen_ty_9 = 44;
pub const _LV_STR_SYMBOL_WIFI: _bindgen_ty_9 = 45;
pub const _LV_STR_SYMBOL_BATTERY_FULL: _bindgen_ty_9 = 46;
pub const _LV_STR_SYMBOL_BATTERY_3: _bindgen_ty_9 = 47;
pub const _LV_STR_SYMBOL_BATTERY_2: _bindgen_ty_9 = 48;
pub const _LV_STR_SYMBOL_BATTERY_1: _bindgen_ty_9 = 49;
pub const _LV_STR_SYMBOL_BATTERY_EMPTY: _bindgen_ty_9 = 50;
pub const _LV_STR_SYMBOL_USB: _bindgen_ty_9 = 51;
pub const _LV_STR_SYMBOL_BLUETOOTH: _bindgen_ty_9 = 52;
pub const _LV_STR_SYMBOL_TRASH: _bindgen_ty_9 = 53;
pub const _LV_STR_SYMBOL_BACKSPACE: _bindgen_ty_9 = 54;
pub const _LV_STR_SYMBOL_SD_CARD: _bindgen_ty_9 = 55;
pub const _LV_STR_SYMBOL_NEW_LINE: _bindgen_ty_9 = 56;
pub const _LV_STR_SYMBOL_DUMMY: _bindgen_ty_9 = 57;
pub type _bindgen_ty_9 = u32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_font_glyph_dsc_t {
    pub adv_w: u16,
    pub box_w: u16,
    pub box_h: u16,
    pub ofs_x: i16,
    pub ofs_y: i16,
    pub bpp: u8,
}
pub const LV_FONT_SUBPX_NONE: _bindgen_ty_10 = 0;
pub const LV_FONT_SUBPX_HOR: _bindgen_ty_10 = 1;
pub const LV_FONT_SUBPX_VER: _bindgen_ty_10 = 2;
pub const LV_FONT_SUBPX_BOTH: _bindgen_ty_10 = 3;
pub type _bindgen_ty_10 = u32;
pub type lv_font_subpx_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _lv_font_struct {
    pub get_glyph_dsc: ::core::option::Option<
        unsafe extern "C" fn(
            arg1: *const _lv_font_struct,
            arg2: *mut lv_font_glyph_dsc_t,
            letter: u32,
            letter_next: u32,
        ) -> bool,
    >,
    pub get_glyph_bitmap: ::core::option::Option<
        unsafe extern "C" fn(arg1: *const _lv_font_struct, arg2: u32) -> *const u8,
    >,
    pub line_height: lv_coord_t,
    pub base_line: lv_coord_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub dsc: *mut cty::c_void,
    pub user_data: lv_font_user_data_t,
}
impl _lv_font_struct {
    #[inline]
    pub fn subpx(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_subpx(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(subpx: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 2u8, {
            let subpx: u8 = unsafe { ::core::mem::transmute(subpx) };
            subpx as u64
        });
        __bindgen_bitfield_unit
    }
}
pub type lv_font_t = _lv_font_struct;
extern "C" {
    pub fn lv_font_get_glyph_bitmap(font_p: *const lv_font_t, letter: u32) -> *const u8;
}
extern "C" {
    pub fn lv_font_get_glyph_dsc(
        font_p: *const lv_font_t,
        dsc_out: *mut lv_font_glyph_dsc_t,
        letter: u32,
        letter_next: u32,
    ) -> bool;
}
extern "C" {
    pub fn lv_font_get_glyph_width(font: *const lv_font_t, letter: u32, letter_next: u32) -> u16;
}
extern "C" {
    pub static mut lv_font_montserrat_16: lv_font_t;
}
pub const LV_ANIM_OFF: _bindgen_ty_11 = 0;
pub const LV_ANIM_ON: _bindgen_ty_11 = 1;
pub type _bindgen_ty_11 = u32;
pub type lv_anim_enable_t = u8;
pub type lv_anim_value_t = lv_coord_t;
pub type lv_anim_path_cb_t = ::core::option::Option<
    unsafe extern "C" fn(arg1: *const _lv_anim_path_t, arg2: *const _lv_anim_t) -> lv_anim_value_t,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _lv_anim_path_t {
    pub cb: lv_anim_path_cb_t,
    pub user_data: *mut cty::c_void,
}
pub type lv_anim_path_t = _lv_anim_path_t;
pub type lv_anim_exec_xcb_t =
    ::core::option::Option<unsafe extern "C" fn(arg1: *mut cty::c_void, arg2: lv_anim_value_t)>;
pub type lv_anim_custom_exec_cb_t =
    ::core::option::Option<unsafe extern "C" fn(arg1: *mut _lv_anim_t, arg2: lv_anim_value_t)>;
pub type lv_anim_ready_cb_t = ::core::option::Option<unsafe extern "C" fn(arg1: *mut _lv_anim_t)>;
pub type lv_anim_start_cb_t = ::core::option::Option<unsafe extern "C" fn(arg1: *mut _lv_anim_t)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _lv_anim_t {
    pub var: *mut cty::c_void,
    pub exec_cb: lv_anim_exec_xcb_t,
    pub start_cb: lv_anim_start_cb_t,
    pub ready_cb: lv_anim_ready_cb_t,
    pub path: lv_anim_path_t,
    pub start: i32,
    pub end: i32,
    pub time: i32,
    pub act_time: i32,
    pub playback_delay: u32,
    pub playback_time: u32,
    pub repeat_delay: u32,
    pub repeat_cnt: u16,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub user_data: lv_anim_user_data_t,
    pub time_orig: u32,
    pub _bitfield_2: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
impl _lv_anim_t {
    #[inline]
    pub fn early_apply(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_early_apply(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(early_apply: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let early_apply: u8 = unsafe { ::core::mem::transmute(early_apply) };
            early_apply as u64
        });
        __bindgen_bitfield_unit
    }
    #[inline]
    pub fn playback_now(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_2.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_playback_now(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_2.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn has_run(&self) -> u32 {
        unsafe { ::core::mem::transmute(self._bitfield_2.get(1usize, 1u8) as u32) }
    }
    #[inline]
    pub fn set_has_run(&mut self, val: u32) {
        unsafe {
            let val: u32 = ::core::mem::transmute(val);
            self._bitfield_2.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_2(
        playback_now: u8,
        has_run: u32,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let playback_now: u8 = unsafe { ::core::mem::transmute(playback_now) };
            playback_now as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let has_run: u32 = unsafe { ::core::mem::transmute(has_run) };
            has_run as u64
        });
        __bindgen_bitfield_unit
    }
}
pub type lv_anim_t = _lv_anim_t;
extern "C" {
    pub fn _lv_anim_core_init();
}
extern "C" {
    pub fn lv_anim_init(a: *mut lv_anim_t);
}
extern "C" {
    pub fn lv_anim_start(a: *mut lv_anim_t);
}
extern "C" {
    pub fn lv_anim_del(var: *mut cty::c_void, exec_cb: lv_anim_exec_xcb_t) -> bool;
}
extern "C" {
    pub fn lv_anim_get(var: *mut cty::c_void, exec_cb: lv_anim_exec_xcb_t) -> *mut lv_anim_t;
}
extern "C" {
    pub fn lv_anim_count_running() -> u16;
}
extern "C" {
    pub fn lv_anim_speed_to_time(speed: u16, start: lv_anim_value_t, end: lv_anim_value_t) -> u16;
}
extern "C" {
    pub fn lv_anim_refr_now();
}
extern "C" {
    pub fn lv_anim_path_linear(path: *const lv_anim_path_t, a: *const lv_anim_t)
        -> lv_anim_value_t;
}
extern "C" {
    pub fn lv_anim_path_ease_in(
        path: *const lv_anim_path_t,
        a: *const lv_anim_t,
    ) -> lv_anim_value_t;
}
extern "C" {
    pub fn lv_anim_path_ease_out(
        path: *const lv_anim_path_t,
        a: *const lv_anim_t,
    ) -> lv_anim_value_t;
}
extern "C" {
    pub fn lv_anim_path_ease_in_out(
        path: *const lv_anim_path_t,
        a: *const lv_anim_t,
    ) -> lv_anim_value_t;
}
extern "C" {
    pub fn lv_anim_path_overshoot(
        path: *const lv_anim_path_t,
        a: *const lv_anim_t,
    ) -> lv_anim_value_t;
}
extern "C" {
    pub fn lv_anim_path_bounce(path: *const lv_anim_path_t, a: *const lv_anim_t)
        -> lv_anim_value_t;
}
extern "C" {
    pub fn lv_anim_path_step(path: *const lv_anim_path_t, a: *const lv_anim_t) -> lv_anim_value_t;
}
extern "C" {
    pub static lv_anim_path_def: lv_anim_path_t;
}
extern "C" {
    pub fn lv_debug_check_null(p: *const cty::c_void) -> bool;
}
extern "C" {
    pub fn lv_debug_check_mem_integrity() -> bool;
}
extern "C" {
    pub fn lv_debug_check_str(str: *const cty::c_void) -> bool;
}
extern "C" {
    pub fn lv_debug_log_error(msg: *const cty::c_char, value: u64);
}
pub const LV_DRAW_MASK_RES_TRANSP: _bindgen_ty_12 = 0;
pub const LV_DRAW_MASK_RES_FULL_COVER: _bindgen_ty_12 = 1;
pub const LV_DRAW_MASK_RES_CHANGED: _bindgen_ty_12 = 2;
pub const LV_DRAW_MASK_RES_UNKNOWN: _bindgen_ty_12 = 3;
pub type _bindgen_ty_12 = u32;
pub type lv_draw_mask_res_t = u8;
pub const LV_DRAW_MASK_TYPE_LINE: _bindgen_ty_13 = 0;
pub const LV_DRAW_MASK_TYPE_ANGLE: _bindgen_ty_13 = 1;
pub const LV_DRAW_MASK_TYPE_RADIUS: _bindgen_ty_13 = 2;
pub const LV_DRAW_MASK_TYPE_FADE: _bindgen_ty_13 = 3;
pub const LV_DRAW_MASK_TYPE_MAP: _bindgen_ty_13 = 4;
pub type _bindgen_ty_13 = u32;
pub type lv_draw_mask_type_t = u8;
pub const LV_DRAW_MASK_LINE_SIDE_LEFT: _bindgen_ty_14 = 0;
pub const LV_DRAW_MASK_LINE_SIDE_RIGHT: _bindgen_ty_14 = 1;
pub const LV_DRAW_MASK_LINE_SIDE_TOP: _bindgen_ty_14 = 2;
pub const LV_DRAW_MASK_LINE_SIDE_BOTTOM: _bindgen_ty_14 = 3;
pub type _bindgen_ty_14 = u32;
pub type lv_draw_mask_xcb_t = ::core::option::Option<
    unsafe extern "C" fn(
        mask_buf: *mut lv_opa_t,
        abs_x: lv_coord_t,
        abs_y: lv_coord_t,
        len: lv_coord_t,
        p: *mut cty::c_void,
    ) -> lv_draw_mask_res_t,
>;
pub type lv_draw_mask_line_side_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_draw_mask_common_dsc_t {
    pub cb: lv_draw_mask_xcb_t,
    pub type_: lv_draw_mask_type_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_draw_mask_line_param_t {
    pub dsc: lv_draw_mask_common_dsc_t,
    pub cfg: lv_draw_mask_line_param_t__bindgen_ty_1,
    pub origo: lv_point_t,
    pub xy_steep: i32,
    pub yx_steep: i32,
    pub steep: i32,
    pub spx: i32,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_draw_mask_line_param_t__bindgen_ty_1 {
    pub p1: lv_point_t,
    pub p2: lv_point_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: u8,
}
impl lv_draw_mask_line_param_t__bindgen_ty_1 {
    #[inline]
    pub fn side(&self) -> lv_draw_mask_line_side_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_side(&mut self, val: lv_draw_mask_line_side_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        side: lv_draw_mask_line_side_t,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 2u8, {
            let side: u8 = unsafe { ::core::mem::transmute(side) };
            side as u64
        });
        __bindgen_bitfield_unit
    }
}
impl lv_draw_mask_line_param_t {
    #[inline]
    pub fn flat(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_flat(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn inv(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_inv(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(flat: u8, inv: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let flat: u8 = unsafe { ::core::mem::transmute(flat) };
            flat as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let inv: u8 = unsafe { ::core::mem::transmute(inv) };
            inv as u64
        });
        __bindgen_bitfield_unit
    }
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_draw_mask_angle_param_t {
    pub dsc: lv_draw_mask_common_dsc_t,
    pub cfg: lv_draw_mask_angle_param_t__bindgen_ty_1,
    pub start_line: lv_draw_mask_line_param_t,
    pub end_line: lv_draw_mask_line_param_t,
    pub delta_deg: u16,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_draw_mask_angle_param_t__bindgen_ty_1 {
    pub vertex_p: lv_point_t,
    pub start_angle: lv_coord_t,
    pub end_angle: lv_coord_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_draw_mask_radius_param_t {
    pub dsc: lv_draw_mask_common_dsc_t,
    pub cfg: lv_draw_mask_radius_param_t__bindgen_ty_1,
    pub y_prev: i32,
    pub y_prev_x: lv_sqrt_res_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_draw_mask_radius_param_t__bindgen_ty_1 {
    pub rect: lv_area_t,
    pub radius: lv_coord_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: u8,
}
impl lv_draw_mask_radius_param_t__bindgen_ty_1 {
    #[inline]
    pub fn outer(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_outer(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(outer: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let outer: u8 = unsafe { ::core::mem::transmute(outer) };
            outer as u64
        });
        __bindgen_bitfield_unit
    }
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_draw_mask_fade_param_t {
    pub dsc: lv_draw_mask_common_dsc_t,
    pub cfg: lv_draw_mask_fade_param_t__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_draw_mask_fade_param_t__bindgen_ty_1 {
    pub coords: lv_area_t,
    pub y_top: lv_coord_t,
    pub y_bottom: lv_coord_t,
    pub opa_top: lv_opa_t,
    pub opa_bottom: lv_opa_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _lv_draw_mask_map_param_t {
    pub dsc: lv_draw_mask_common_dsc_t,
    pub cfg: _lv_draw_mask_map_param_t__bindgen_ty_1,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _lv_draw_mask_map_param_t__bindgen_ty_1 {
    pub coords: lv_area_t,
    pub map: *const lv_opa_t,
}
pub type lv_draw_mask_map_param_t = _lv_draw_mask_map_param_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _lv_draw_mask_saved_t {
    pub param: *mut cty::c_void,
    pub custom_id: *mut cty::c_void,
}
pub type _lv_draw_mask_saved_arr_t = [_lv_draw_mask_saved_t; 16usize];
extern "C" {
    pub fn lv_draw_mask_add(param: *mut cty::c_void, custom_id: *mut cty::c_void) -> i16;
}
extern "C" {
    pub fn lv_draw_mask_apply(
        mask_buf: *mut lv_opa_t,
        abs_x: lv_coord_t,
        abs_y: lv_coord_t,
        len: lv_coord_t,
    ) -> lv_draw_mask_res_t;
}
extern "C" {
    pub fn lv_draw_mask_remove_id(id: i16) -> *mut cty::c_void;
}
extern "C" {
    pub fn lv_draw_mask_remove_custom(custom_id: *mut cty::c_void) -> *mut cty::c_void;
}
extern "C" {
    pub fn lv_draw_mask_get_cnt() -> u8;
}
extern "C" {
    pub fn lv_draw_mask_line_points_init(
        param: *mut lv_draw_mask_line_param_t,
        p1x: lv_coord_t,
        p1y: lv_coord_t,
        p2x: lv_coord_t,
        p2y: lv_coord_t,
        side: lv_draw_mask_line_side_t,
    );
}
extern "C" {
    pub fn lv_draw_mask_line_angle_init(
        param: *mut lv_draw_mask_line_param_t,
        p1x: lv_coord_t,
        py: lv_coord_t,
        angle: i16,
        side: lv_draw_mask_line_side_t,
    );
}
extern "C" {
    pub fn lv_draw_mask_angle_init(
        param: *mut lv_draw_mask_angle_param_t,
        vertex_x: lv_coord_t,
        vertex_y: lv_coord_t,
        start_angle: lv_coord_t,
        end_angle: lv_coord_t,
    );
}
extern "C" {
    pub fn lv_draw_mask_radius_init(
        param: *mut lv_draw_mask_radius_param_t,
        rect: *const lv_area_t,
        radius: lv_coord_t,
        inv: bool,
    );
}
extern "C" {
    pub fn lv_draw_mask_fade_init(
        param: *mut lv_draw_mask_fade_param_t,
        coords: *const lv_area_t,
        opa_top: lv_opa_t,
        y_top: lv_coord_t,
        opa_bottom: lv_opa_t,
        y_bottom: lv_coord_t,
    );
}
extern "C" {
    pub fn lv_draw_mask_map_init(
        param: *mut lv_draw_mask_map_param_t,
        coords: *const lv_area_t,
        map: *const lv_opa_t,
    );
}
pub const LV_BLEND_MODE_NORMAL: _bindgen_ty_15 = 0;
pub const LV_BLEND_MODE_ADDITIVE: _bindgen_ty_15 = 1;
pub const LV_BLEND_MODE_SUBTRACTIVE: _bindgen_ty_15 = 2;
pub type _bindgen_ty_15 = u32;
pub type lv_blend_mode_t = u8;
extern "C" {
    pub fn _lv_blend_fill(
        clip_area: *const lv_area_t,
        fill_area: *const lv_area_t,
        color: lv_color_t,
        mask: *mut lv_opa_t,
        mask_res: lv_draw_mask_res_t,
        opa: lv_opa_t,
        mode: lv_blend_mode_t,
    );
}
extern "C" {
    pub fn _lv_blend_map(
        clip_area: *const lv_area_t,
        map_area: *const lv_area_t,
        map_buf: *const lv_color_t,
        mask: *mut lv_opa_t,
        mask_res: lv_draw_mask_res_t,
        opa: lv_opa_t,
        mode: lv_blend_mode_t,
    );
}
pub const LV_BORDER_SIDE_NONE: _bindgen_ty_16 = 0;
pub const LV_BORDER_SIDE_BOTTOM: _bindgen_ty_16 = 1;
pub const LV_BORDER_SIDE_TOP: _bindgen_ty_16 = 2;
pub const LV_BORDER_SIDE_LEFT: _bindgen_ty_16 = 4;
pub const LV_BORDER_SIDE_RIGHT: _bindgen_ty_16 = 8;
pub const LV_BORDER_SIDE_FULL: _bindgen_ty_16 = 15;
pub const LV_BORDER_SIDE_INTERNAL: _bindgen_ty_16 = 16;
pub const _LV_BORDER_SIDE_LAST: _bindgen_ty_16 = 17;
pub type _bindgen_ty_16 = u32;
pub type lv_border_side_t = u8;
pub const LV_GRAD_DIR_NONE: _bindgen_ty_17 = 0;
pub const LV_GRAD_DIR_VER: _bindgen_ty_17 = 1;
pub const LV_GRAD_DIR_HOR: _bindgen_ty_17 = 2;
pub const _LV_GRAD_DIR_LAST: _bindgen_ty_17 = 3;
pub type _bindgen_ty_17 = u32;
pub type lv_grad_dir_t = u8;
pub const LV_TEXT_DECOR_NONE: _bindgen_ty_18 = 0;
pub const LV_TEXT_DECOR_UNDERLINE: _bindgen_ty_18 = 1;
pub const LV_TEXT_DECOR_STRIKETHROUGH: _bindgen_ty_18 = 2;
pub const _LV_TEXT_DECOR_LAST: _bindgen_ty_18 = 3;
pub type _bindgen_ty_18 = u32;
pub type lv_text_decor_t = u8;
#[repr(C)]
#[derive(Copy, Clone)]
pub union lv_style_attr_t {
    pub bits: lv_style_attr_t__bindgen_ty_1,
    pub full: u8,
    _bindgen_union_align: u8,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct lv_style_attr_t__bindgen_ty_1 {
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
}
impl lv_style_attr_t__bindgen_ty_1 {
    #[inline]
    pub fn state(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 7u8) as u8) }
    }
    #[inline]
    pub fn set_state(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 7u8, val as u64)
        }
    }
    #[inline]
    pub fn inherit(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_inherit(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(7usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(state: u8, inherit: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 7u8, {
            let state: u8 = unsafe { ::core::mem::transmute(state) };
            state as u64
        });
        __bindgen_bitfield_unit.set(7usize, 1u8, {
            let inherit: u8 = unsafe { ::core::mem::transmute(inherit) };
            inherit as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_STYLE_RADIUS: _bindgen_ty_19 = 1;
pub const LV_STYLE_CLIP_CORNER: _bindgen_ty_19 = 2;
pub const LV_STYLE_SIZE: _bindgen_ty_19 = 3;
pub const LV_STYLE_TRANSFORM_WIDTH: _bindgen_ty_19 = 4;
pub const LV_STYLE_TRANSFORM_HEIGHT: _bindgen_ty_19 = 5;
pub const LV_STYLE_TRANSFORM_ANGLE: _bindgen_ty_19 = 6;
pub const LV_STYLE_TRANSFORM_ZOOM: _bindgen_ty_19 = 7;
pub const LV_STYLE_OPA_SCALE: _bindgen_ty_19 = 32780;
pub const LV_STYLE_PAD_TOP: _bindgen_ty_19 = 16;
pub const LV_STYLE_PAD_BOTTOM: _bindgen_ty_19 = 17;
pub const LV_STYLE_PAD_LEFT: _bindgen_ty_19 = 18;
pub const LV_STYLE_PAD_RIGHT: _bindgen_ty_19 = 19;
pub const LV_STYLE_PAD_INNER: _bindgen_ty_19 = 20;
pub const LV_STYLE_MARGIN_TOP: _bindgen_ty_19 = 21;
pub const LV_STYLE_MARGIN_BOTTOM: _bindgen_ty_19 = 22;
pub const LV_STYLE_MARGIN_LEFT: _bindgen_ty_19 = 23;
pub const LV_STYLE_MARGIN_RIGHT: _bindgen_ty_19 = 24;
pub const LV_STYLE_BG_BLEND_MODE: _bindgen_ty_19 = 32;
pub const LV_STYLE_BG_MAIN_STOP: _bindgen_ty_19 = 33;
pub const LV_STYLE_BG_GRAD_STOP: _bindgen_ty_19 = 34;
pub const LV_STYLE_BG_GRAD_DIR: _bindgen_ty_19 = 35;
pub const LV_STYLE_BG_COLOR: _bindgen_ty_19 = 41;
pub const LV_STYLE_BG_GRAD_COLOR: _bindgen_ty_19 = 42;
pub const LV_STYLE_BG_OPA: _bindgen_ty_19 = 44;
pub const LV_STYLE_BORDER_WIDTH: _bindgen_ty_19 = 48;
pub const LV_STYLE_BORDER_SIDE: _bindgen_ty_19 = 49;
pub const LV_STYLE_BORDER_BLEND_MODE: _bindgen_ty_19 = 50;
pub const LV_STYLE_BORDER_POST: _bindgen_ty_19 = 51;
pub const LV_STYLE_BORDER_COLOR: _bindgen_ty_19 = 57;
pub const LV_STYLE_BORDER_OPA: _bindgen_ty_19 = 60;
pub const LV_STYLE_OUTLINE_WIDTH: _bindgen_ty_19 = 64;
pub const LV_STYLE_OUTLINE_PAD: _bindgen_ty_19 = 65;
pub const LV_STYLE_OUTLINE_BLEND_MODE: _bindgen_ty_19 = 66;
pub const LV_STYLE_OUTLINE_COLOR: _bindgen_ty_19 = 73;
pub const LV_STYLE_OUTLINE_OPA: _bindgen_ty_19 = 76;
pub const LV_STYLE_SHADOW_WIDTH: _bindgen_ty_19 = 80;
pub const LV_STYLE_SHADOW_OFS_X: _bindgen_ty_19 = 81;
pub const LV_STYLE_SHADOW_OFS_Y: _bindgen_ty_19 = 82;
pub const LV_STYLE_SHADOW_SPREAD: _bindgen_ty_19 = 83;
pub const LV_STYLE_SHADOW_BLEND_MODE: _bindgen_ty_19 = 84;
pub const LV_STYLE_SHADOW_COLOR: _bindgen_ty_19 = 89;
pub const LV_STYLE_SHADOW_OPA: _bindgen_ty_19 = 92;
pub const LV_STYLE_PATTERN_BLEND_MODE: _bindgen_ty_19 = 96;
pub const LV_STYLE_PATTERN_REPEAT: _bindgen_ty_19 = 97;
pub const LV_STYLE_PATTERN_RECOLOR: _bindgen_ty_19 = 105;
pub const LV_STYLE_PATTERN_OPA: _bindgen_ty_19 = 108;
pub const LV_STYLE_PATTERN_RECOLOR_OPA: _bindgen_ty_19 = 109;
pub const LV_STYLE_PATTERN_IMAGE: _bindgen_ty_19 = 110;
pub const LV_STYLE_VALUE_LETTER_SPACE: _bindgen_ty_19 = 112;
pub const LV_STYLE_VALUE_LINE_SPACE: _bindgen_ty_19 = 113;
pub const LV_STYLE_VALUE_BLEND_MODE: _bindgen_ty_19 = 114;
pub const LV_STYLE_VALUE_OFS_X: _bindgen_ty_19 = 115;
pub const LV_STYLE_VALUE_OFS_Y: _bindgen_ty_19 = 116;
pub const LV_STYLE_VALUE_ALIGN: _bindgen_ty_19 = 117;
pub const LV_STYLE_VALUE_COLOR: _bindgen_ty_19 = 121;
pub const LV_STYLE_VALUE_OPA: _bindgen_ty_19 = 124;
pub const LV_STYLE_VALUE_FONT: _bindgen_ty_19 = 126;
pub const LV_STYLE_VALUE_STR: _bindgen_ty_19 = 127;
pub const LV_STYLE_TEXT_LETTER_SPACE: _bindgen_ty_19 = 32896;
pub const LV_STYLE_TEXT_LINE_SPACE: _bindgen_ty_19 = 32897;
pub const LV_STYLE_TEXT_DECOR: _bindgen_ty_19 = 32898;
pub const LV_STYLE_TEXT_BLEND_MODE: _bindgen_ty_19 = 32899;
pub const LV_STYLE_TEXT_COLOR: _bindgen_ty_19 = 32905;
pub const LV_STYLE_TEXT_SEL_COLOR: _bindgen_ty_19 = 32906;
pub const LV_STYLE_TEXT_OPA: _bindgen_ty_19 = 32908;
pub const LV_STYLE_TEXT_FONT: _bindgen_ty_19 = 32910;
pub const LV_STYLE_LINE_WIDTH: _bindgen_ty_19 = 144;
pub const LV_STYLE_LINE_BLEND_MODE: _bindgen_ty_19 = 145;
pub const LV_STYLE_LINE_DASH_WIDTH: _bindgen_ty_19 = 146;
pub const LV_STYLE_LINE_DASH_GAP: _bindgen_ty_19 = 147;
pub const LV_STYLE_LINE_ROUNDED: _bindgen_ty_19 = 148;
pub const LV_STYLE_LINE_COLOR: _bindgen_ty_19 = 153;
pub const LV_STYLE_LINE_OPA: _bindgen_ty_19 = 156;
pub const LV_STYLE_IMAGE_BLEND_MODE: _bindgen_ty_19 = 32928;
pub const LV_STYLE_IMAGE_RECOLOR: _bindgen_ty_19 = 32937;
pub const LV_STYLE_IMAGE_OPA: _bindgen_ty_19 = 32940;
pub const LV_STYLE_IMAGE_RECOLOR_OPA: _bindgen_ty_19 = 32941;
pub const LV_STYLE_TRANSITION_TIME: _bindgen_ty_19 = 176;
pub const LV_STYLE_TRANSITION_DELAY: _bindgen_ty_19 = 177;
pub const LV_STYLE_TRANSITION_PROP_1: _bindgen_ty_19 = 178;
pub const LV_STYLE_TRANSITION_PROP_2: _bindgen_ty_19 = 179;
pub const LV_STYLE_TRANSITION_PROP_3: _bindgen_ty_19 = 180;
pub const LV_STYLE_TRANSITION_PROP_4: _bindgen_ty_19 = 181;
pub const LV_STYLE_TRANSITION_PROP_5: _bindgen_ty_19 = 182;
pub const LV_STYLE_TRANSITION_PROP_6: _bindgen_ty_19 = 183;
pub const LV_STYLE_TRANSITION_PATH: _bindgen_ty_19 = 190;
pub const LV_STYLE_SCALE_WIDTH: _bindgen_ty_19 = 192;
pub const LV_STYLE_SCALE_BORDER_WIDTH: _bindgen_ty_19 = 193;
pub const LV_STYLE_SCALE_END_BORDER_WIDTH: _bindgen_ty_19 = 194;
pub const LV_STYLE_SCALE_END_LINE_WIDTH: _bindgen_ty_19 = 195;
pub const LV_STYLE_SCALE_GRAD_COLOR: _bindgen_ty_19 = 201;
pub const LV_STYLE_SCALE_END_COLOR: _bindgen_ty_19 = 202;
pub type _bindgen_ty_19 = u32;
pub type lv_style_property_t = u16;
pub type lv_style_state_t = u16;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_style_t {
    pub map: *mut u8,
}
pub type lv_style_int_t = i16;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_style_list_t {
    pub style_list: *mut *mut lv_style_t,
    pub style_cnt: u8,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: u16,
}
impl lv_style_list_t {
    #[inline]
    pub fn has_local(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_has_local(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn has_trans(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_has_trans(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn skip_trans(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_skip_trans(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn ignore_trans(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_ignore_trans(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(3usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        has_local: u8,
        has_trans: u8,
        skip_trans: u8,
        ignore_trans: u8,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let has_local: u8 = unsafe { ::core::mem::transmute(has_local) };
            has_local as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let has_trans: u8 = unsafe { ::core::mem::transmute(has_trans) };
            has_trans as u64
        });
        __bindgen_bitfield_unit.set(2usize, 1u8, {
            let skip_trans: u8 = unsafe { ::core::mem::transmute(skip_trans) };
            skip_trans as u64
        });
        __bindgen_bitfield_unit.set(3usize, 1u8, {
            let ignore_trans: u8 = unsafe { ::core::mem::transmute(ignore_trans) };
            ignore_trans as u64
        });
        __bindgen_bitfield_unit
    }
}
extern "C" {
    pub fn lv_style_init(style: *mut lv_style_t);
}
extern "C" {
    pub fn lv_style_copy(style_dest: *mut lv_style_t, style_src: *const lv_style_t);
}
extern "C" {
    pub fn lv_style_list_init(list: *mut lv_style_list_t);
}
extern "C" {
    pub fn lv_style_list_copy(list_dest: *mut lv_style_list_t, list_src: *const lv_style_list_t);
}
extern "C" {
    pub fn _lv_style_list_add_style(list: *mut lv_style_list_t, style: *mut lv_style_t);
}
extern "C" {
    pub fn _lv_style_list_remove_style(list: *mut lv_style_list_t, style: *mut lv_style_t);
}
extern "C" {
    pub fn _lv_style_list_reset(style_list: *mut lv_style_list_t);
}
extern "C" {
    pub fn lv_style_reset(style: *mut lv_style_t);
}
extern "C" {
    pub fn _lv_style_get_mem_size(style: *const lv_style_t) -> u16;
}
extern "C" {
    pub fn lv_style_remove_prop(style: *mut lv_style_t, prop: lv_style_property_t) -> bool;
}
extern "C" {
    pub fn _lv_style_set_int(
        style: *mut lv_style_t,
        prop: lv_style_property_t,
        value: lv_style_int_t,
    );
}
extern "C" {
    pub fn _lv_style_set_color(
        style: *mut lv_style_t,
        prop: lv_style_property_t,
        color: lv_color_t,
    );
}
extern "C" {
    pub fn _lv_style_set_opa(style: *mut lv_style_t, prop: lv_style_property_t, opa: lv_opa_t);
}
extern "C" {
    pub fn _lv_style_set_ptr(
        style: *mut lv_style_t,
        prop: lv_style_property_t,
        p: *const cty::c_void,
    );
}
extern "C" {
    pub fn _lv_style_get_int(
        style: *const lv_style_t,
        prop: lv_style_property_t,
        res: *mut cty::c_void,
    ) -> i16;
}
extern "C" {
    pub fn _lv_style_get_color(
        style: *const lv_style_t,
        prop: lv_style_property_t,
        res: *mut cty::c_void,
    ) -> i16;
}
extern "C" {
    pub fn _lv_style_get_opa(
        style: *const lv_style_t,
        prop: lv_style_property_t,
        res: *mut cty::c_void,
    ) -> i16;
}
extern "C" {
    pub fn _lv_style_get_ptr(
        style: *const lv_style_t,
        prop: lv_style_property_t,
        res: *mut cty::c_void,
    ) -> i16;
}
extern "C" {
    pub fn lv_style_list_get_local_style(list: *mut lv_style_list_t) -> *mut lv_style_t;
}
extern "C" {
    pub fn _lv_style_list_get_transition_style(list: *mut lv_style_list_t) -> *mut lv_style_t;
}
extern "C" {
    pub fn _lv_style_list_add_trans_style(list: *mut lv_style_list_t) -> *mut lv_style_t;
}
extern "C" {
    pub fn _lv_style_list_set_local_int(
        list: *mut lv_style_list_t,
        prop: lv_style_property_t,
        value: lv_style_int_t,
    );
}
extern "C" {
    pub fn _lv_style_list_set_local_color(
        list: *mut lv_style_list_t,
        prop: lv_style_property_t,
        value: lv_color_t,
    );
}
extern "C" {
    pub fn _lv_style_list_set_local_opa(
        list: *mut lv_style_list_t,
        prop: lv_style_property_t,
        value: lv_opa_t,
    );
}
extern "C" {
    pub fn _lv_style_list_set_local_ptr(
        list: *mut lv_style_list_t,
        prop: lv_style_property_t,
        value: *const cty::c_void,
    );
}
extern "C" {
    pub fn _lv_style_list_get_int(
        list: *mut lv_style_list_t,
        prop: lv_style_property_t,
        res: *mut lv_style_int_t,
    ) -> lv_res_t;
}
extern "C" {
    pub fn _lv_style_list_get_color(
        list: *mut lv_style_list_t,
        prop: lv_style_property_t,
        res: *mut lv_color_t,
    ) -> lv_res_t;
}
extern "C" {
    pub fn _lv_style_list_get_opa(
        list: *mut lv_style_list_t,
        prop: lv_style_property_t,
        res: *mut lv_opa_t,
    ) -> lv_res_t;
}
extern "C" {
    pub fn _lv_style_list_get_ptr(
        list: *mut lv_style_list_t,
        prop: lv_style_property_t,
        res: *mut *const cty::c_void,
    ) -> lv_res_t;
}
extern "C" {
    pub fn lv_debug_check_style(style: *const lv_style_t) -> bool;
}
extern "C" {
    pub fn lv_debug_check_style_list(list: *const lv_style_list_t) -> bool;
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct lv_draw_rect_dsc_t {
    pub radius: lv_style_int_t,
    pub bg_color: lv_color_t,
    pub bg_grad_color: lv_color_t,
    pub bg_grad_dir: lv_grad_dir_t,
    pub bg_main_color_stop: lv_style_int_t,
    pub bg_grad_color_stop: lv_style_int_t,
    pub bg_opa: lv_opa_t,
    pub bg_blend_mode: lv_blend_mode_t,
    pub border_color: lv_color_t,
    pub border_width: lv_style_int_t,
    pub border_side: lv_style_int_t,
    pub border_opa: lv_opa_t,
    pub border_blend_mode: lv_blend_mode_t,
    pub outline_color: lv_color_t,
    pub outline_width: lv_style_int_t,
    pub outline_pad: lv_style_int_t,
    pub outline_opa: lv_opa_t,
    pub outline_blend_mode: lv_blend_mode_t,
    pub shadow_color: lv_color_t,
    pub shadow_width: lv_style_int_t,
    pub shadow_ofs_x: lv_style_int_t,
    pub shadow_ofs_y: lv_style_int_t,
    pub shadow_spread: lv_style_int_t,
    pub shadow_opa: lv_opa_t,
    pub shadow_blend_mode: lv_blend_mode_t,
    pub pattern_image: *const cty::c_void,
    pub pattern_font: *const lv_font_t,
    pub pattern_recolor: lv_color_t,
    pub pattern_opa: lv_opa_t,
    pub pattern_recolor_opa: lv_opa_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub pattern_blend_mode: lv_blend_mode_t,
    pub value_str: *const cty::c_char,
    pub value_font: *const lv_font_t,
    pub value_opa: lv_opa_t,
    pub value_color: lv_color_t,
    pub value_ofs_x: lv_style_int_t,
    pub value_ofs_y: lv_style_int_t,
    pub value_letter_space: lv_style_int_t,
    pub value_line_space: lv_style_int_t,
    pub value_align: lv_align_t,
    pub value_blend_mode: lv_blend_mode_t,
}
impl lv_draw_rect_dsc_t {
    #[inline]
    pub fn pattern_repeat(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_pattern_repeat(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(pattern_repeat: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let pattern_repeat: u8 = unsafe { ::core::mem::transmute(pattern_repeat) };
            pattern_repeat as u64
        });
        __bindgen_bitfield_unit
    }
}
extern "C" {
    pub fn lv_draw_rect_dsc_init(dsc: *mut lv_draw_rect_dsc_t);
}
extern "C" {
    pub fn lv_draw_rect(
        coords: *const lv_area_t,
        mask: *const lv_area_t,
        dsc: *mut lv_draw_rect_dsc_t,
    );
}
extern "C" {
    pub fn lv_draw_px(
        point: *const lv_point_t,
        clip_area: *const lv_area_t,
        style: *const lv_style_t,
    );
}
pub const LV_BIDI_DIR_LTR: _bindgen_ty_20 = 0;
pub const LV_BIDI_DIR_RTL: _bindgen_ty_20 = 1;
pub const LV_BIDI_DIR_AUTO: _bindgen_ty_20 = 2;
pub const LV_BIDI_DIR_INHERIT: _bindgen_ty_20 = 3;
pub const LV_BIDI_DIR_NEUTRAL: _bindgen_ty_20 = 32;
pub const LV_BIDI_DIR_WEAK: _bindgen_ty_20 = 33;
pub type _bindgen_ty_20 = u32;
pub type lv_bidi_dir_t = u8;
pub const LV_TXT_FLAG_NONE: _bindgen_ty_21 = 0;
pub const LV_TXT_FLAG_RECOLOR: _bindgen_ty_21 = 1;
pub const LV_TXT_FLAG_EXPAND: _bindgen_ty_21 = 2;
pub const LV_TXT_FLAG_CENTER: _bindgen_ty_21 = 4;
pub const LV_TXT_FLAG_RIGHT: _bindgen_ty_21 = 8;
pub const LV_TXT_FLAG_FIT: _bindgen_ty_21 = 16;
pub type _bindgen_ty_21 = u32;
pub type lv_txt_flag_t = u8;
pub const LV_TXT_CMD_STATE_WAIT: _bindgen_ty_22 = 0;
pub const LV_TXT_CMD_STATE_PAR: _bindgen_ty_22 = 1;
pub const LV_TXT_CMD_STATE_IN: _bindgen_ty_22 = 2;
pub type _bindgen_ty_22 = u32;
pub type lv_txt_cmd_state_t = u8;
extern "C" {
    pub fn _lv_txt_get_size(
        size_res: *mut lv_point_t,
        text: *const cty::c_char,
        font: *const lv_font_t,
        letter_space: lv_coord_t,
        line_space: lv_coord_t,
        max_width: lv_coord_t,
        flag: lv_txt_flag_t,
    );
}
extern "C" {
    pub fn _lv_txt_get_next_line(
        txt: *const cty::c_char,
        font: *const lv_font_t,
        letter_space: lv_coord_t,
        max_width: lv_coord_t,
        flag: lv_txt_flag_t,
    ) -> u32;
}
extern "C" {
    pub fn _lv_txt_get_width(
        txt: *const cty::c_char,
        length: u32,
        font: *const lv_font_t,
        letter_space: lv_coord_t,
        flag: lv_txt_flag_t,
    ) -> lv_coord_t;
}
extern "C" {
    pub fn _lv_txt_is_cmd(state: *mut lv_txt_cmd_state_t, c: u32) -> bool;
}
extern "C" {
    pub fn _lv_txt_ins(txt_buf: *mut cty::c_char, pos: u32, ins_txt: *const cty::c_char);
}
extern "C" {
    pub fn _lv_txt_cut(txt: *mut cty::c_char, pos: u32, len: u32);
}
extern "C" {
    pub static mut _lv_txt_encoded_size:
        ::core::option::Option<unsafe extern "C" fn(arg1: *const cty::c_char) -> u8>;
}
extern "C" {
    pub static mut _lv_txt_unicode_to_encoded:
        ::core::option::Option<unsafe extern "C" fn(arg1: u32) -> u32>;
}
extern "C" {
    pub static mut _lv_txt_encoded_conv_wc:
        ::core::option::Option<unsafe extern "C" fn(c: u32) -> u32>;
}
extern "C" {
    pub static mut _lv_txt_encoded_next: ::core::option::Option<
        unsafe extern "C" fn(arg1: *const cty::c_char, arg2: *mut u32) -> u32,
    >;
}
extern "C" {
    pub static mut _lv_txt_encoded_prev: ::core::option::Option<
        unsafe extern "C" fn(arg1: *const cty::c_char, arg2: *mut u32) -> u32,
    >;
}
extern "C" {
    pub static mut _lv_txt_encoded_get_byte_id:
        ::core::option::Option<unsafe extern "C" fn(arg1: *const cty::c_char, arg2: u32) -> u32>;
}
extern "C" {
    pub static mut _lv_txt_encoded_get_char_id:
        ::core::option::Option<unsafe extern "C" fn(arg1: *const cty::c_char, arg2: u32) -> u32>;
}
extern "C" {
    pub static mut _lv_txt_get_encoded_length:
        ::core::option::Option<unsafe extern "C" fn(arg1: *const cty::c_char) -> u32>;
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct lv_draw_label_dsc_t {
    pub color: lv_color_t,
    pub sel_color: lv_color_t,
    pub font: *const lv_font_t,
    pub opa: lv_opa_t,
    pub line_space: lv_style_int_t,
    pub letter_space: lv_style_int_t,
    pub sel_start: u32,
    pub sel_end: u32,
    pub ofs_x: lv_coord_t,
    pub ofs_y: lv_coord_t,
    pub bidi_dir: lv_bidi_dir_t,
    pub flag: lv_txt_flag_t,
    pub decor: lv_text_decor_t,
    pub blend_mode: lv_blend_mode_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_draw_label_hint_t {
    pub line_start: i32,
    pub y: i32,
    pub coord_y: i32,
}
extern "C" {
    pub fn lv_draw_label_dsc_init(dsc: *mut lv_draw_label_dsc_t);
}
extern "C" {
    pub fn lv_draw_label(
        coords: *const lv_area_t,
        mask: *const lv_area_t,
        dsc: *mut lv_draw_label_dsc_t,
        txt: *const cty::c_char,
        hint: *mut lv_draw_label_hint_t,
    );
}
extern "C" {
    pub static mut _lv_bpp2_opa_table: [u8; 0usize];
}
extern "C" {
    pub static mut _lv_bpp3_opa_table: [u8; 0usize];
}
extern "C" {
    pub static mut _lv_bpp1_opa_table: [u8; 0usize];
}
extern "C" {
    pub static mut _lv_bpp4_opa_table: [u8; 0usize];
}
extern "C" {
    pub static mut _lv_bpp8_opa_table: [u8; 0usize];
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct lv_draw_line_dsc_t {
    pub color: lv_color_t,
    pub width: lv_style_int_t,
    pub dash_width: lv_style_int_t,
    pub dash_gap: lv_style_int_t,
    pub opa: lv_opa_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
}
impl lv_draw_line_dsc_t {
    #[inline]
    pub fn blend_mode(&self) -> lv_blend_mode_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_blend_mode(&mut self, val: lv_blend_mode_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn round_start(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_round_start(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn round_end(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_round_end(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(3usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn raw_end(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_raw_end(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(4usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        blend_mode: lv_blend_mode_t,
        round_start: u8,
        round_end: u8,
        raw_end: u8,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 2u8, {
            let blend_mode: u8 = unsafe { ::core::mem::transmute(blend_mode) };
            blend_mode as u64
        });
        __bindgen_bitfield_unit.set(2usize, 1u8, {
            let round_start: u8 = unsafe { ::core::mem::transmute(round_start) };
            round_start as u64
        });
        __bindgen_bitfield_unit.set(3usize, 1u8, {
            let round_end: u8 = unsafe { ::core::mem::transmute(round_end) };
            round_end as u64
        });
        __bindgen_bitfield_unit.set(4usize, 1u8, {
            let raw_end: u8 = unsafe { ::core::mem::transmute(raw_end) };
            raw_end as u64
        });
        __bindgen_bitfield_unit
    }
}
extern "C" {
    pub fn lv_draw_line(
        point1: *const lv_point_t,
        point2: *const lv_point_t,
        mask: *const lv_area_t,
        dsc: *mut lv_draw_line_dsc_t,
    );
}
extern "C" {
    pub fn lv_draw_line_dsc_init(dsc: *mut lv_draw_line_dsc_t);
}
pub const LV_IMG_CF_UNKNOWN: _bindgen_ty_23 = 0;
pub const LV_IMG_CF_RAW: _bindgen_ty_23 = 1;
pub const LV_IMG_CF_RAW_ALPHA: _bindgen_ty_23 = 2;
pub const LV_IMG_CF_RAW_CHROMA_KEYED: _bindgen_ty_23 = 3;
pub const LV_IMG_CF_TRUE_COLOR: _bindgen_ty_23 = 4;
pub const LV_IMG_CF_TRUE_COLOR_ALPHA: _bindgen_ty_23 = 5;
pub const LV_IMG_CF_TRUE_COLOR_CHROMA_KEYED: _bindgen_ty_23 = 6;
pub const LV_IMG_CF_INDEXED_1BIT: _bindgen_ty_23 = 7;
pub const LV_IMG_CF_INDEXED_2BIT: _bindgen_ty_23 = 8;
pub const LV_IMG_CF_INDEXED_4BIT: _bindgen_ty_23 = 9;
pub const LV_IMG_CF_INDEXED_8BIT: _bindgen_ty_23 = 10;
pub const LV_IMG_CF_ALPHA_1BIT: _bindgen_ty_23 = 11;
pub const LV_IMG_CF_ALPHA_2BIT: _bindgen_ty_23 = 12;
pub const LV_IMG_CF_ALPHA_4BIT: _bindgen_ty_23 = 13;
pub const LV_IMG_CF_ALPHA_8BIT: _bindgen_ty_23 = 14;
pub const LV_IMG_CF_RESERVED_15: _bindgen_ty_23 = 15;
pub const LV_IMG_CF_RESERVED_16: _bindgen_ty_23 = 16;
pub const LV_IMG_CF_RESERVED_17: _bindgen_ty_23 = 17;
pub const LV_IMG_CF_RESERVED_18: _bindgen_ty_23 = 18;
pub const LV_IMG_CF_RESERVED_19: _bindgen_ty_23 = 19;
pub const LV_IMG_CF_RESERVED_20: _bindgen_ty_23 = 20;
pub const LV_IMG_CF_RESERVED_21: _bindgen_ty_23 = 21;
pub const LV_IMG_CF_RESERVED_22: _bindgen_ty_23 = 22;
pub const LV_IMG_CF_RESERVED_23: _bindgen_ty_23 = 23;
pub const LV_IMG_CF_USER_ENCODED_0: _bindgen_ty_23 = 24;
pub const LV_IMG_CF_USER_ENCODED_1: _bindgen_ty_23 = 25;
pub const LV_IMG_CF_USER_ENCODED_2: _bindgen_ty_23 = 26;
pub const LV_IMG_CF_USER_ENCODED_3: _bindgen_ty_23 = 27;
pub const LV_IMG_CF_USER_ENCODED_4: _bindgen_ty_23 = 28;
pub const LV_IMG_CF_USER_ENCODED_5: _bindgen_ty_23 = 29;
pub const LV_IMG_CF_USER_ENCODED_6: _bindgen_ty_23 = 30;
pub const LV_IMG_CF_USER_ENCODED_7: _bindgen_ty_23 = 31;
pub type _bindgen_ty_23 = u32;
pub type lv_img_cf_t = u8;
#[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)]
pub struct lv_img_header_t {
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize], u16>,
}
impl lv_img_header_t {
    #[inline]
    pub fn cf(&self) -> u32 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 5u8) as u32) }
    }
    #[inline]
    pub fn set_cf(&mut self, val: u32) {
        unsafe {
            let val: u32 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 5u8, val as u64)
        }
    }
    #[inline]
    pub fn always_zero(&self) -> u32 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(5usize, 3u8) as u32) }
    }
    #[inline]
    pub fn set_always_zero(&mut self, val: u32) {
        unsafe {
            let val: u32 = ::core::mem::transmute(val);
            self._bitfield_1.set(5usize, 3u8, val as u64)
        }
    }
    #[inline]
    pub fn reserved(&self) -> u32 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(8usize, 2u8) as u32) }
    }
    #[inline]
    pub fn set_reserved(&mut self, val: u32) {
        unsafe {
            let val: u32 = ::core::mem::transmute(val);
            self._bitfield_1.set(8usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn w(&self) -> u32 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(10usize, 11u8) as u32) }
    }
    #[inline]
    pub fn set_w(&mut self, val: u32) {
        unsafe {
            let val: u32 = ::core::mem::transmute(val);
            self._bitfield_1.set(10usize, 11u8, val as u64)
        }
    }
    #[inline]
    pub fn h(&self) -> u32 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(21usize, 11u8) as u32) }
    }
    #[inline]
    pub fn set_h(&mut self, val: u32) {
        unsafe {
            let val: u32 = ::core::mem::transmute(val);
            self._bitfield_1.set(21usize, 11u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        cf: u32,
        always_zero: u32,
        reserved: u32,
        w: u32,
        h: u32,
    ) -> __BindgenBitfieldUnit<[u8; 4usize], u16> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize], u16> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 5u8, {
            let cf: u32 = unsafe { ::core::mem::transmute(cf) };
            cf as u64
        });
        __bindgen_bitfield_unit.set(5usize, 3u8, {
            let always_zero: u32 = unsafe { ::core::mem::transmute(always_zero) };
            always_zero as u64
        });
        __bindgen_bitfield_unit.set(8usize, 2u8, {
            let reserved: u32 = unsafe { ::core::mem::transmute(reserved) };
            reserved as u64
        });
        __bindgen_bitfield_unit.set(10usize, 11u8, {
            let w: u32 = unsafe { ::core::mem::transmute(w) };
            w as u64
        });
        __bindgen_bitfield_unit.set(21usize, 11u8, {
            let h: u32 = unsafe { ::core::mem::transmute(h) };
            h as u64
        });
        __bindgen_bitfield_unit
    }
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_img_dsc_t {
    pub header: lv_img_header_t,
    pub data_size: u32,
    pub data: *const u8,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct lv_img_transform_dsc_t {
    pub cfg: lv_img_transform_dsc_t__bindgen_ty_1,
    pub res: lv_img_transform_dsc_t__bindgen_ty_2,
    pub tmp: lv_img_transform_dsc_t__bindgen_ty_3,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct lv_img_transform_dsc_t__bindgen_ty_1 {
    pub src: *const cty::c_void,
    pub src_w: lv_coord_t,
    pub src_h: lv_coord_t,
    pub pivot_x: lv_coord_t,
    pub pivot_y: lv_coord_t,
    pub angle: i16,
    pub zoom: u16,
    pub color: lv_color_t,
    pub cf: lv_img_cf_t,
    pub antialias: bool,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct lv_img_transform_dsc_t__bindgen_ty_2 {
    pub color: lv_color_t,
    pub opa: lv_opa_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_img_transform_dsc_t__bindgen_ty_3 {
    pub img_dsc: lv_img_dsc_t,
    pub pivot_x_256: i32,
    pub pivot_y_256: i32,
    pub sinma: i32,
    pub cosma: i32,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub zoom_inv: u16,
    pub xs: lv_coord_t,
    pub ys: lv_coord_t,
    pub xs_int: lv_coord_t,
    pub ys_int: lv_coord_t,
    pub pxi: u32,
    pub px_size: u8,
}
impl lv_img_transform_dsc_t__bindgen_ty_3 {
    #[inline]
    pub fn chroma_keyed(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_chroma_keyed(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn has_alpha(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_has_alpha(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn native_color(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_native_color(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        chroma_keyed: u8,
        has_alpha: u8,
        native_color: u8,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let chroma_keyed: u8 = unsafe { ::core::mem::transmute(chroma_keyed) };
            chroma_keyed as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let has_alpha: u8 = unsafe { ::core::mem::transmute(has_alpha) };
            has_alpha as u64
        });
        __bindgen_bitfield_unit.set(2usize, 1u8, {
            let native_color: u8 = unsafe { ::core::mem::transmute(native_color) };
            native_color as u64
        });
        __bindgen_bitfield_unit
    }
}
extern "C" {
    pub fn lv_img_buf_alloc(w: lv_coord_t, h: lv_coord_t, cf: lv_img_cf_t) -> *mut lv_img_dsc_t;
}
extern "C" {
    pub fn lv_img_buf_get_px_color(
        dsc: *mut lv_img_dsc_t,
        x: lv_coord_t,
        y: lv_coord_t,
        color: lv_color_t,
    ) -> lv_color_t;
}
extern "C" {
    pub fn lv_img_buf_get_px_alpha(
        dsc: *mut lv_img_dsc_t,
        x: lv_coord_t,
        y: lv_coord_t,
    ) -> lv_opa_t;
}
extern "C" {
    pub fn lv_img_buf_set_px_color(
        dsc: *mut lv_img_dsc_t,
        x: lv_coord_t,
        y: lv_coord_t,
        c: lv_color_t,
    );
}
extern "C" {
    pub fn lv_img_buf_set_px_alpha(
        dsc: *mut lv_img_dsc_t,
        x: lv_coord_t,
        y: lv_coord_t,
        opa: lv_opa_t,
    );
}
extern "C" {
    pub fn lv_img_buf_set_palette(dsc: *mut lv_img_dsc_t, id: u8, c: lv_color_t);
}
extern "C" {
    pub fn lv_img_buf_free(dsc: *mut lv_img_dsc_t);
}
extern "C" {
    pub fn lv_img_buf_get_img_size(w: lv_coord_t, h: lv_coord_t, cf: lv_img_cf_t) -> u32;
}
extern "C" {
    pub fn _lv_img_buf_transform_init(dsc: *mut lv_img_transform_dsc_t);
}
extern "C" {
    pub fn _lv_img_buf_transform_anti_alias(dsc: *mut lv_img_transform_dsc_t) -> bool;
}
extern "C" {
    pub fn _lv_img_buf_get_transformed_area(
        res: *mut lv_area_t,
        w: lv_coord_t,
        h: lv_coord_t,
        angle: i16,
        zoom: u16,
        pivot: *mut lv_point_t,
    );
}
pub const LV_FS_RES_OK: _bindgen_ty_24 = 0;
pub const LV_FS_RES_HW_ERR: _bindgen_ty_24 = 1;
pub const LV_FS_RES_FS_ERR: _bindgen_ty_24 = 2;
pub const LV_FS_RES_NOT_EX: _bindgen_ty_24 = 3;
pub const LV_FS_RES_FULL: _bindgen_ty_24 = 4;
pub const LV_FS_RES_LOCKED: _bindgen_ty_24 = 5;
pub const LV_FS_RES_DENIED: _bindgen_ty_24 = 6;
pub const LV_FS_RES_BUSY: _bindgen_ty_24 = 7;
pub const LV_FS_RES_TOUT: _bindgen_ty_24 = 8;
pub const LV_FS_RES_NOT_IMP: _bindgen_ty_24 = 9;
pub const LV_FS_RES_OUT_OF_MEM: _bindgen_ty_24 = 10;
pub const LV_FS_RES_INV_PARAM: _bindgen_ty_24 = 11;
pub const LV_FS_RES_UNKNOWN: _bindgen_ty_24 = 12;
pub type _bindgen_ty_24 = u32;
pub type lv_fs_res_t = u8;
pub const LV_FS_MODE_WR: _bindgen_ty_25 = 1;
pub const LV_FS_MODE_RD: _bindgen_ty_25 = 2;
pub type _bindgen_ty_25 = u32;
pub type lv_fs_mode_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _lv_fs_drv_t {
    pub letter: cty::c_char,
    pub file_size: u16,
    pub rddir_size: u16,
    pub ready_cb: ::core::option::Option<unsafe extern "C" fn(drv: *mut _lv_fs_drv_t) -> bool>,
    pub open_cb: ::core::option::Option<
        unsafe extern "C" fn(
            drv: *mut _lv_fs_drv_t,
            file_p: *mut cty::c_void,
            path: *const cty::c_char,
            mode: lv_fs_mode_t,
        ) -> lv_fs_res_t,
    >,
    pub close_cb: ::core::option::Option<
        unsafe extern "C" fn(drv: *mut _lv_fs_drv_t, file_p: *mut cty::c_void) -> lv_fs_res_t,
    >,
    pub remove_cb: ::core::option::Option<
        unsafe extern "C" fn(drv: *mut _lv_fs_drv_t, fn_: *const cty::c_char) -> lv_fs_res_t,
    >,
    pub read_cb: ::core::option::Option<
        unsafe extern "C" fn(
            drv: *mut _lv_fs_drv_t,
            file_p: *mut cty::c_void,
            buf: *mut cty::c_void,
            btr: u32,
            br: *mut u32,
        ) -> lv_fs_res_t,
    >,
    pub write_cb: ::core::option::Option<
        unsafe extern "C" fn(
            drv: *mut _lv_fs_drv_t,
            file_p: *mut cty::c_void,
            buf: *const cty::c_void,
            btw: u32,
            bw: *mut u32,
        ) -> lv_fs_res_t,
    >,
    pub seek_cb: ::core::option::Option<
        unsafe extern "C" fn(
            drv: *mut _lv_fs_drv_t,
            file_p: *mut cty::c_void,
            pos: u32,
        ) -> lv_fs_res_t,
    >,
    pub tell_cb: ::core::option::Option<
        unsafe extern "C" fn(
            drv: *mut _lv_fs_drv_t,
            file_p: *mut cty::c_void,
            pos_p: *mut u32,
        ) -> lv_fs_res_t,
    >,
    pub trunc_cb: ::core::option::Option<
        unsafe extern "C" fn(drv: *mut _lv_fs_drv_t, file_p: *mut cty::c_void) -> lv_fs_res_t,
    >,
    pub size_cb: ::core::option::Option<
        unsafe extern "C" fn(
            drv: *mut _lv_fs_drv_t,
            file_p: *mut cty::c_void,
            size_p: *mut u32,
        ) -> lv_fs_res_t,
    >,
    pub rename_cb: ::core::option::Option<
        unsafe extern "C" fn(
            drv: *mut _lv_fs_drv_t,
            oldname: *const cty::c_char,
            newname: *const cty::c_char,
        ) -> lv_fs_res_t,
    >,
    pub free_space_cb: ::core::option::Option<
        unsafe extern "C" fn(
            drv: *mut _lv_fs_drv_t,
            total_p: *mut u32,
            free_p: *mut u32,
        ) -> lv_fs_res_t,
    >,
    pub dir_open_cb: ::core::option::Option<
        unsafe extern "C" fn(
            drv: *mut _lv_fs_drv_t,
            rddir_p: *mut cty::c_void,
            path: *const cty::c_char,
        ) -> lv_fs_res_t,
    >,
    pub dir_read_cb: ::core::option::Option<
        unsafe extern "C" fn(
            drv: *mut _lv_fs_drv_t,
            rddir_p: *mut cty::c_void,
            fn_: *mut cty::c_char,
        ) -> lv_fs_res_t,
    >,
    pub dir_close_cb: ::core::option::Option<
        unsafe extern "C" fn(drv: *mut _lv_fs_drv_t, rddir_p: *mut cty::c_void) -> lv_fs_res_t,
    >,
    pub user_data: lv_fs_drv_user_data_t,
}
pub type lv_fs_drv_t = _lv_fs_drv_t;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_fs_file_t {
    pub file_d: *mut cty::c_void,
    pub drv: *mut lv_fs_drv_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_fs_dir_t {
    pub dir_d: *mut cty::c_void,
    pub drv: *mut lv_fs_drv_t,
}
extern "C" {
    pub fn _lv_fs_init();
}
extern "C" {
    pub fn lv_fs_drv_init(drv: *mut lv_fs_drv_t);
}
extern "C" {
    pub fn lv_fs_drv_register(drv_p: *mut lv_fs_drv_t);
}
extern "C" {
    pub fn lv_fs_get_drv(letter: cty::c_char) -> *mut lv_fs_drv_t;
}
extern "C" {
    pub fn lv_fs_is_ready(letter: cty::c_char) -> bool;
}
extern "C" {
    pub fn lv_fs_open(
        file_p: *mut lv_fs_file_t,
        path: *const cty::c_char,
        mode: lv_fs_mode_t,
    ) -> lv_fs_res_t;
}
extern "C" {
    pub fn lv_fs_close(file_p: *mut lv_fs_file_t) -> lv_fs_res_t;
}
extern "C" {
    pub fn lv_fs_remove(path: *const cty::c_char) -> lv_fs_res_t;
}
extern "C" {
    pub fn lv_fs_read(
        file_p: *mut lv_fs_file_t,
        buf: *mut cty::c_void,
        btr: u32,
        br: *mut u32,
    ) -> lv_fs_res_t;
}
extern "C" {
    pub fn lv_fs_write(
        file_p: *mut lv_fs_file_t,
        buf: *const cty::c_void,
        btw: u32,
        bw: *mut u32,
    ) -> lv_fs_res_t;
}
extern "C" {
    pub fn lv_fs_seek(file_p: *mut lv_fs_file_t, pos: u32) -> lv_fs_res_t;
}
extern "C" {
    pub fn lv_fs_tell(file_p: *mut lv_fs_file_t, pos: *mut u32) -> lv_fs_res_t;
}
extern "C" {
    pub fn lv_fs_trunc(file_p: *mut lv_fs_file_t) -> lv_fs_res_t;
}
extern "C" {
    pub fn lv_fs_size(file_p: *mut lv_fs_file_t, size: *mut u32) -> lv_fs_res_t;
}
extern "C" {
    pub fn lv_fs_rename(oldname: *const cty::c_char, newname: *const cty::c_char) -> lv_fs_res_t;
}
extern "C" {
    pub fn lv_fs_dir_open(rddir_p: *mut lv_fs_dir_t, path: *const cty::c_char) -> lv_fs_res_t;
}
extern "C" {
    pub fn lv_fs_dir_read(rddir_p: *mut lv_fs_dir_t, fn_: *mut cty::c_char) -> lv_fs_res_t;
}
extern "C" {
    pub fn lv_fs_dir_close(rddir_p: *mut lv_fs_dir_t) -> lv_fs_res_t;
}
extern "C" {
    pub fn lv_fs_free_space(
        letter: cty::c_char,
        total_p: *mut u32,
        free_p: *mut u32,
    ) -> lv_fs_res_t;
}
extern "C" {
    pub fn lv_fs_get_letters(buf: *mut cty::c_char) -> *mut cty::c_char;
}
extern "C" {
    pub fn lv_fs_get_ext(fn_: *const cty::c_char) -> *const cty::c_char;
}
extern "C" {
    pub fn lv_fs_up(path: *mut cty::c_char) -> *mut cty::c_char;
}
extern "C" {
    pub fn lv_fs_get_last(path: *const cty::c_char) -> *const cty::c_char;
}
pub const LV_IMG_SRC_VARIABLE: _bindgen_ty_26 = 0;
pub const LV_IMG_SRC_FILE: _bindgen_ty_26 = 1;
pub const LV_IMG_SRC_SYMBOL: _bindgen_ty_26 = 2;
pub const LV_IMG_SRC_UNKNOWN: _bindgen_ty_26 = 3;
pub type _bindgen_ty_26 = u32;
pub type lv_img_src_t = u8;
pub type lv_img_decoder_info_f_t = ::core::option::Option<
    unsafe extern "C" fn(
        decoder: *mut _lv_img_decoder,
        src: *const cty::c_void,
        header: *mut lv_img_header_t,
    ) -> lv_res_t,
>;
pub type lv_img_decoder_open_f_t = ::core::option::Option<
    unsafe extern "C" fn(decoder: *mut _lv_img_decoder, dsc: *mut _lv_img_decoder_dsc) -> lv_res_t,
>;
pub type lv_img_decoder_read_line_f_t = ::core::option::Option<
    unsafe extern "C" fn(
        decoder: *mut _lv_img_decoder,
        dsc: *mut _lv_img_decoder_dsc,
        x: lv_coord_t,
        y: lv_coord_t,
        len: lv_coord_t,
        buf: *mut u8,
    ) -> lv_res_t,
>;
pub type lv_img_decoder_close_f_t = ::core::option::Option<
    unsafe extern "C" fn(decoder: *mut _lv_img_decoder, dsc: *mut _lv_img_decoder_dsc),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _lv_img_decoder {
    pub info_cb: lv_img_decoder_info_f_t,
    pub open_cb: lv_img_decoder_open_f_t,
    pub read_line_cb: lv_img_decoder_read_line_f_t,
    pub close_cb: lv_img_decoder_close_f_t,
    pub user_data: lv_img_decoder_user_data_t,
}
pub type lv_img_decoder_t = _lv_img_decoder;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct _lv_img_decoder_dsc {
    pub decoder: *mut lv_img_decoder_t,
    pub src: *const cty::c_void,
    pub color: lv_color_t,
    pub src_type: lv_img_src_t,
    pub header: lv_img_header_t,
    pub img_data: *const u8,
    pub time_to_open: u32,
    pub error_msg: *const cty::c_char,
    pub user_data: *mut cty::c_void,
}
pub type lv_img_decoder_dsc_t = _lv_img_decoder_dsc;
extern "C" {
    pub fn _lv_img_decoder_init();
}
extern "C" {
    pub fn lv_img_decoder_get_info(
        src: *const cty::c_char,
        header: *mut lv_img_header_t,
    ) -> lv_res_t;
}
extern "C" {
    pub fn lv_img_decoder_open(
        dsc: *mut lv_img_decoder_dsc_t,
        src: *const cty::c_void,
        color: lv_color_t,
    ) -> lv_res_t;
}
extern "C" {
    pub fn lv_img_decoder_read_line(
        dsc: *mut lv_img_decoder_dsc_t,
        x: lv_coord_t,
        y: lv_coord_t,
        len: lv_coord_t,
        buf: *mut u8,
    ) -> lv_res_t;
}
extern "C" {
    pub fn lv_img_decoder_close(dsc: *mut lv_img_decoder_dsc_t);
}
extern "C" {
    pub fn lv_img_decoder_create() -> *mut lv_img_decoder_t;
}
extern "C" {
    pub fn lv_img_decoder_delete(decoder: *mut lv_img_decoder_t);
}
extern "C" {
    pub fn lv_img_decoder_set_info_cb(
        decoder: *mut lv_img_decoder_t,
        info_cb: lv_img_decoder_info_f_t,
    );
}
extern "C" {
    pub fn lv_img_decoder_set_open_cb(
        decoder: *mut lv_img_decoder_t,
        open_cb: lv_img_decoder_open_f_t,
    );
}
extern "C" {
    pub fn lv_img_decoder_set_read_line_cb(
        decoder: *mut lv_img_decoder_t,
        read_line_cb: lv_img_decoder_read_line_f_t,
    );
}
extern "C" {
    pub fn lv_img_decoder_set_close_cb(
        decoder: *mut lv_img_decoder_t,
        close_cb: lv_img_decoder_close_f_t,
    );
}
extern "C" {
    pub fn lv_img_decoder_built_in_info(
        decoder: *mut lv_img_decoder_t,
        src: *const cty::c_void,
        header: *mut lv_img_header_t,
    ) -> lv_res_t;
}
extern "C" {
    pub fn lv_img_decoder_built_in_open(
        decoder: *mut lv_img_decoder_t,
        dsc: *mut lv_img_decoder_dsc_t,
    ) -> lv_res_t;
}
extern "C" {
    pub fn lv_img_decoder_built_in_read_line(
        decoder: *mut lv_img_decoder_t,
        dsc: *mut lv_img_decoder_dsc_t,
        x: lv_coord_t,
        y: lv_coord_t,
        len: lv_coord_t,
        buf: *mut u8,
    ) -> lv_res_t;
}
extern "C" {
    pub fn lv_img_decoder_built_in_close(
        decoder: *mut lv_img_decoder_t,
        dsc: *mut lv_img_decoder_dsc_t,
    );
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct lv_draw_img_dsc_t {
    pub opa: lv_opa_t,
    pub angle: u16,
    pub pivot: lv_point_t,
    pub zoom: u16,
    pub recolor_opa: lv_opa_t,
    pub recolor: lv_color_t,
    pub blend_mode: lv_blend_mode_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
}
impl lv_draw_img_dsc_t {
    #[inline]
    pub fn antialias(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_antialias(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(antialias: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let antialias: u8 = unsafe { ::core::mem::transmute(antialias) };
            antialias as u64
        });
        __bindgen_bitfield_unit
    }
}
extern "C" {
    pub fn lv_draw_img_dsc_init(dsc: *mut lv_draw_img_dsc_t);
}
extern "C" {
    pub fn lv_draw_img(
        coords: *const lv_area_t,
        mask: *const lv_area_t,
        src: *const cty::c_void,
        dsc: *mut lv_draw_img_dsc_t,
    );
}
extern "C" {
    pub fn lv_img_src_get_type(src: *const cty::c_void) -> lv_img_src_t;
}
extern "C" {
    pub fn lv_img_cf_get_px_size(cf: lv_img_cf_t) -> u8;
}
extern "C" {
    pub fn lv_img_cf_is_chroma_keyed(cf: lv_img_cf_t) -> bool;
}
extern "C" {
    pub fn lv_img_cf_has_alpha(cf: lv_img_cf_t) -> bool;
}
pub const LV_DESIGN_DRAW_MAIN: _bindgen_ty_27 = 0;
pub const LV_DESIGN_DRAW_POST: _bindgen_ty_27 = 1;
pub const LV_DESIGN_COVER_CHK: _bindgen_ty_27 = 2;
pub type _bindgen_ty_27 = u32;
pub type lv_design_mode_t = u8;
pub const LV_DESIGN_RES_OK: _bindgen_ty_28 = 0;
pub const LV_DESIGN_RES_COVER: _bindgen_ty_28 = 1;
pub const LV_DESIGN_RES_NOT_COVER: _bindgen_ty_28 = 2;
pub const LV_DESIGN_RES_MASKED: _bindgen_ty_28 = 3;
pub type _bindgen_ty_28 = u32;
pub type lv_design_res_t = u8;
pub type lv_design_cb_t = ::core::option::Option<
    unsafe extern "C" fn(
        obj: *mut _lv_obj_t,
        clip_area: *const lv_area_t,
        mode: lv_design_mode_t,
    ) -> lv_design_res_t,
>;
pub const LV_EVENT_PRESSED: _bindgen_ty_29 = 0;
pub const LV_EVENT_PRESSING: _bindgen_ty_29 = 1;
pub const LV_EVENT_PRESS_LOST: _bindgen_ty_29 = 2;
pub const LV_EVENT_SHORT_CLICKED: _bindgen_ty_29 = 3;
pub const LV_EVENT_LONG_PRESSED: _bindgen_ty_29 = 4;
pub const LV_EVENT_LONG_PRESSED_REPEAT: _bindgen_ty_29 = 5;
pub const LV_EVENT_CLICKED: _bindgen_ty_29 = 6;
pub const LV_EVENT_RELEASED: _bindgen_ty_29 = 7;
pub const LV_EVENT_DRAG_BEGIN: _bindgen_ty_29 = 8;
pub const LV_EVENT_DRAG_END: _bindgen_ty_29 = 9;
pub const LV_EVENT_DRAG_THROW_BEGIN: _bindgen_ty_29 = 10;
pub const LV_EVENT_GESTURE: _bindgen_ty_29 = 11;
pub const LV_EVENT_KEY: _bindgen_ty_29 = 12;
pub const LV_EVENT_FOCUSED: _bindgen_ty_29 = 13;
pub const LV_EVENT_DEFOCUSED: _bindgen_ty_29 = 14;
pub const LV_EVENT_LEAVE: _bindgen_ty_29 = 15;
pub const LV_EVENT_VALUE_CHANGED: _bindgen_ty_29 = 16;
pub const LV_EVENT_INSERT: _bindgen_ty_29 = 17;
pub const LV_EVENT_REFRESH: _bindgen_ty_29 = 18;
pub const LV_EVENT_APPLY: _bindgen_ty_29 = 19;
pub const LV_EVENT_CANCEL: _bindgen_ty_29 = 20;
pub const LV_EVENT_DELETE: _bindgen_ty_29 = 21;
pub type _bindgen_ty_29 = u32;
pub type lv_event_t = u8;
pub type lv_event_cb_t =
    ::core::option::Option<unsafe extern "C" fn(obj: *mut _lv_obj_t, event: lv_event_t)>;
pub const LV_SIGNAL_CLEANUP: _bindgen_ty_30 = 0;
pub const LV_SIGNAL_CHILD_CHG: _bindgen_ty_30 = 1;
pub const LV_SIGNAL_COORD_CHG: _bindgen_ty_30 = 2;
pub const LV_SIGNAL_PARENT_SIZE_CHG: _bindgen_ty_30 = 3;
pub const LV_SIGNAL_STYLE_CHG: _bindgen_ty_30 = 4;
pub const LV_SIGNAL_BASE_DIR_CHG: _bindgen_ty_30 = 5;
pub const LV_SIGNAL_REFR_EXT_DRAW_PAD: _bindgen_ty_30 = 6;
pub const LV_SIGNAL_GET_TYPE: _bindgen_ty_30 = 7;
pub const LV_SIGNAL_GET_STYLE: _bindgen_ty_30 = 8;
pub const LV_SIGNAL_GET_STATE_DSC: _bindgen_ty_30 = 9;
pub const LV_SIGNAL_HIT_TEST: _bindgen_ty_30 = 10;
pub const LV_SIGNAL_PRESSED: _bindgen_ty_30 = 11;
pub const LV_SIGNAL_PRESSING: _bindgen_ty_30 = 12;
pub const LV_SIGNAL_PRESS_LOST: _bindgen_ty_30 = 13;
pub const LV_SIGNAL_RELEASED: _bindgen_ty_30 = 14;
pub const LV_SIGNAL_LONG_PRESS: _bindgen_ty_30 = 15;
pub const LV_SIGNAL_LONG_PRESS_REP: _bindgen_ty_30 = 16;
pub const LV_SIGNAL_DRAG_BEGIN: _bindgen_ty_30 = 17;
pub const LV_SIGNAL_DRAG_THROW_BEGIN: _bindgen_ty_30 = 18;
pub const LV_SIGNAL_DRAG_END: _bindgen_ty_30 = 19;
pub const LV_SIGNAL_GESTURE: _bindgen_ty_30 = 20;
pub const LV_SIGNAL_LEAVE: _bindgen_ty_30 = 21;
pub const LV_SIGNAL_FOCUS: _bindgen_ty_30 = 22;
pub const LV_SIGNAL_DEFOCUS: _bindgen_ty_30 = 23;
pub const LV_SIGNAL_CONTROL: _bindgen_ty_30 = 24;
pub const LV_SIGNAL_GET_EDITABLE: _bindgen_ty_30 = 25;
pub type _bindgen_ty_30 = u32;
pub type lv_signal_t = u8;
pub type lv_signal_cb_t = ::core::option::Option<
    unsafe extern "C" fn(
        obj: *mut _lv_obj_t,
        sign: lv_signal_t,
        param: *mut cty::c_void,
    ) -> lv_res_t,
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_realign_t {
    pub base: *const _lv_obj_t,
    pub xofs: lv_coord_t,
    pub yofs: lv_coord_t,
    pub align: lv_align_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: u16,
}
impl lv_realign_t {
    #[inline]
    pub fn auto_realign(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_auto_realign(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn origo_align(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_origo_align(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        auto_realign: u8,
        origo_align: u8,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let auto_realign: u8 = unsafe { ::core::mem::transmute(auto_realign) };
            auto_realign as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let origo_align: u8 = unsafe { ::core::mem::transmute(origo_align) };
            origo_align as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_PROTECT_NONE: _bindgen_ty_31 = 0;
pub const LV_PROTECT_CHILD_CHG: _bindgen_ty_31 = 1;
pub const LV_PROTECT_PARENT: _bindgen_ty_31 = 2;
pub const LV_PROTECT_POS: _bindgen_ty_31 = 4;
pub const LV_PROTECT_FOLLOW: _bindgen_ty_31 = 8;
pub const LV_PROTECT_PRESS_LOST: _bindgen_ty_31 = 16;
pub const LV_PROTECT_CLICK_FOCUS: _bindgen_ty_31 = 32;
pub type _bindgen_ty_31 = u32;
pub type lv_protect_t = u8;
pub const LV_STATE_DEFAULT: _bindgen_ty_32 = 0;
pub const LV_STATE_CHECKED: _bindgen_ty_32 = 1;
pub const LV_STATE_FOCUSED: _bindgen_ty_32 = 2;
pub const LV_STATE_EDITED: _bindgen_ty_32 = 4;
pub const LV_STATE_HOVERED: _bindgen_ty_32 = 8;
pub const LV_STATE_PRESSED: _bindgen_ty_32 = 16;
pub const LV_STATE_DISABLED: _bindgen_ty_32 = 32;
pub type _bindgen_ty_32 = u32;
pub type lv_state_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _lv_obj_t {
    pub parent: *mut _lv_obj_t,
    pub child_ll: lv_ll_t,
    pub coords: lv_area_t,
    pub event_cb: lv_event_cb_t,
    pub signal_cb: lv_signal_cb_t,
    pub design_cb: lv_design_cb_t,
    pub ext_attr: *mut cty::c_void,
    pub style_list: lv_style_list_t,
    pub ext_click_pad_hor: u8,
    pub ext_click_pad_ver: u8,
    pub ext_draw_pad: lv_coord_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize], u8>,
    pub group_p: *mut cty::c_void,
    pub protect: u8,
    pub state: lv_state_t,
    pub realign: lv_realign_t,
    pub user_data: lv_obj_user_data_t,
}
impl _lv_obj_t {
    #[inline]
    pub fn click(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_click(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn drag(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_drag(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn drag_throw(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_drag_throw(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn drag_parent(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_drag_parent(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(3usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn hidden(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_hidden(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(4usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn top(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_top(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(5usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn parent_event(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_parent_event(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(6usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn adv_hittest(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_adv_hittest(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(7usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn gesture_parent(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_gesture_parent(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(8usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn drag_dir(&self) -> lv_drag_dir_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(9usize, 3u8) as u8) }
    }
    #[inline]
    pub fn set_drag_dir(&mut self, val: lv_drag_dir_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(9usize, 3u8, val as u64)
        }
    }
    #[inline]
    pub fn base_dir(&self) -> lv_bidi_dir_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(12usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_base_dir(&mut self, val: lv_bidi_dir_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(12usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        click: u8,
        drag: u8,
        drag_throw: u8,
        drag_parent: u8,
        hidden: u8,
        top: u8,
        parent_event: u8,
        adv_hittest: u8,
        gesture_parent: u8,
        drag_dir: lv_drag_dir_t,
        base_dir: lv_bidi_dir_t,
    ) -> __BindgenBitfieldUnit<[u8; 2usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let click: u8 = unsafe { ::core::mem::transmute(click) };
            click as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let drag: u8 = unsafe { ::core::mem::transmute(drag) };
            drag as u64
        });
        __bindgen_bitfield_unit.set(2usize, 1u8, {
            let drag_throw: u8 = unsafe { ::core::mem::transmute(drag_throw) };
            drag_throw as u64
        });
        __bindgen_bitfield_unit.set(3usize, 1u8, {
            let drag_parent: u8 = unsafe { ::core::mem::transmute(drag_parent) };
            drag_parent as u64
        });
        __bindgen_bitfield_unit.set(4usize, 1u8, {
            let hidden: u8 = unsafe { ::core::mem::transmute(hidden) };
            hidden as u64
        });
        __bindgen_bitfield_unit.set(5usize, 1u8, {
            let top: u8 = unsafe { ::core::mem::transmute(top) };
            top as u64
        });
        __bindgen_bitfield_unit.set(6usize, 1u8, {
            let parent_event: u8 = unsafe { ::core::mem::transmute(parent_event) };
            parent_event as u64
        });
        __bindgen_bitfield_unit.set(7usize, 1u8, {
            let adv_hittest: u8 = unsafe { ::core::mem::transmute(adv_hittest) };
            adv_hittest as u64
        });
        __bindgen_bitfield_unit.set(8usize, 1u8, {
            let gesture_parent: u8 = unsafe { ::core::mem::transmute(gesture_parent) };
            gesture_parent as u64
        });
        __bindgen_bitfield_unit.set(9usize, 3u8, {
            let drag_dir: u8 = unsafe { ::core::mem::transmute(drag_dir) };
            drag_dir as u64
        });
        __bindgen_bitfield_unit.set(12usize, 2u8, {
            let base_dir: u8 = unsafe { ::core::mem::transmute(base_dir) };
            base_dir as u64
        });
        __bindgen_bitfield_unit
    }
}
pub type lv_obj_t = _lv_obj_t;
pub const LV_OBJ_PART_MAIN: _bindgen_ty_33 = 0;
pub const _LV_OBJ_PART_VIRTUAL_LAST: _bindgen_ty_33 = 1;
pub const _LV_OBJ_PART_REAL_LAST: _bindgen_ty_33 = 64;
pub const LV_OBJ_PART_ALL: _bindgen_ty_33 = 255;
pub type _bindgen_ty_33 = u32;
pub type lv_obj_part_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_obj_type_t {
    pub type_: [*const cty::c_char; 8usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_hit_test_info_t {
    pub point: *mut lv_point_t,
    pub result: bool,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_get_style_info_t {
    pub part: u8,
    pub result: *mut lv_style_list_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_get_state_info_t {
    pub part: u8,
    pub result: lv_state_t,
}
extern "C" {
    pub fn lv_init();
}
extern "C" {
    pub fn lv_deinit();
}
extern "C" {
    pub fn lv_obj_create(parent: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_obj_del(obj: *mut lv_obj_t) -> lv_res_t;
}
extern "C" {
    pub fn lv_obj_del_anim_ready_cb(a: *mut lv_anim_t);
}
extern "C" {
    pub fn lv_obj_del_async(obj: *mut _lv_obj_t);
}
extern "C" {
    pub fn lv_obj_clean(obj: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_obj_invalidate_area(obj: *const lv_obj_t, area: *const lv_area_t);
}
extern "C" {
    pub fn lv_obj_invalidate(obj: *const lv_obj_t);
}
extern "C" {
    pub fn lv_obj_set_parent(obj: *mut lv_obj_t, parent: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_obj_move_foreground(obj: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_obj_move_background(obj: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_obj_set_pos(obj: *mut lv_obj_t, x: lv_coord_t, y: lv_coord_t);
}
extern "C" {
    pub fn lv_obj_set_x(obj: *mut lv_obj_t, x: lv_coord_t);
}
extern "C" {
    pub fn lv_obj_set_y(obj: *mut lv_obj_t, y: lv_coord_t);
}
extern "C" {
    pub fn lv_obj_set_size(obj: *mut lv_obj_t, w: lv_coord_t, h: lv_coord_t);
}
extern "C" {
    pub fn lv_obj_set_width(obj: *mut lv_obj_t, w: lv_coord_t);
}
extern "C" {
    pub fn lv_obj_set_height(obj: *mut lv_obj_t, h: lv_coord_t);
}
extern "C" {
    pub fn lv_obj_set_width_fit(obj: *mut lv_obj_t, w: lv_coord_t);
}
extern "C" {
    pub fn lv_obj_set_height_fit(obj: *mut lv_obj_t, h: lv_coord_t);
}
extern "C" {
    pub fn lv_obj_set_width_margin(obj: *mut lv_obj_t, w: lv_coord_t);
}
extern "C" {
    pub fn lv_obj_set_height_margin(obj: *mut lv_obj_t, h: lv_coord_t);
}
extern "C" {
    pub fn lv_obj_align(
        obj: *mut lv_obj_t,
        base: *const lv_obj_t,
        align: lv_align_t,
        x_ofs: lv_coord_t,
        y_ofs: lv_coord_t,
    );
}
extern "C" {
    pub fn lv_obj_align_origo(
        obj: *mut lv_obj_t,
        base: *const lv_obj_t,
        align: lv_align_t,
        x_ofs: lv_coord_t,
        y_ofs: lv_coord_t,
    );
}
extern "C" {
    pub fn lv_obj_realign(obj: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_obj_set_auto_realign(obj: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_obj_set_ext_click_area(
        obj: *mut lv_obj_t,
        left: lv_coord_t,
        right: lv_coord_t,
        top: lv_coord_t,
        bottom: lv_coord_t,
    );
}
extern "C" {
    pub fn lv_obj_add_style(obj: *mut lv_obj_t, part: u8, style: *mut lv_style_t);
}
extern "C" {
    pub fn lv_obj_remove_style(obj: *mut lv_obj_t, part: u8, style: *mut lv_style_t);
}
extern "C" {
    pub fn lv_obj_clean_style_list(obj: *mut lv_obj_t, part: u8);
}
extern "C" {
    pub fn lv_obj_reset_style_list(obj: *mut lv_obj_t, part: u8);
}
extern "C" {
    pub fn lv_obj_refresh_style(obj: *mut lv_obj_t, prop: lv_style_property_t);
}
extern "C" {
    pub fn lv_obj_report_style_mod(style: *mut lv_style_t);
}
extern "C" {
    pub fn _lv_obj_set_style_local_color(
        obj: *mut lv_obj_t,
        type_: u8,
        prop: lv_style_property_t,
        color: lv_color_t,
    );
}
extern "C" {
    pub fn _lv_obj_set_style_local_int(
        obj: *mut lv_obj_t,
        type_: u8,
        prop: lv_style_property_t,
        value: lv_style_int_t,
    );
}
extern "C" {
    pub fn _lv_obj_set_style_local_opa(
        obj: *mut lv_obj_t,
        type_: u8,
        prop: lv_style_property_t,
        opa: lv_opa_t,
    );
}
extern "C" {
    pub fn _lv_obj_set_style_local_ptr(
        obj: *mut lv_obj_t,
        type_: u8,
        prop: lv_style_property_t,
        value: *const cty::c_void,
    );
}
extern "C" {
    pub fn lv_obj_remove_style_local_prop(
        obj: *mut lv_obj_t,
        part: u8,
        prop: lv_style_property_t,
    ) -> bool;
}
extern "C" {
    pub fn lv_obj_set_hidden(obj: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_obj_set_adv_hittest(obj: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_obj_set_click(obj: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_obj_set_top(obj: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_obj_set_drag(obj: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_obj_set_drag_dir(obj: *mut lv_obj_t, drag_dir: lv_drag_dir_t);
}
extern "C" {
    pub fn lv_obj_set_drag_throw(obj: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_obj_set_drag_parent(obj: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_obj_set_gesture_parent(obj: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_obj_set_parent_event(obj: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_obj_set_base_dir(obj: *mut lv_obj_t, dir: lv_bidi_dir_t);
}
extern "C" {
    pub fn lv_obj_add_protect(obj: *mut lv_obj_t, prot: u8);
}
extern "C" {
    pub fn lv_obj_clear_protect(obj: *mut lv_obj_t, prot: u8);
}
extern "C" {
    pub fn lv_obj_set_state(obj: *mut lv_obj_t, state: lv_state_t);
}
extern "C" {
    pub fn lv_obj_add_state(obj: *mut lv_obj_t, state: lv_state_t);
}
extern "C" {
    pub fn lv_obj_clear_state(obj: *mut lv_obj_t, state: lv_state_t);
}
extern "C" {
    pub fn lv_obj_finish_transitions(obj: *mut lv_obj_t, part: u8);
}
extern "C" {
    pub fn lv_obj_set_event_cb(obj: *mut lv_obj_t, event_cb: lv_event_cb_t);
}
extern "C" {
    pub fn lv_event_send(
        obj: *mut lv_obj_t,
        event: lv_event_t,
        data: *const cty::c_void,
    ) -> lv_res_t;
}
extern "C" {
    pub fn lv_event_send_func(
        event_xcb: lv_event_cb_t,
        obj: *mut lv_obj_t,
        event: lv_event_t,
        data: *const cty::c_void,
    ) -> lv_res_t;
}
extern "C" {
    pub fn lv_event_get_data() -> *const cty::c_void;
}
extern "C" {
    pub fn lv_obj_set_signal_cb(obj: *mut lv_obj_t, signal_cb: lv_signal_cb_t);
}
extern "C" {
    pub fn lv_signal_send(
        obj: *mut lv_obj_t,
        signal: lv_signal_t,
        param: *mut cty::c_void,
    ) -> lv_res_t;
}
extern "C" {
    pub fn lv_obj_set_design_cb(obj: *mut lv_obj_t, design_cb: lv_design_cb_t);
}
extern "C" {
    pub fn lv_obj_allocate_ext_attr(obj: *mut lv_obj_t, ext_size: u16) -> *mut cty::c_void;
}
extern "C" {
    pub fn lv_obj_refresh_ext_draw_pad(obj: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_obj_get_screen(obj: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_obj_get_disp(obj: *const lv_obj_t) -> *mut lv_disp_t;
}
extern "C" {
    pub fn lv_obj_get_parent(obj: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_obj_get_child(obj: *const lv_obj_t, child: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_obj_get_child_back(obj: *const lv_obj_t, child: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_obj_count_children(obj: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_obj_count_children_recursive(obj: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_obj_get_coords(obj: *const lv_obj_t, cords_p: *mut lv_area_t);
}
extern "C" {
    pub fn lv_obj_get_inner_coords(obj: *const lv_obj_t, coords_p: *mut lv_area_t);
}
extern "C" {
    pub fn lv_obj_get_x(obj: *const lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_obj_get_y(obj: *const lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_obj_get_width(obj: *const lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_obj_get_height(obj: *const lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_obj_get_width_fit(obj: *const lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_obj_get_height_fit(obj: *const lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_obj_get_height_margin(obj: *mut lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_obj_get_width_margin(obj: *mut lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_obj_get_width_grid(obj: *mut lv_obj_t, div: u8, span: u8) -> lv_coord_t;
}
extern "C" {
    pub fn lv_obj_get_height_grid(obj: *mut lv_obj_t, div: u8, span: u8) -> lv_coord_t;
}
extern "C" {
    pub fn lv_obj_get_auto_realign(obj: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_obj_get_ext_click_pad_left(obj: *const lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_obj_get_ext_click_pad_right(obj: *const lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_obj_get_ext_click_pad_top(obj: *const lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_obj_get_ext_click_pad_bottom(obj: *const lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_obj_get_ext_draw_pad(obj: *const lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_obj_get_style_list(obj: *const lv_obj_t, part: u8) -> *mut lv_style_list_t;
}
extern "C" {
    pub fn _lv_obj_get_style_int(
        obj: *const lv_obj_t,
        part: u8,
        prop: lv_style_property_t,
    ) -> lv_style_int_t;
}
extern "C" {
    pub fn _lv_obj_get_style_color(
        obj: *const lv_obj_t,
        part: u8,
        prop: lv_style_property_t,
    ) -> lv_color_t;
}
extern "C" {
    pub fn _lv_obj_get_style_opa(
        obj: *const lv_obj_t,
        part: u8,
        prop: lv_style_property_t,
    ) -> lv_opa_t;
}
extern "C" {
    pub fn _lv_obj_get_style_ptr(
        obj: *const lv_obj_t,
        part: u8,
        prop: lv_style_property_t,
    ) -> *const cty::c_void;
}
extern "C" {
    pub fn lv_obj_get_local_style(obj: *mut lv_obj_t, part: u8) -> *mut lv_style_t;
}
extern "C" {
    pub fn lv_obj_get_hidden(obj: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_obj_get_adv_hittest(obj: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_obj_get_click(obj: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_obj_get_top(obj: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_obj_get_drag(obj: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_obj_get_drag_dir(obj: *const lv_obj_t) -> lv_drag_dir_t;
}
extern "C" {
    pub fn lv_obj_get_drag_throw(obj: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_obj_get_drag_parent(obj: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_obj_get_parent_event(obj: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_obj_get_gesture_parent(obj: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_obj_get_base_dir(obj: *const lv_obj_t) -> lv_bidi_dir_t;
}
extern "C" {
    pub fn lv_obj_get_protect(obj: *const lv_obj_t) -> u8;
}
extern "C" {
    pub fn lv_obj_is_protected(obj: *const lv_obj_t, prot: u8) -> bool;
}
extern "C" {
    pub fn lv_obj_get_state(obj: *const lv_obj_t, part: u8) -> lv_state_t;
}
extern "C" {
    pub fn lv_obj_get_signal_cb(obj: *const lv_obj_t) -> lv_signal_cb_t;
}
extern "C" {
    pub fn lv_obj_get_design_cb(obj: *const lv_obj_t) -> lv_design_cb_t;
}
extern "C" {
    pub fn lv_obj_get_event_cb(obj: *const lv_obj_t) -> lv_event_cb_t;
}
extern "C" {
    pub fn lv_obj_is_point_on_coords(obj: *mut lv_obj_t, point: *const lv_point_t) -> bool;
}
extern "C" {
    pub fn lv_obj_hittest(obj: *mut lv_obj_t, point: *mut lv_point_t) -> bool;
}
extern "C" {
    pub fn lv_obj_get_ext_attr(obj: *const lv_obj_t) -> *mut cty::c_void;
}
extern "C" {
    pub fn lv_obj_get_type(obj: *const lv_obj_t, buf: *mut lv_obj_type_t);
}
extern "C" {
    pub fn lv_obj_get_user_data(obj: *const lv_obj_t) -> lv_obj_user_data_t;
}
extern "C" {
    pub fn lv_obj_get_user_data_ptr(obj: *const lv_obj_t) -> *mut lv_obj_user_data_t;
}
extern "C" {
    pub fn lv_obj_set_user_data(obj: *mut lv_obj_t, data: lv_obj_user_data_t);
}
extern "C" {
    pub fn lv_obj_get_group(obj: *const lv_obj_t) -> *mut cty::c_void;
}
extern "C" {
    pub fn lv_obj_is_focused(obj: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_obj_handle_get_type_signal(
        buf: *mut lv_obj_type_t,
        name: *const cty::c_char,
    ) -> lv_res_t;
}
extern "C" {
    pub fn lv_obj_init_draw_rect_dsc(
        obj: *mut lv_obj_t,
        type_: u8,
        draw_dsc: *mut lv_draw_rect_dsc_t,
    );
}
extern "C" {
    pub fn lv_obj_init_draw_label_dsc(
        obj: *mut lv_obj_t,
        type_: u8,
        draw_dsc: *mut lv_draw_label_dsc_t,
    );
}
extern "C" {
    pub fn lv_obj_init_draw_img_dsc(obj: *mut lv_obj_t, part: u8, draw_dsc: *mut lv_draw_img_dsc_t);
}
extern "C" {
    pub fn lv_obj_init_draw_line_dsc(
        obj: *mut lv_obj_t,
        part: u8,
        draw_dsc: *mut lv_draw_line_dsc_t,
    );
}
extern "C" {
    pub fn lv_obj_get_draw_rect_ext_pad_size(obj: *mut lv_obj_t, part: u8) -> lv_coord_t;
}
extern "C" {
    pub fn lv_obj_fade_in(obj: *mut lv_obj_t, time: u32, delay: u32);
}
extern "C" {
    pub fn lv_obj_fade_out(obj: *mut lv_obj_t, time: u32, delay: u32);
}
extern "C" {
    pub fn lv_debug_check_obj_type(obj: *const lv_obj_t, obj_type: *const cty::c_char) -> bool;
}
extern "C" {
    pub fn lv_debug_check_obj_valid(obj: *const lv_obj_t) -> bool;
}
pub const LV_KEY_UP: _bindgen_ty_34 = 17;
pub const LV_KEY_DOWN: _bindgen_ty_34 = 18;
pub const LV_KEY_RIGHT: _bindgen_ty_34 = 19;
pub const LV_KEY_LEFT: _bindgen_ty_34 = 20;
pub const LV_KEY_ESC: _bindgen_ty_34 = 27;
pub const LV_KEY_DEL: _bindgen_ty_34 = 127;
pub const LV_KEY_BACKSPACE: _bindgen_ty_34 = 8;
pub const LV_KEY_ENTER: _bindgen_ty_34 = 10;
pub const LV_KEY_NEXT: _bindgen_ty_34 = 9;
pub const LV_KEY_PREV: _bindgen_ty_34 = 11;
pub const LV_KEY_HOME: _bindgen_ty_34 = 2;
pub const LV_KEY_END: _bindgen_ty_34 = 3;
pub type _bindgen_ty_34 = u32;
pub type lv_key_t = u8;
pub type lv_group_style_mod_cb_t =
    ::core::option::Option<unsafe extern "C" fn(arg1: *mut _lv_group_t, arg2: *mut lv_style_t)>;
pub type lv_group_focus_cb_t = ::core::option::Option<unsafe extern "C" fn(arg1: *mut _lv_group_t)>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct _lv_group_t {
    pub obj_ll: lv_ll_t,
    pub obj_focus: *mut *mut lv_obj_t,
    pub focus_cb: lv_group_focus_cb_t,
    pub user_data: lv_group_user_data_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
impl _lv_group_t {
    #[inline]
    pub fn frozen(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_frozen(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn editing(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_editing(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn click_focus(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_click_focus(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn refocus_policy(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_refocus_policy(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(3usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn wrap(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_wrap(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(4usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        frozen: u8,
        editing: u8,
        click_focus: u8,
        refocus_policy: u8,
        wrap: u8,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let frozen: u8 = unsafe { ::core::mem::transmute(frozen) };
            frozen as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let editing: u8 = unsafe { ::core::mem::transmute(editing) };
            editing as u64
        });
        __bindgen_bitfield_unit.set(2usize, 1u8, {
            let click_focus: u8 = unsafe { ::core::mem::transmute(click_focus) };
            click_focus as u64
        });
        __bindgen_bitfield_unit.set(3usize, 1u8, {
            let refocus_policy: u8 = unsafe { ::core::mem::transmute(refocus_policy) };
            refocus_policy as u64
        });
        __bindgen_bitfield_unit.set(4usize, 1u8, {
            let wrap: u8 = unsafe { ::core::mem::transmute(wrap) };
            wrap as u64
        });
        __bindgen_bitfield_unit
    }
}
pub type lv_group_t = _lv_group_t;
pub const LV_GROUP_REFOCUS_POLICY_NEXT: _bindgen_ty_35 = 0;
pub const LV_GROUP_REFOCUS_POLICY_PREV: _bindgen_ty_35 = 1;
pub type _bindgen_ty_35 = u32;
pub type lv_group_refocus_policy_t = u8;
extern "C" {
    pub fn _lv_group_init();
}
extern "C" {
    pub fn lv_group_create() -> *mut lv_group_t;
}
extern "C" {
    pub fn lv_group_del(group: *mut lv_group_t);
}
extern "C" {
    pub fn lv_group_add_obj(group: *mut lv_group_t, obj: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_group_remove_obj(obj: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_group_remove_all_objs(group: *mut lv_group_t);
}
extern "C" {
    pub fn lv_group_focus_obj(obj: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_group_focus_next(group: *mut lv_group_t);
}
extern "C" {
    pub fn lv_group_focus_prev(group: *mut lv_group_t);
}
extern "C" {
    pub fn lv_group_focus_freeze(group: *mut lv_group_t, en: bool);
}
extern "C" {
    pub fn lv_group_send_data(group: *mut lv_group_t, c: u32) -> lv_res_t;
}
extern "C" {
    pub fn lv_group_set_focus_cb(group: *mut lv_group_t, focus_cb: lv_group_focus_cb_t);
}
extern "C" {
    pub fn lv_group_set_refocus_policy(group: *mut lv_group_t, policy: lv_group_refocus_policy_t);
}
extern "C" {
    pub fn lv_group_set_editing(group: *mut lv_group_t, edit: bool);
}
extern "C" {
    pub fn lv_group_set_click_focus(group: *mut lv_group_t, en: bool);
}
extern "C" {
    pub fn lv_group_set_wrap(group: *mut lv_group_t, en: bool);
}
extern "C" {
    pub fn lv_group_get_focused(group: *const lv_group_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_group_get_user_data(group: *mut lv_group_t) -> *mut lv_group_user_data_t;
}
extern "C" {
    pub fn lv_group_get_focus_cb(group: *const lv_group_t) -> lv_group_focus_cb_t;
}
extern "C" {
    pub fn lv_group_get_editing(group: *const lv_group_t) -> bool;
}
extern "C" {
    pub fn lv_group_get_click_focus(group: *const lv_group_t) -> bool;
}
extern "C" {
    pub fn lv_group_get_wrap(group: *mut lv_group_t) -> bool;
}
extern "C" {
    pub fn _lv_indev_init();
}
extern "C" {
    pub fn _lv_indev_read_task(task: *mut lv_task_t);
}
extern "C" {
    pub fn lv_indev_get_act() -> *mut lv_indev_t;
}
extern "C" {
    pub fn lv_indev_get_type(indev: *const lv_indev_t) -> lv_indev_type_t;
}
extern "C" {
    pub fn lv_indev_reset(indev: *mut lv_indev_t, obj: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_indev_reset_long_press(indev: *mut lv_indev_t);
}
extern "C" {
    pub fn lv_indev_enable(indev: *mut lv_indev_t, en: bool);
}
extern "C" {
    pub fn lv_indev_set_cursor(indev: *mut lv_indev_t, cur_obj: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_indev_set_group(indev: *mut lv_indev_t, group: *mut lv_group_t);
}
extern "C" {
    pub fn lv_indev_set_button_points(indev: *mut lv_indev_t, points: *const lv_point_t);
}
extern "C" {
    pub fn lv_indev_get_point(indev: *const lv_indev_t, point: *mut lv_point_t);
}
extern "C" {
    pub fn lv_indev_get_gesture_dir(indev: *const lv_indev_t) -> lv_gesture_dir_t;
}
extern "C" {
    pub fn lv_indev_get_key(indev: *const lv_indev_t) -> u32;
}
extern "C" {
    pub fn lv_indev_is_dragging(indev: *const lv_indev_t) -> bool;
}
extern "C" {
    pub fn lv_indev_get_vect(indev: *const lv_indev_t, point: *mut lv_point_t);
}
extern "C" {
    pub fn lv_indev_finish_drag(indev: *mut lv_indev_t) -> lv_res_t;
}
extern "C" {
    pub fn lv_indev_wait_release(indev: *mut lv_indev_t);
}
extern "C" {
    pub fn lv_indev_get_obj_act() -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_indev_search_obj(obj: *mut lv_obj_t, point: *mut lv_point_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_indev_get_read_task(indev: *mut lv_disp_t) -> *mut lv_task_t;
}
extern "C" {
    pub fn _lv_refr_init();
}
extern "C" {
    pub fn lv_refr_now(disp: *mut lv_disp_t);
}
extern "C" {
    pub fn _lv_inv_area(disp: *mut lv_disp_t, area_p: *const lv_area_t);
}
extern "C" {
    pub fn _lv_refr_get_disp_refreshing() -> *mut lv_disp_t;
}
extern "C" {
    pub fn _lv_refr_set_disp_refreshing(disp: *mut lv_disp_t);
}
extern "C" {
    pub fn _lv_disp_refr_task(task: *mut lv_task_t);
}
extern "C" {
    pub fn lv_disp_get_scr_act(disp: *mut lv_disp_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_disp_load_scr(scr: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_disp_get_layer_top(disp: *mut lv_disp_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_disp_get_layer_sys(disp: *mut lv_disp_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_disp_assign_screen(disp: *mut lv_disp_t, scr: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_disp_get_inactive_time(disp: *const lv_disp_t) -> u32;
}
extern "C" {
    pub fn lv_disp_trig_activity(disp: *mut lv_disp_t);
}
extern "C" {
    pub fn _lv_disp_get_refr_task(disp: *mut lv_disp_t) -> *mut lv_task_t;
}
pub const lv_theme_style_t_LV_THEME_NONE: lv_theme_style_t = 0;
pub const lv_theme_style_t_LV_THEME_SCR: lv_theme_style_t = 1;
pub const lv_theme_style_t_LV_THEME_OBJ: lv_theme_style_t = 2;
pub const lv_theme_style_t_LV_THEME_ARC: lv_theme_style_t = 3;
pub const lv_theme_style_t_LV_THEME_BAR: lv_theme_style_t = 4;
pub const lv_theme_style_t_LV_THEME_BTN: lv_theme_style_t = 5;
pub const lv_theme_style_t_LV_THEME_BTNMATRIX: lv_theme_style_t = 6;
pub const lv_theme_style_t_LV_THEME_CALENDAR: lv_theme_style_t = 7;
pub const lv_theme_style_t_LV_THEME_CANVAS: lv_theme_style_t = 8;
pub const lv_theme_style_t_LV_THEME_CHECKBOX: lv_theme_style_t = 9;
pub const lv_theme_style_t_LV_THEME_CHART: lv_theme_style_t = 10;
pub const lv_theme_style_t_LV_THEME_CONT: lv_theme_style_t = 11;
pub const lv_theme_style_t_LV_THEME_CPICKER: lv_theme_style_t = 12;
pub const lv_theme_style_t_LV_THEME_DROPDOWN: lv_theme_style_t = 13;
pub const lv_theme_style_t_LV_THEME_GAUGE: lv_theme_style_t = 14;
pub const lv_theme_style_t_LV_THEME_IMAGE: lv_theme_style_t = 15;
pub const lv_theme_style_t_LV_THEME_IMGBTN: lv_theme_style_t = 16;
pub const lv_theme_style_t_LV_THEME_KEYBOARD: lv_theme_style_t = 17;
pub const lv_theme_style_t_LV_THEME_LABEL: lv_theme_style_t = 18;
pub const lv_theme_style_t_LV_THEME_LED: lv_theme_style_t = 19;
pub const lv_theme_style_t_LV_THEME_LINE: lv_theme_style_t = 20;
pub const lv_theme_style_t_LV_THEME_LIST: lv_theme_style_t = 21;
pub const lv_theme_style_t_LV_THEME_LIST_BTN: lv_theme_style_t = 22;
pub const lv_theme_style_t_LV_THEME_LINEMETER: lv_theme_style_t = 23;
pub const lv_theme_style_t_LV_THEME_MSGBOX: lv_theme_style_t = 24;
pub const lv_theme_style_t_LV_THEME_MSGBOX_BTNS: lv_theme_style_t = 25;
pub const lv_theme_style_t_LV_THEME_OBJMASK: lv_theme_style_t = 26;
pub const lv_theme_style_t_LV_THEME_PAGE: lv_theme_style_t = 27;
pub const lv_theme_style_t_LV_THEME_ROLLER: lv_theme_style_t = 28;
pub const lv_theme_style_t_LV_THEME_SLIDER: lv_theme_style_t = 29;
pub const lv_theme_style_t_LV_THEME_SPINBOX: lv_theme_style_t = 30;
pub const lv_theme_style_t_LV_THEME_SPINBOX_BTN: lv_theme_style_t = 31;
pub const lv_theme_style_t_LV_THEME_SPINNER: lv_theme_style_t = 32;
pub const lv_theme_style_t_LV_THEME_SWITCH: lv_theme_style_t = 33;
pub const lv_theme_style_t_LV_THEME_TABLE: lv_theme_style_t = 34;
pub const lv_theme_style_t_LV_THEME_TABVIEW: lv_theme_style_t = 35;
pub const lv_theme_style_t_LV_THEME_TABVIEW_PAGE: lv_theme_style_t = 36;
pub const lv_theme_style_t_LV_THEME_TEXTAREA: lv_theme_style_t = 37;
pub const lv_theme_style_t_LV_THEME_TILEVIEW: lv_theme_style_t = 38;
pub const lv_theme_style_t_LV_THEME_WIN: lv_theme_style_t = 39;
pub const lv_theme_style_t_LV_THEME_WIN_BTN: lv_theme_style_t = 40;
pub const lv_theme_style_t__LV_THEME_BUILTIN_LAST: lv_theme_style_t = 41;
pub const lv_theme_style_t__LV_THEME_CUSTOM_START: lv_theme_style_t = 41;
pub const lv_theme_style_t__LV_THEME_CUSTOM_LAST: lv_theme_style_t = 65535;
pub type lv_theme_style_t = u32;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct lv_theme_t {
    pub apply_xcb:
        ::core::option::Option<unsafe extern "C" fn(arg1: *mut lv_obj_t, arg2: lv_theme_style_t)>,
    pub color_primary: lv_color_t,
    pub color_secondary: lv_color_t,
    pub font_small: *const lv_font_t,
    pub font_normal: *const lv_font_t,
    pub font_subtitle: *const lv_font_t,
    pub font_title: *const lv_font_t,
    pub flags: u32,
}
extern "C" {
    pub fn lv_theme_set_act(th: *mut lv_theme_t);
}
extern "C" {
    pub fn lv_theme_get_act() -> *mut lv_theme_t;
}
extern "C" {
    pub fn lv_theme_apply(obj: *mut lv_obj_t, name: lv_theme_style_t);
}
extern "C" {
    pub fn lv_theme_get_font_small() -> *const lv_font_t;
}
extern "C" {
    pub fn lv_theme_get_font_normal() -> *const lv_font_t;
}
extern "C" {
    pub fn lv_theme_get_font_subtitle() -> *const lv_font_t;
}
extern "C" {
    pub fn lv_theme_get_font_title() -> *const lv_font_t;
}
extern "C" {
    pub fn lv_theme_get_color_primary() -> lv_color_t;
}
extern "C" {
    pub fn lv_theme_get_color_secondary() -> lv_color_t;
}
extern "C" {
    pub fn lv_theme_get_flags() -> u32;
}
extern "C" {
    pub fn lv_theme_empty_init(
        color_primary: lv_color_t,
        color_secondary: lv_color_t,
        flags: u32,
        font_small: *const lv_font_t,
        font_normal: *const lv_font_t,
        font_subtitle: *const lv_font_t,
        font_title: *const lv_font_t,
    ) -> *mut lv_theme_t;
}
extern "C" {
    pub fn lv_theme_template_init(
        color_primary: lv_color_t,
        color_secondary: lv_color_t,
        flags: u32,
        font_small: *const lv_font_t,
        font_normal: *const lv_font_t,
        font_subtitle: *const lv_font_t,
        font_title: *const lv_font_t,
    ) -> *mut lv_theme_t;
}
pub const lv_theme_material_flag_t_LV_THEME_MATERIAL_FLAG_DARK: lv_theme_material_flag_t = 1;
pub const lv_theme_material_flag_t_LV_THEME_MATERIAL_FLAG_LIGHT: lv_theme_material_flag_t = 2;
pub const lv_theme_material_flag_t_LV_THEME_MATERIAL_FLAG_NO_TRANSITION: lv_theme_material_flag_t =
    16;
pub type lv_theme_material_flag_t = u32;
extern "C" {
    pub fn lv_theme_material_init(
        color_primary: lv_color_t,
        color_secondary: lv_color_t,
        flags: u32,
        font_small: *const lv_font_t,
        font_normal: *const lv_font_t,
        font_subtitle: *const lv_font_t,
        font_title: *const lv_font_t,
    ) -> *mut lv_theme_t;
}
extern "C" {
    pub fn lv_theme_mono_init(
        color_primary: lv_color_t,
        color_secondary: lv_color_t,
        flags: u32,
        font_small: *const lv_font_t,
        font_normal: *const lv_font_t,
        font_subtitle: *const lv_font_t,
        font_title: *const lv_font_t,
    ) -> *mut lv_theme_t;
}
#[repr(C)]
#[repr(align(4))]
#[derive(Debug, Copy, Clone)]
pub struct lv_font_fmt_txt_glyph_dsc_t {
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize], u32>,
    pub box_w: u8,
    pub box_h: u8,
    pub ofs_x: i8,
    pub ofs_y: i8,
}
impl lv_font_fmt_txt_glyph_dsc_t {
    #[inline]
    pub fn bitmap_index(&self) -> u32 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 20u8) as u32) }
    }
    #[inline]
    pub fn set_bitmap_index(&mut self, val: u32) {
        unsafe {
            let val: u32 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 20u8, val as u64)
        }
    }
    #[inline]
    pub fn adv_w(&self) -> u32 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(20usize, 12u8) as u32) }
    }
    #[inline]
    pub fn set_adv_w(&mut self, val: u32) {
        unsafe {
            let val: u32 = ::core::mem::transmute(val);
            self._bitfield_1.set(20usize, 12u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        bitmap_index: u32,
        adv_w: u32,
    ) -> __BindgenBitfieldUnit<[u8; 4usize], u32> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize], u32> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 20u8, {
            let bitmap_index: u32 = unsafe { ::core::mem::transmute(bitmap_index) };
            bitmap_index as u64
        });
        __bindgen_bitfield_unit.set(20usize, 12u8, {
            let adv_w: u32 = unsafe { ::core::mem::transmute(adv_w) };
            adv_w as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_FONT_FMT_TXT_CMAP_FORMAT0_TINY: _bindgen_ty_36 = 0;
pub const LV_FONT_FMT_TXT_CMAP_FORMAT0_FULL: _bindgen_ty_36 = 1;
pub const LV_FONT_FMT_TXT_CMAP_SPARSE_TINY: _bindgen_ty_36 = 2;
pub const LV_FONT_FMT_TXT_CMAP_SPARSE_FULL: _bindgen_ty_36 = 3;
pub type _bindgen_ty_36 = u32;
pub type lv_font_fmt_txt_cmap_type_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_font_fmt_txt_cmap_t {
    pub range_start: u32,
    pub range_length: u16,
    pub glyph_id_start: u16,
    pub unicode_list: *const u16,
    pub glyph_id_ofs_list: *const cty::c_void,
    pub list_length: u16,
    pub type_: lv_font_fmt_txt_cmap_type_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_font_fmt_txt_kern_pair_t {
    pub glyph_ids: *const cty::c_void,
    pub values: *const i8,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize], u32>,
}
impl lv_font_fmt_txt_kern_pair_t {
    #[inline]
    pub fn pair_cnt(&self) -> u32 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 24u8) as u32) }
    }
    #[inline]
    pub fn set_pair_cnt(&mut self, val: u32) {
        unsafe {
            let val: u32 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 24u8, val as u64)
        }
    }
    #[inline]
    pub fn glyph_ids_size(&self) -> u32 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(24usize, 2u8) as u32) }
    }
    #[inline]
    pub fn set_glyph_ids_size(&mut self, val: u32) {
        unsafe {
            let val: u32 = ::core::mem::transmute(val);
            self._bitfield_1.set(24usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        pair_cnt: u32,
        glyph_ids_size: u32,
    ) -> __BindgenBitfieldUnit<[u8; 4usize], u32> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize], u32> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 24u8, {
            let pair_cnt: u32 = unsafe { ::core::mem::transmute(pair_cnt) };
            pair_cnt as u64
        });
        __bindgen_bitfield_unit.set(24usize, 2u8, {
            let glyph_ids_size: u32 = unsafe { ::core::mem::transmute(glyph_ids_size) };
            glyph_ids_size as u64
        });
        __bindgen_bitfield_unit
    }
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_font_fmt_txt_kern_classes_t {
    pub class_pair_values: *const i8,
    pub left_class_mapping: *const u8,
    pub right_class_mapping: *const u8,
    pub left_class_cnt: u8,
    pub right_class_cnt: u8,
}
pub const lv_font_fmt_txt_bitmap_format_t_LV_FONT_FMT_TXT_PLAIN: lv_font_fmt_txt_bitmap_format_t =
    0;
pub const lv_font_fmt_txt_bitmap_format_t_LV_FONT_FMT_TXT_COMPRESSED:
    lv_font_fmt_txt_bitmap_format_t = 1;
pub type lv_font_fmt_txt_bitmap_format_t = u32;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_font_fmt_txt_dsc_t {
    pub glyph_bitmap: *const u8,
    pub glyph_dsc: *const lv_font_fmt_txt_glyph_dsc_t,
    pub cmaps: *const lv_font_fmt_txt_cmap_t,
    pub kern_dsc: *const cty::c_void,
    pub kern_scale: u16,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 4usize], u16>,
    pub last_letter: u32,
    pub last_glyph_id: u32,
}
impl lv_font_fmt_txt_dsc_t {
    #[inline]
    pub fn cmap_num(&self) -> u16 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 10u8) as u16) }
    }
    #[inline]
    pub fn set_cmap_num(&mut self, val: u16) {
        unsafe {
            let val: u16 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 10u8, val as u64)
        }
    }
    #[inline]
    pub fn bpp(&self) -> u16 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(10usize, 4u8) as u16) }
    }
    #[inline]
    pub fn set_bpp(&mut self, val: u16) {
        unsafe {
            let val: u16 = ::core::mem::transmute(val);
            self._bitfield_1.set(10usize, 4u8, val as u64)
        }
    }
    #[inline]
    pub fn kern_classes(&self) -> u16 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(14usize, 1u8) as u16) }
    }
    #[inline]
    pub fn set_kern_classes(&mut self, val: u16) {
        unsafe {
            let val: u16 = ::core::mem::transmute(val);
            self._bitfield_1.set(14usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn bitmap_format(&self) -> u16 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(16usize, 2u8) as u16) }
    }
    #[inline]
    pub fn set_bitmap_format(&mut self, val: u16) {
        unsafe {
            let val: u16 = ::core::mem::transmute(val);
            self._bitfield_1.set(16usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        cmap_num: u16,
        bpp: u16,
        kern_classes: u16,
        bitmap_format: u16,
    ) -> __BindgenBitfieldUnit<[u8; 4usize], u16> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 4usize], u16> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 10u8, {
            let cmap_num: u16 = unsafe { ::core::mem::transmute(cmap_num) };
            cmap_num as u64
        });
        __bindgen_bitfield_unit.set(10usize, 4u8, {
            let bpp: u16 = unsafe { ::core::mem::transmute(bpp) };
            bpp as u64
        });
        __bindgen_bitfield_unit.set(14usize, 1u8, {
            let kern_classes: u16 = unsafe { ::core::mem::transmute(kern_classes) };
            kern_classes as u64
        });
        __bindgen_bitfield_unit.set(16usize, 2u8, {
            let bitmap_format: u16 = unsafe { ::core::mem::transmute(bitmap_format) };
            bitmap_format as u64
        });
        __bindgen_bitfield_unit
    }
}
extern "C" {
    pub fn lv_font_get_bitmap_fmt_txt(font: *const lv_font_t, letter: u32) -> *const u8;
}
extern "C" {
    pub fn lv_font_get_glyph_dsc_fmt_txt(
        font: *const lv_font_t,
        dsc_out: *mut lv_font_glyph_dsc_t,
        unicode_letter: u32,
        unicode_letter_next: u32,
    ) -> bool;
}
extern "C" {
    pub fn _lv_font_clean_up_fmt_txt();
}
pub type va_list = __builtin_va_list;
pub type __gnuc_va_list = __builtin_va_list;
extern "C" {
    pub fn lv_snprintf(
        buffer: *mut cty::c_char,
        count: size_t,
        format: *const cty::c_char,
        ...
    ) -> cty::c_int;
}
extern "C" {
    pub fn lv_vsnprintf(
        buffer: *mut cty::c_char,
        count: size_t,
        format: *const cty::c_char,
        va: va_list,
    ) -> cty::c_int;
}
pub const LV_LAYOUT_OFF: _bindgen_ty_37 = 0;
pub const LV_LAYOUT_CENTER: _bindgen_ty_37 = 1;
pub const LV_LAYOUT_COLUMN_LEFT: _bindgen_ty_37 = 2;
pub const LV_LAYOUT_COLUMN_MID: _bindgen_ty_37 = 3;
pub const LV_LAYOUT_COLUMN_RIGHT: _bindgen_ty_37 = 4;
pub const LV_LAYOUT_ROW_TOP: _bindgen_ty_37 = 5;
pub const LV_LAYOUT_ROW_MID: _bindgen_ty_37 = 6;
pub const LV_LAYOUT_ROW_BOTTOM: _bindgen_ty_37 = 7;
pub const LV_LAYOUT_PRETTY_TOP: _bindgen_ty_37 = 8;
pub const LV_LAYOUT_PRETTY_MID: _bindgen_ty_37 = 9;
pub const LV_LAYOUT_PRETTY_BOTTOM: _bindgen_ty_37 = 10;
pub const LV_LAYOUT_GRID: _bindgen_ty_37 = 11;
pub const _LV_LAYOUT_LAST: _bindgen_ty_37 = 12;
pub type _bindgen_ty_37 = u32;
pub type lv_layout_t = u8;
pub const LV_FIT_NONE: _bindgen_ty_38 = 0;
pub const LV_FIT_TIGHT: _bindgen_ty_38 = 1;
pub const LV_FIT_PARENT: _bindgen_ty_38 = 2;
pub const LV_FIT_MAX: _bindgen_ty_38 = 3;
pub const _LV_FIT_LAST: _bindgen_ty_38 = 4;
pub type _bindgen_ty_38 = u32;
pub type lv_fit_t = u8;
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct lv_cont_ext_t {
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize], u8>,
}
impl lv_cont_ext_t {
    #[inline]
    pub fn layout(&self) -> lv_layout_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
    }
    #[inline]
    pub fn set_layout(&mut self, val: lv_layout_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 4u8, val as u64)
        }
    }
    #[inline]
    pub fn fit_left(&self) -> lv_fit_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_fit_left(&mut self, val: lv_fit_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(4usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn fit_right(&self) -> lv_fit_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(6usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_fit_right(&mut self, val: lv_fit_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(6usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn fit_top(&self) -> lv_fit_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(8usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_fit_top(&mut self, val: lv_fit_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(8usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn fit_bottom(&self) -> lv_fit_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(10usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_fit_bottom(&mut self, val: lv_fit_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(10usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        layout: lv_layout_t,
        fit_left: lv_fit_t,
        fit_right: lv_fit_t,
        fit_top: lv_fit_t,
        fit_bottom: lv_fit_t,
    ) -> __BindgenBitfieldUnit<[u8; 2usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 4u8, {
            let layout: u8 = unsafe { ::core::mem::transmute(layout) };
            layout as u64
        });
        __bindgen_bitfield_unit.set(4usize, 2u8, {
            let fit_left: u8 = unsafe { ::core::mem::transmute(fit_left) };
            fit_left as u64
        });
        __bindgen_bitfield_unit.set(6usize, 2u8, {
            let fit_right: u8 = unsafe { ::core::mem::transmute(fit_right) };
            fit_right as u64
        });
        __bindgen_bitfield_unit.set(8usize, 2u8, {
            let fit_top: u8 = unsafe { ::core::mem::transmute(fit_top) };
            fit_top as u64
        });
        __bindgen_bitfield_unit.set(10usize, 2u8, {
            let fit_bottom: u8 = unsafe { ::core::mem::transmute(fit_bottom) };
            fit_bottom as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_CONT_PART_MAIN: _bindgen_ty_39 = 0;
pub const _LV_CONT_PART_VIRTUAL_LAST: _bindgen_ty_39 = 1;
pub const _LV_CONT_PART_REAL_LAST: _bindgen_ty_39 = 64;
pub type _bindgen_ty_39 = u32;
extern "C" {
    pub fn lv_cont_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_cont_set_layout(cont: *mut lv_obj_t, layout: lv_layout_t);
}
extern "C" {
    pub fn lv_cont_set_fit4(
        cont: *mut lv_obj_t,
        left: lv_fit_t,
        right: lv_fit_t,
        top: lv_fit_t,
        bottom: lv_fit_t,
    );
}
extern "C" {
    pub fn lv_cont_get_layout(cont: *const lv_obj_t) -> lv_layout_t;
}
extern "C" {
    pub fn lv_cont_get_fit_left(cont: *const lv_obj_t) -> lv_fit_t;
}
extern "C" {
    pub fn lv_cont_get_fit_right(cont: *const lv_obj_t) -> lv_fit_t;
}
extern "C" {
    pub fn lv_cont_get_fit_top(cont: *const lv_obj_t) -> lv_fit_t;
}
extern "C" {
    pub fn lv_cont_get_fit_bottom(cont: *const lv_obj_t) -> lv_fit_t;
}
pub const LV_BTN_STATE_RELEASED: _bindgen_ty_40 = 0;
pub const LV_BTN_STATE_PRESSED: _bindgen_ty_40 = 1;
pub const LV_BTN_STATE_DISABLED: _bindgen_ty_40 = 2;
pub const LV_BTN_STATE_CHECKED_RELEASED: _bindgen_ty_40 = 3;
pub const LV_BTN_STATE_CHECKED_PRESSED: _bindgen_ty_40 = 4;
pub const LV_BTN_STATE_CHECKED_DISABLED: _bindgen_ty_40 = 5;
pub const _LV_BTN_STATE_LAST: _bindgen_ty_40 = 6;
pub type _bindgen_ty_40 = u32;
pub type lv_btn_state_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_btn_ext_t {
    pub cont: lv_cont_ext_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
}
impl lv_btn_ext_t {
    #[inline]
    pub fn checkable(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_checkable(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(checkable: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let checkable: u8 = unsafe { ::core::mem::transmute(checkable) };
            checkable as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_BTN_PART_MAIN: _bindgen_ty_41 = 0;
pub const _LV_BTN_PART_VIRTUAL_LAST: _bindgen_ty_41 = 1;
pub const _LV_BTN_PART_REAL_LAST: _bindgen_ty_41 = 64;
pub type _bindgen_ty_41 = u32;
pub type lv_btn_part_t = u8;
extern "C" {
    pub fn lv_btn_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_btn_set_checkable(btn: *mut lv_obj_t, tgl: bool);
}
extern "C" {
    pub fn lv_btn_set_state(btn: *mut lv_obj_t, state: lv_btn_state_t);
}
extern "C" {
    pub fn lv_btn_toggle(btn: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_btn_get_state(btn: *const lv_obj_t) -> lv_btn_state_t;
}
extern "C" {
    pub fn lv_btn_get_checkable(btn: *const lv_obj_t) -> bool;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_imgbtn_ext_t {
    pub btn: lv_btn_ext_t,
    pub img_src_mid: [*const cty::c_void; 6usize],
    pub act_cf: lv_img_cf_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: u16,
}
impl lv_imgbtn_ext_t {
    #[inline]
    pub fn tiled(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_tiled(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(tiled: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let tiled: u8 = unsafe { ::core::mem::transmute(tiled) };
            tiled as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_IMGBTN_PART_MAIN: _bindgen_ty_42 = 0;
pub type _bindgen_ty_42 = u32;
pub type lv_imgbtn_part_t = u8;
extern "C" {
    pub fn lv_imgbtn_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_imgbtn_set_src(imgbtn: *mut lv_obj_t, state: lv_btn_state_t, src: *const cty::c_void);
}
extern "C" {
    pub fn lv_imgbtn_get_src(imgbtn: *mut lv_obj_t, state: lv_btn_state_t) -> *const cty::c_void;
}
extern "C" {
    pub fn lv_draw_triangle(
        points: *const lv_point_t,
        clip: *const lv_area_t,
        draw_dsc: *mut lv_draw_rect_dsc_t,
    );
}
extern "C" {
    pub fn lv_draw_polygon(
        points: *const lv_point_t,
        point_cnt: u16,
        mask: *const lv_area_t,
        draw_dsc: *mut lv_draw_rect_dsc_t,
    );
}
extern "C" {
    pub fn lv_draw_arc(
        center_x: lv_coord_t,
        center_y: lv_coord_t,
        radius: u16,
        start_angle: u16,
        end_angle: u16,
        clip_area: *const lv_area_t,
        dsc: *mut lv_draw_line_dsc_t,
    );
}
pub const LV_LABEL_LONG_EXPAND: _bindgen_ty_43 = 0;
pub const LV_LABEL_LONG_BREAK: _bindgen_ty_43 = 1;
pub const LV_LABEL_LONG_DOT: _bindgen_ty_43 = 2;
pub const LV_LABEL_LONG_SROLL: _bindgen_ty_43 = 3;
pub const LV_LABEL_LONG_SROLL_CIRC: _bindgen_ty_43 = 4;
pub const LV_LABEL_LONG_CROP: _bindgen_ty_43 = 5;
pub type _bindgen_ty_43 = u32;
pub type lv_label_long_mode_t = u8;
pub const LV_LABEL_ALIGN_LEFT: _bindgen_ty_44 = 0;
pub const LV_LABEL_ALIGN_CENTER: _bindgen_ty_44 = 1;
pub const LV_LABEL_ALIGN_RIGHT: _bindgen_ty_44 = 2;
pub const LV_LABEL_ALIGN_AUTO: _bindgen_ty_44 = 3;
pub type _bindgen_ty_44 = u32;
pub type lv_label_align_t = u8;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct lv_label_ext_t {
    pub text: *mut cty::c_char,
    pub dot: lv_label_ext_t__bindgen_ty_1,
    pub dot_end: u32,
    pub anim_speed: u16,
    pub offset: lv_point_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize], u8>,
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union lv_label_ext_t__bindgen_ty_1 {
    pub tmp_ptr: *mut cty::c_char,
    pub tmp: [cty::c_char; 4usize],
    _bindgen_union_align: u32,
}
impl lv_label_ext_t {
    #[inline]
    pub fn long_mode(&self) -> lv_label_long_mode_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 3u8) as u8) }
    }
    #[inline]
    pub fn set_long_mode(&mut self, val: lv_label_long_mode_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 3u8, val as u64)
        }
    }
    #[inline]
    pub fn static_txt(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_static_txt(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(3usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn align(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_align(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(4usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn recolor(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(6usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_recolor(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(6usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn expand(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(7usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_expand(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(7usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn dot_tmp_alloc(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_dot_tmp_alloc(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(8usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        long_mode: lv_label_long_mode_t,
        static_txt: u8,
        align: u8,
        recolor: u8,
        expand: u8,
        dot_tmp_alloc: u8,
    ) -> __BindgenBitfieldUnit<[u8; 2usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 3u8, {
            let long_mode: u8 = unsafe { ::core::mem::transmute(long_mode) };
            long_mode as u64
        });
        __bindgen_bitfield_unit.set(3usize, 1u8, {
            let static_txt: u8 = unsafe { ::core::mem::transmute(static_txt) };
            static_txt as u64
        });
        __bindgen_bitfield_unit.set(4usize, 2u8, {
            let align: u8 = unsafe { ::core::mem::transmute(align) };
            align as u64
        });
        __bindgen_bitfield_unit.set(6usize, 1u8, {
            let recolor: u8 = unsafe { ::core::mem::transmute(recolor) };
            recolor as u64
        });
        __bindgen_bitfield_unit.set(7usize, 1u8, {
            let expand: u8 = unsafe { ::core::mem::transmute(expand) };
            expand as u64
        });
        __bindgen_bitfield_unit.set(8usize, 1u8, {
            let dot_tmp_alloc: u8 = unsafe { ::core::mem::transmute(dot_tmp_alloc) };
            dot_tmp_alloc as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_LABEL_PART_MAIN: _bindgen_ty_45 = 0;
pub type _bindgen_ty_45 = u32;
pub type lv_label_part_t = u8;
extern "C" {
    pub fn lv_label_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_label_set_text(label: *mut lv_obj_t, text: *const cty::c_char);
}
extern "C" {
    pub fn lv_label_set_text_fmt(label: *mut lv_obj_t, fmt: *const cty::c_char, ...);
}
extern "C" {
    pub fn lv_label_set_text_static(label: *mut lv_obj_t, text: *const cty::c_char);
}
extern "C" {
    pub fn lv_label_set_long_mode(label: *mut lv_obj_t, long_mode: lv_label_long_mode_t);
}
extern "C" {
    pub fn lv_label_set_align(label: *mut lv_obj_t, align: lv_label_align_t);
}
extern "C" {
    pub fn lv_label_set_recolor(label: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_label_set_anim_speed(label: *mut lv_obj_t, anim_speed: u16);
}
extern "C" {
    pub fn lv_label_set_text_sel_start(label: *mut lv_obj_t, index: u32);
}
extern "C" {
    pub fn lv_label_set_text_sel_end(label: *mut lv_obj_t, index: u32);
}
extern "C" {
    pub fn lv_label_get_text(label: *const lv_obj_t) -> *mut cty::c_char;
}
extern "C" {
    pub fn lv_label_get_long_mode(label: *const lv_obj_t) -> lv_label_long_mode_t;
}
extern "C" {
    pub fn lv_label_get_align(label: *const lv_obj_t) -> lv_label_align_t;
}
extern "C" {
    pub fn lv_label_get_recolor(label: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_label_get_anim_speed(label: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_label_get_letter_pos(label: *const lv_obj_t, index: u32, pos: *mut lv_point_t);
}
extern "C" {
    pub fn lv_label_get_letter_on(label: *const lv_obj_t, pos: *mut lv_point_t) -> u32;
}
extern "C" {
    pub fn lv_label_is_char_under_pos(label: *const lv_obj_t, pos: *mut lv_point_t) -> bool;
}
extern "C" {
    pub fn lv_label_get_text_sel_start(label: *const lv_obj_t) -> u32;
}
extern "C" {
    pub fn lv_label_get_text_sel_end(label: *const lv_obj_t) -> u32;
}
extern "C" {
    pub fn lv_label_get_style(label: *mut lv_obj_t, type_: u8) -> *mut lv_style_list_t;
}
extern "C" {
    pub fn lv_label_ins_text(label: *mut lv_obj_t, pos: u32, txt: *const cty::c_char);
}
extern "C" {
    pub fn lv_label_cut_text(label: *mut lv_obj_t, pos: u32, cnt: u32);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_img_ext_t {
    pub src: *const cty::c_void,
    pub offset: lv_point_t,
    pub w: lv_coord_t,
    pub h: lv_coord_t,
    pub angle: u16,
    pub pivot: lv_point_t,
    pub zoom: u16,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize], u8>,
    pub __bindgen_padding_0: u16,
}
impl lv_img_ext_t {
    #[inline]
    pub fn src_type(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_src_type(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn auto_size(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_auto_size(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn cf(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 5u8) as u8) }
    }
    #[inline]
    pub fn set_cf(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(3usize, 5u8, val as u64)
        }
    }
    #[inline]
    pub fn antialias(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(8usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_antialias(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(8usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        src_type: u8,
        auto_size: u8,
        cf: u8,
        antialias: u8,
    ) -> __BindgenBitfieldUnit<[u8; 2usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 2u8, {
            let src_type: u8 = unsafe { ::core::mem::transmute(src_type) };
            src_type as u64
        });
        __bindgen_bitfield_unit.set(2usize, 1u8, {
            let auto_size: u8 = unsafe { ::core::mem::transmute(auto_size) };
            auto_size as u64
        });
        __bindgen_bitfield_unit.set(3usize, 5u8, {
            let cf: u8 = unsafe { ::core::mem::transmute(cf) };
            cf as u64
        });
        __bindgen_bitfield_unit.set(8usize, 1u8, {
            let antialias: u8 = unsafe { ::core::mem::transmute(antialias) };
            antialias as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_IMG_PART_MAIN: _bindgen_ty_46 = 0;
pub type _bindgen_ty_46 = u32;
pub type lv_img_part_t = u8;
extern "C" {
    pub fn lv_img_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_img_set_src(img: *mut lv_obj_t, src_img: *const cty::c_void);
}
extern "C" {
    pub fn lv_img_set_auto_size(img: *mut lv_obj_t, autosize_en: bool);
}
extern "C" {
    pub fn lv_img_set_offset_x(img: *mut lv_obj_t, x: lv_coord_t);
}
extern "C" {
    pub fn lv_img_set_offset_y(img: *mut lv_obj_t, y: lv_coord_t);
}
extern "C" {
    pub fn lv_img_set_pivot(img: *mut lv_obj_t, pivot_x: lv_coord_t, pivot_y: lv_coord_t);
}
extern "C" {
    pub fn lv_img_set_angle(img: *mut lv_obj_t, angle: i16);
}
extern "C" {
    pub fn lv_img_set_zoom(img: *mut lv_obj_t, zoom: u16);
}
extern "C" {
    pub fn lv_img_set_antialias(img: *mut lv_obj_t, antialias: bool);
}
extern "C" {
    pub fn lv_img_get_src(img: *mut lv_obj_t) -> *const cty::c_void;
}
extern "C" {
    pub fn lv_img_get_file_name(img: *const lv_obj_t) -> *const cty::c_char;
}
extern "C" {
    pub fn lv_img_get_auto_size(img: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_img_get_offset_x(img: *mut lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_img_get_offset_y(img: *mut lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_img_get_angle(img: *mut lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_img_get_pivot(img: *mut lv_obj_t, center: *mut lv_point_t);
}
extern "C" {
    pub fn lv_img_get_zoom(img: *mut lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_img_get_antialias(img: *mut lv_obj_t) -> bool;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_line_ext_t {
    pub point_array: *const lv_point_t,
    pub point_num: u16,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: u8,
}
impl lv_line_ext_t {
    #[inline]
    pub fn auto_size(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_auto_size(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn y_inv(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_y_inv(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(auto_size: u8, y_inv: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let auto_size: u8 = unsafe { ::core::mem::transmute(auto_size) };
            auto_size as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let y_inv: u8 = unsafe { ::core::mem::transmute(y_inv) };
            y_inv as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_LINE_PART_MAIN: _bindgen_ty_47 = 0;
pub type _bindgen_ty_47 = u32;
pub type lv_line_style_t = u8;
extern "C" {
    pub fn lv_line_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_line_set_points(line: *mut lv_obj_t, point_a: *const lv_point_t, point_num: u16);
}
extern "C" {
    pub fn lv_line_set_auto_size(line: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_line_set_y_invert(line: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_line_get_auto_size(line: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_line_get_y_invert(line: *const lv_obj_t) -> bool;
}
pub const LV_SCROLLBAR_MODE_OFF: _bindgen_ty_48 = 0;
pub const LV_SCROLLBAR_MODE_ON: _bindgen_ty_48 = 1;
pub const LV_SCROLLBAR_MODE_DRAG: _bindgen_ty_48 = 2;
pub const LV_SCROLLBAR_MODE_AUTO: _bindgen_ty_48 = 3;
pub const LV_SCROLLBAR_MODE_HIDE: _bindgen_ty_48 = 4;
pub const LV_SCROLLBAR_MODE_UNHIDE: _bindgen_ty_48 = 5;
pub type _bindgen_ty_48 = u32;
pub type lv_scrollbar_mode_t = u8;
pub const LV_PAGE_EDGE_LEFT: _bindgen_ty_49 = 1;
pub const LV_PAGE_EDGE_TOP: _bindgen_ty_49 = 2;
pub const LV_PAGE_EDGE_RIGHT: _bindgen_ty_49 = 4;
pub const LV_PAGE_EDGE_BOTTOM: _bindgen_ty_49 = 8;
pub type _bindgen_ty_49 = u32;
pub type lv_page_edge_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_page_ext_t {
    pub bg: lv_cont_ext_t,
    pub scrl: *mut lv_obj_t,
    pub scrlbar: lv_page_ext_t__bindgen_ty_1,
    pub edge_flash: lv_page_ext_t__bindgen_ty_2,
    pub anim_time: u16,
    pub scroll_prop_obj: *mut lv_obj_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_page_ext_t__bindgen_ty_1 {
    pub style: lv_style_list_t,
    pub hor_area: lv_area_t,
    pub ver_area: lv_area_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
impl lv_page_ext_t__bindgen_ty_1 {
    #[inline]
    pub fn hor_draw(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_hor_draw(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn ver_draw(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_ver_draw(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn mode(&self) -> lv_scrollbar_mode_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 3u8) as u8) }
    }
    #[inline]
    pub fn set_mode(&mut self, val: lv_scrollbar_mode_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 3u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        hor_draw: u8,
        ver_draw: u8,
        mode: lv_scrollbar_mode_t,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let hor_draw: u8 = unsafe { ::core::mem::transmute(hor_draw) };
            hor_draw as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let ver_draw: u8 = unsafe { ::core::mem::transmute(ver_draw) };
            ver_draw as u64
        });
        __bindgen_bitfield_unit.set(2usize, 3u8, {
            let mode: u8 = unsafe { ::core::mem::transmute(mode) };
            mode as u64
        });
        __bindgen_bitfield_unit
    }
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_page_ext_t__bindgen_ty_2 {
    pub state: lv_anim_value_t,
    pub style: lv_style_list_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
impl lv_page_ext_t__bindgen_ty_2 {
    #[inline]
    pub fn enabled(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_enabled(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn top_ip(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_top_ip(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn bottom_ip(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_bottom_ip(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn right_ip(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_right_ip(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(3usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn left_ip(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(4usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_left_ip(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(4usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        enabled: u8,
        top_ip: u8,
        bottom_ip: u8,
        right_ip: u8,
        left_ip: u8,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let enabled: u8 = unsafe { ::core::mem::transmute(enabled) };
            enabled as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let top_ip: u8 = unsafe { ::core::mem::transmute(top_ip) };
            top_ip as u64
        });
        __bindgen_bitfield_unit.set(2usize, 1u8, {
            let bottom_ip: u8 = unsafe { ::core::mem::transmute(bottom_ip) };
            bottom_ip as u64
        });
        __bindgen_bitfield_unit.set(3usize, 1u8, {
            let right_ip: u8 = unsafe { ::core::mem::transmute(right_ip) };
            right_ip as u64
        });
        __bindgen_bitfield_unit.set(4usize, 1u8, {
            let left_ip: u8 = unsafe { ::core::mem::transmute(left_ip) };
            left_ip as u64
        });
        __bindgen_bitfield_unit
    }
}
impl lv_page_ext_t {
    #[inline]
    pub fn scroll_prop(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_scroll_prop(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(scroll_prop: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let scroll_prop: u8 = unsafe { ::core::mem::transmute(scroll_prop) };
            scroll_prop as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_PAGE_PART_BG: _bindgen_ty_50 = 0;
pub const LV_PAGE_PART_SCROLLBAR: _bindgen_ty_50 = 1;
pub const LV_PAGE_PART_EDGE_FLASH: _bindgen_ty_50 = 2;
pub const _LV_PAGE_PART_VIRTUAL_LAST: _bindgen_ty_50 = 3;
pub const LV_PAGE_PART_SCROLLABLE: _bindgen_ty_50 = 64;
pub const _LV_PAGE_PART_REAL_LAST: _bindgen_ty_50 = 65;
pub type _bindgen_ty_50 = u32;
pub type lv_part_style_t = u8;
extern "C" {
    pub fn lv_page_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_page_clean(page: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_page_get_scrllable(page: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_page_get_anim_time(page: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_page_set_scrollbar_mode(page: *mut lv_obj_t, sb_mode: lv_scrollbar_mode_t);
}
extern "C" {
    pub fn lv_page_set_anim_time(page: *mut lv_obj_t, anim_time: u16);
}
extern "C" {
    pub fn lv_page_set_scroll_propagation(page: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_page_set_edge_flash(page: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_page_get_scrollbar_mode(page: *const lv_obj_t) -> lv_scrollbar_mode_t;
}
extern "C" {
    pub fn lv_page_get_scroll_propagation(page: *mut lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_page_get_edge_flash(page: *mut lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_page_get_width_fit(page: *mut lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_page_get_height_fit(page: *mut lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_page_get_width_grid(page: *mut lv_obj_t, div: u8, span: u8) -> lv_coord_t;
}
extern "C" {
    pub fn lv_page_get_height_grid(page: *mut lv_obj_t, div: u8, span: u8) -> lv_coord_t;
}
extern "C" {
    pub fn lv_page_on_edge(page: *mut lv_obj_t, edge: lv_page_edge_t) -> bool;
}
extern "C" {
    pub fn lv_page_glue_obj(obj: *mut lv_obj_t, glue: bool);
}
extern "C" {
    pub fn lv_page_focus(page: *mut lv_obj_t, obj: *const lv_obj_t, anim_en: lv_anim_enable_t);
}
extern "C" {
    pub fn lv_page_scroll_hor(page: *mut lv_obj_t, dist: lv_coord_t);
}
extern "C" {
    pub fn lv_page_scroll_ver(page: *mut lv_obj_t, dist: lv_coord_t);
}
extern "C" {
    pub fn lv_page_start_edge_flash(page: *mut lv_obj_t, edge: lv_page_edge_t);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_list_ext_t {
    pub page: lv_page_ext_t,
    pub last_sel_btn: *mut lv_obj_t,
    pub act_sel_btn: *mut lv_obj_t,
}
pub const LV_LIST_PART_BG: _bindgen_ty_51 = 0;
pub const LV_LIST_PART_SCROLLBAR: _bindgen_ty_51 = 1;
pub const LV_LIST_PART_EDGE_FLASH: _bindgen_ty_51 = 2;
pub const _LV_LIST_PART_VIRTUAL_LAST: _bindgen_ty_51 = 3;
pub const LV_LIST_PART_SCROLLABLE: _bindgen_ty_51 = 64;
pub const _LV_LIST_PART_REAL_LAST: _bindgen_ty_51 = 65;
pub type _bindgen_ty_51 = u32;
pub type lv_list_style_t = u8;
extern "C" {
    pub fn lv_list_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_list_clean(list: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_list_add_btn(
        list: *mut lv_obj_t,
        img_src: *const cty::c_void,
        txt: *const cty::c_char,
    ) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_list_remove(list: *const lv_obj_t, index: u16) -> bool;
}
extern "C" {
    pub fn lv_list_focus_btn(list: *mut lv_obj_t, btn: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_list_set_layout(list: *mut lv_obj_t, layout: lv_layout_t);
}
extern "C" {
    pub fn lv_list_get_btn_text(btn: *const lv_obj_t) -> *const cty::c_char;
}
extern "C" {
    pub fn lv_list_get_btn_label(btn: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_list_get_btn_img(btn: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_list_get_prev_btn(list: *const lv_obj_t, prev_btn: *mut lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_list_get_next_btn(list: *const lv_obj_t, prev_btn: *mut lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_list_get_btn_index(list: *const lv_obj_t, btn: *const lv_obj_t) -> i32;
}
extern "C" {
    pub fn lv_list_get_size(list: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_list_get_btn_selected(list: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_list_get_layout(list: *mut lv_obj_t) -> lv_layout_t;
}
extern "C" {
    pub fn lv_list_up(list: *const lv_obj_t);
}
extern "C" {
    pub fn lv_list_down(list: *const lv_obj_t);
}
extern "C" {
    pub fn lv_list_focus(btn: *const lv_obj_t, anim: lv_anim_enable_t);
}
pub const LV_CHART_TYPE_NONE: _bindgen_ty_52 = 0;
pub const LV_CHART_TYPE_LINE: _bindgen_ty_52 = 1;
pub const LV_CHART_TYPE_COLUMN: _bindgen_ty_52 = 2;
pub type _bindgen_ty_52 = u32;
pub type lv_chart_type_t = u8;
pub const LV_CHART_UPDATE_MODE_SHIFT: _bindgen_ty_53 = 0;
pub const LV_CHART_UPDATE_MODE_CIRCULAR: _bindgen_ty_53 = 1;
pub type _bindgen_ty_53 = u32;
pub type lv_chart_update_mode_t = u8;
#[repr(C)]
#[derive(Copy, Clone)]
pub struct lv_chart_series_t {
    pub points: *mut lv_coord_t,
    pub color: lv_color_t,
    pub start_point: u16,
}
pub const LV_CHART_AXIS_SKIP_LAST_TICK: _bindgen_ty_54 = 0;
pub const LV_CHART_AXIS_DRAW_LAST_TICK: _bindgen_ty_54 = 1;
pub const LV_CHART_AXIS_INVERSE_LABELS_ORDER: _bindgen_ty_54 = 2;
pub type _bindgen_ty_54 = u32;
pub type lv_chart_axis_options_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_chart_axis_cfg_t {
    pub list_of_values: *const cty::c_char,
    pub options: lv_chart_axis_options_t,
    pub num_tick_marks: u8,
    pub major_tick_len: u8,
    pub minor_tick_len: u8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_chart_ext_t {
    pub series_ll: lv_ll_t,
    pub ymin: lv_coord_t,
    pub ymax: lv_coord_t,
    pub hdiv_cnt: u8,
    pub vdiv_cnt: u8,
    pub point_cnt: u16,
    pub style_series_bg: lv_style_list_t,
    pub style_series: lv_style_list_t,
    pub type_: lv_chart_type_t,
    pub y_axis: lv_chart_axis_cfg_t,
    pub x_axis: lv_chart_axis_cfg_t,
    pub secondary_y_axis: lv_chart_axis_cfg_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
impl lv_chart_ext_t {
    #[inline]
    pub fn update_mode(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_update_mode(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(update_mode: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let update_mode: u8 = unsafe { ::core::mem::transmute(update_mode) };
            update_mode as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_CHART_PART_BG: _bindgen_ty_55 = 0;
pub const LV_CHART_PART_SERIES_BG: _bindgen_ty_55 = 1;
pub const LV_CHART_PART_SERIES: _bindgen_ty_55 = 2;
pub type _bindgen_ty_55 = u32;
extern "C" {
    pub fn lv_chart_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_chart_add_series(chart: *mut lv_obj_t, color: lv_color_t) -> *mut lv_chart_series_t;
}
extern "C" {
    pub fn lv_chart_clear_serie(chart: *mut lv_obj_t, serie: *mut lv_chart_series_t);
}
extern "C" {
    pub fn lv_chart_set_div_line_count(chart: *mut lv_obj_t, hdiv: u8, vdiv: u8);
}
extern "C" {
    pub fn lv_chart_set_range(chart: *mut lv_obj_t, ymin: lv_coord_t, ymax: lv_coord_t);
}
extern "C" {
    pub fn lv_chart_set_type(chart: *mut lv_obj_t, type_: lv_chart_type_t);
}
extern "C" {
    pub fn lv_chart_set_point_count(chart: *mut lv_obj_t, point_cnt: u16);
}
extern "C" {
    pub fn lv_chart_init_points(chart: *mut lv_obj_t, ser: *mut lv_chart_series_t, y: lv_coord_t);
}
extern "C" {
    pub fn lv_chart_set_points(
        chart: *mut lv_obj_t,
        ser: *mut lv_chart_series_t,
        y_array: *mut lv_coord_t,
    );
}
extern "C" {
    pub fn lv_chart_set_next(chart: *mut lv_obj_t, ser: *mut lv_chart_series_t, y: lv_coord_t);
}
extern "C" {
    pub fn lv_chart_set_update_mode(chart: *mut lv_obj_t, update_mode: lv_chart_update_mode_t);
}
extern "C" {
    pub fn lv_chart_set_x_tick_length(chart: *mut lv_obj_t, major_tick_len: u8, minor_tick_len: u8);
}
extern "C" {
    pub fn lv_chart_set_y_tick_length(chart: *mut lv_obj_t, major_tick_len: u8, minor_tick_len: u8);
}
extern "C" {
    pub fn lv_chart_set_secondary_y_tick_length(
        chart: *mut lv_obj_t,
        major_tick_len: u8,
        minor_tick_len: u8,
    );
}
extern "C" {
    pub fn lv_chart_set_x_tick_texts(
        chart: *mut lv_obj_t,
        list_of_values: *const cty::c_char,
        num_tick_marks: u8,
        options: lv_chart_axis_options_t,
    );
}
extern "C" {
    pub fn lv_chart_set_secondary_y_tick_texts(
        chart: *mut lv_obj_t,
        list_of_values: *const cty::c_char,
        num_tick_marks: u8,
        options: lv_chart_axis_options_t,
    );
}
extern "C" {
    pub fn lv_chart_set_y_tick_texts(
        chart: *mut lv_obj_t,
        list_of_values: *const cty::c_char,
        num_tick_marks: u8,
        options: lv_chart_axis_options_t,
    );
}
extern "C" {
    pub fn lv_chart_get_type(chart: *const lv_obj_t) -> lv_chart_type_t;
}
extern "C" {
    pub fn lv_chart_get_point_count(chart: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_chart_refresh(chart: *mut lv_obj_t);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub union lv_table_cell_format_t {
    pub s: lv_table_cell_format_t__bindgen_ty_1,
    pub format_byte: u8,
    _bindgen_union_align: u8,
}
#[repr(C, packed)]
#[derive(Debug, Copy, Clone)]
pub struct lv_table_cell_format_t__bindgen_ty_1 {
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
}
impl lv_table_cell_format_t__bindgen_ty_1 {
    #[inline]
    pub fn align(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_align(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn right_merge(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_right_merge(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn type_(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_type(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(3usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn crop(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(5usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_crop(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(5usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        align: u8,
        right_merge: u8,
        type_: u8,
        crop: u8,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 2u8, {
            let align: u8 = unsafe { ::core::mem::transmute(align) };
            align as u64
        });
        __bindgen_bitfield_unit.set(2usize, 1u8, {
            let right_merge: u8 = unsafe { ::core::mem::transmute(right_merge) };
            right_merge as u64
        });
        __bindgen_bitfield_unit.set(3usize, 2u8, {
            let type_: u8 = unsafe { ::core::mem::transmute(type_) };
            type_ as u64
        });
        __bindgen_bitfield_unit.set(5usize, 1u8, {
            let crop: u8 = unsafe { ::core::mem::transmute(crop) };
            crop as u64
        });
        __bindgen_bitfield_unit
    }
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_table_ext_t {
    pub col_cnt: u16,
    pub row_cnt: u16,
    pub cell_data: *mut *mut cty::c_char,
    pub row_h: *mut lv_coord_t,
    pub cell_style: [lv_style_list_t; 4usize],
    pub col_w: [lv_coord_t; 12usize],
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
impl lv_table_ext_t {
    #[inline]
    pub fn cell_types(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 4u8) as u8) }
    }
    #[inline]
    pub fn set_cell_types(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 4u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(cell_types: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 4u8, {
            let cell_types: u8 = unsafe { ::core::mem::transmute(cell_types) };
            cell_types as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_TABLE_PART_BG: _bindgen_ty_56 = 0;
pub const LV_TABLE_PART_CELL1: _bindgen_ty_56 = 1;
pub const LV_TABLE_PART_CELL2: _bindgen_ty_56 = 2;
pub const LV_TABLE_PART_CELL3: _bindgen_ty_56 = 3;
pub const LV_TABLE_PART_CELL4: _bindgen_ty_56 = 4;
pub type _bindgen_ty_56 = u32;
extern "C" {
    pub fn lv_table_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_table_set_cell_value(
        table: *mut lv_obj_t,
        row: u16,
        col: u16,
        txt: *const cty::c_char,
    );
}
extern "C" {
    pub fn lv_table_set_row_cnt(table: *mut lv_obj_t, row_cnt: u16);
}
extern "C" {
    pub fn lv_table_set_col_cnt(table: *mut lv_obj_t, col_cnt: u16);
}
extern "C" {
    pub fn lv_table_set_col_width(table: *mut lv_obj_t, col_id: u16, w: lv_coord_t);
}
extern "C" {
    pub fn lv_table_set_cell_align(
        table: *mut lv_obj_t,
        row: u16,
        col: u16,
        align: lv_label_align_t,
    );
}
extern "C" {
    pub fn lv_table_set_cell_type(table: *mut lv_obj_t, row: u16, col: u16, type_: u8);
}
extern "C" {
    pub fn lv_table_set_cell_crop(table: *mut lv_obj_t, row: u16, col: u16, crop: bool);
}
extern "C" {
    pub fn lv_table_set_cell_merge_right(table: *mut lv_obj_t, row: u16, col: u16, en: bool);
}
extern "C" {
    pub fn lv_table_get_cell_value(table: *mut lv_obj_t, row: u16, col: u16) -> *const cty::c_char;
}
extern "C" {
    pub fn lv_table_get_row_cnt(table: *mut lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_table_get_col_cnt(table: *mut lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_table_get_col_width(table: *mut lv_obj_t, col_id: u16) -> lv_coord_t;
}
extern "C" {
    pub fn lv_table_get_cell_align(table: *mut lv_obj_t, row: u16, col: u16) -> lv_label_align_t;
}
extern "C" {
    pub fn lv_table_get_cell_type(table: *mut lv_obj_t, row: u16, col: u16) -> lv_label_align_t;
}
extern "C" {
    pub fn lv_table_get_cell_crop(table: *mut lv_obj_t, row: u16, col: u16) -> lv_label_align_t;
}
extern "C" {
    pub fn lv_table_get_cell_merge_right(table: *mut lv_obj_t, row: u16, col: u16) -> bool;
}
extern "C" {
    pub fn lv_table_get_pressed_cell(
        table: *mut lv_obj_t,
        row: *mut u16,
        col: *mut u16,
    ) -> lv_res_t;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_checkbox_ext_t {
    pub bg_btn: lv_btn_ext_t,
    pub bullet: *mut lv_obj_t,
    pub label: *mut lv_obj_t,
}
pub const LV_CHECKBOX_PART_BG: _bindgen_ty_57 = 0;
pub const _LV_CHECKBOX_PART_VIRTUAL_LAST: _bindgen_ty_57 = 1;
pub const LV_CHECKBOX_PART_BULLET: _bindgen_ty_57 = 64;
pub const _LV_CHECKBOX_PART_REAL_LAST: _bindgen_ty_57 = 65;
pub type _bindgen_ty_57 = u32;
pub type lv_checkbox_style_t = u8;
extern "C" {
    pub fn lv_checkbox_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_checkbox_set_text(cb: *mut lv_obj_t, txt: *const cty::c_char);
}
extern "C" {
    pub fn lv_checkbox_set_text_static(cb: *mut lv_obj_t, txt: *const cty::c_char);
}
extern "C" {
    pub fn lv_checkbox_get_text(cb: *const lv_obj_t) -> *const cty::c_char;
}
pub const LV_CPICKER_TYPE_RECT: _bindgen_ty_58 = 0;
pub const LV_CPICKER_TYPE_DISC: _bindgen_ty_58 = 1;
pub type _bindgen_ty_58 = u32;
pub type lv_cpicker_type_t = u8;
pub const LV_CPICKER_COLOR_MODE_HUE: _bindgen_ty_59 = 0;
pub const LV_CPICKER_COLOR_MODE_SATURATION: _bindgen_ty_59 = 1;
pub const LV_CPICKER_COLOR_MODE_VALUE: _bindgen_ty_59 = 2;
pub type _bindgen_ty_59 = u32;
pub type lv_cpicker_color_mode_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_cpicker_ext_t {
    pub hsv: lv_color_hsv_t,
    pub knob: lv_cpicker_ext_t__bindgen_ty_1,
    pub last_click_time: u32,
    pub last_change_time: u32,
    pub last_press_point: lv_point_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_cpicker_ext_t__bindgen_ty_1 {
    pub style_list: lv_style_list_t,
    pub pos: lv_point_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
impl lv_cpicker_ext_t__bindgen_ty_1 {
    #[inline]
    pub fn colored(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_colored(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(colored: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let colored: u8 = unsafe { ::core::mem::transmute(colored) };
            colored as u64
        });
        __bindgen_bitfield_unit
    }
}
impl lv_cpicker_ext_t {
    #[inline]
    pub fn color_mode(&self) -> lv_cpicker_color_mode_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_color_mode(&mut self, val: lv_cpicker_color_mode_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn color_mode_fixed(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_color_mode_fixed(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn type_(&self) -> lv_cpicker_type_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_type(&mut self, val: lv_cpicker_type_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(3usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        color_mode: lv_cpicker_color_mode_t,
        color_mode_fixed: u8,
        type_: lv_cpicker_type_t,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 2u8, {
            let color_mode: u8 = unsafe { ::core::mem::transmute(color_mode) };
            color_mode as u64
        });
        __bindgen_bitfield_unit.set(2usize, 1u8, {
            let color_mode_fixed: u8 = unsafe { ::core::mem::transmute(color_mode_fixed) };
            color_mode_fixed as u64
        });
        __bindgen_bitfield_unit.set(3usize, 1u8, {
            let type_: u8 = unsafe { ::core::mem::transmute(type_) };
            type_ as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_CPICKER_PART_MAIN: _bindgen_ty_60 = 0;
pub const LV_CPICKER_PART_KNOB: _bindgen_ty_60 = 1;
pub const _LV_CPICKER_PART_VIRTUAL_LAST: _bindgen_ty_60 = 2;
pub const _LV_CPICKER_PART_REAL_LAST: _bindgen_ty_60 = 64;
pub type _bindgen_ty_60 = u32;
extern "C" {
    pub fn lv_cpicker_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_cpicker_set_type(cpicker: *mut lv_obj_t, type_: lv_cpicker_type_t);
}
extern "C" {
    pub fn lv_cpicker_set_hue(cpicker: *mut lv_obj_t, hue: u16) -> bool;
}
extern "C" {
    pub fn lv_cpicker_set_saturation(cpicker: *mut lv_obj_t, saturation: u8) -> bool;
}
extern "C" {
    pub fn lv_cpicker_set_value(cpicker: *mut lv_obj_t, val: u8) -> bool;
}
extern "C" {
    pub fn lv_cpicker_set_hsv(cpicker: *mut lv_obj_t, hsv: lv_color_hsv_t) -> bool;
}
extern "C" {
    pub fn lv_cpicker_set_color(cpicker: *mut lv_obj_t, color: lv_color_t) -> bool;
}
extern "C" {
    pub fn lv_cpicker_set_color_mode(cpicker: *mut lv_obj_t, mode: lv_cpicker_color_mode_t);
}
extern "C" {
    pub fn lv_cpicker_set_color_mode_fixed(cpicker: *mut lv_obj_t, fixed: bool);
}
extern "C" {
    pub fn lv_cpicker_set_knob_colored(cpicker: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_cpicker_get_color_mode(cpicker: *mut lv_obj_t) -> lv_cpicker_color_mode_t;
}
extern "C" {
    pub fn lv_cpicker_get_color_mode_fixed(cpicker: *mut lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_cpicker_get_hue(cpicker: *mut lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_cpicker_get_saturation(cpicker: *mut lv_obj_t) -> u8;
}
extern "C" {
    pub fn lv_cpicker_get_value(cpicker: *mut lv_obj_t) -> u8;
}
extern "C" {
    pub fn lv_cpicker_get_hsv(cpicker: *mut lv_obj_t) -> lv_color_hsv_t;
}
extern "C" {
    pub fn lv_cpicker_get_color(cpicker: *mut lv_obj_t) -> lv_color_t;
}
extern "C" {
    pub fn lv_cpicker_get_knob_colored(cpicker: *mut lv_obj_t) -> bool;
}
pub const LV_BAR_TYPE_NORMAL: _bindgen_ty_61 = 0;
pub const LV_BAR_TYPE_SYMMETRICAL: _bindgen_ty_61 = 1;
pub const LV_BAR_TYPE_CUSTOM: _bindgen_ty_61 = 2;
pub type _bindgen_ty_61 = u32;
pub type lv_bar_type_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_bar_anim_t {
    pub bar: *mut lv_obj_t,
    pub anim_start: lv_anim_value_t,
    pub anim_end: lv_anim_value_t,
    pub anim_state: lv_anim_value_t,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_bar_ext_t {
    pub cur_value: i16,
    pub min_value: i16,
    pub max_value: i16,
    pub start_value: i16,
    pub indic_area: lv_area_t,
    pub anim_time: lv_anim_value_t,
    pub cur_value_anim: lv_bar_anim_t,
    pub start_value_anim: lv_bar_anim_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub style_indic: lv_style_list_t,
}
impl lv_bar_ext_t {
    #[inline]
    pub fn type_(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_type(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(type_: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 2u8, {
            let type_: u8 = unsafe { ::core::mem::transmute(type_) };
            type_ as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_BAR_PART_BG: _bindgen_ty_62 = 0;
pub const LV_BAR_PART_INDIC: _bindgen_ty_62 = 1;
pub const _LV_BAR_PART_VIRTUAL_LAST: _bindgen_ty_62 = 2;
pub type _bindgen_ty_62 = u32;
pub type lv_bar_part_t = u8;
extern "C" {
    pub fn lv_bar_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_bar_set_value(bar: *mut lv_obj_t, value: i16, anim: lv_anim_enable_t);
}
extern "C" {
    pub fn lv_bar_set_start_value(bar: *mut lv_obj_t, start_value: i16, anim: lv_anim_enable_t);
}
extern "C" {
    pub fn lv_bar_set_range(bar: *mut lv_obj_t, min: i16, max: i16);
}
extern "C" {
    pub fn lv_bar_set_type(bar: *mut lv_obj_t, type_: lv_bar_type_t);
}
extern "C" {
    pub fn lv_bar_set_anim_time(bar: *mut lv_obj_t, anim_time: u16);
}
extern "C" {
    pub fn lv_bar_get_value(bar: *const lv_obj_t) -> i16;
}
extern "C" {
    pub fn lv_bar_get_start_value(bar: *const lv_obj_t) -> i16;
}
extern "C" {
    pub fn lv_bar_get_min_value(bar: *const lv_obj_t) -> i16;
}
extern "C" {
    pub fn lv_bar_get_max_value(bar: *const lv_obj_t) -> i16;
}
extern "C" {
    pub fn lv_bar_get_type(bar: *mut lv_obj_t) -> lv_bar_type_t;
}
extern "C" {
    pub fn lv_bar_get_anim_time(bar: *const lv_obj_t) -> u16;
}
pub const LV_SLIDER_TYPE_NORMAL: _bindgen_ty_63 = 0;
pub const LV_SLIDER_TYPE_SYMMETRICAL: _bindgen_ty_63 = 1;
pub const LV_SLIDER_TYPE_RANGE: _bindgen_ty_63 = 2;
pub type _bindgen_ty_63 = u32;
pub type lv_slider_type_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_slider_ext_t {
    pub bar: lv_bar_ext_t,
    pub style_knob: lv_style_list_t,
    pub left_knob_area: lv_area_t,
    pub right_knob_area: lv_area_t,
    pub value_to_set: *mut i16,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
impl lv_slider_ext_t {
    #[inline]
    pub fn dragging(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_dragging(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(dragging: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let dragging: u8 = unsafe { ::core::mem::transmute(dragging) };
            dragging as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_SLIDER_PART_BG: _bindgen_ty_64 = 0;
pub const LV_SLIDER_PART_INDIC: _bindgen_ty_64 = 1;
pub const LV_SLIDER_PART_KNOB: _bindgen_ty_64 = 2;
pub type _bindgen_ty_64 = u32;
extern "C" {
    pub fn lv_slider_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_slider_get_value(slider: *const lv_obj_t) -> i16;
}
extern "C" {
    pub fn lv_slider_is_dragged(slider: *const lv_obj_t) -> bool;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_led_ext_t {
    pub bright: u8,
}
pub const LV_LED_PART_MAIN: _bindgen_ty_65 = 0;
pub type _bindgen_ty_65 = u32;
pub type lv_led_part_t = u8;
extern "C" {
    pub fn lv_led_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_led_set_bright(led: *mut lv_obj_t, bright: u8);
}
extern "C" {
    pub fn lv_led_on(led: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_led_off(led: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_led_toggle(led: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_led_get_bright(led: *const lv_obj_t) -> u8;
}
pub const LV_BTNMATRIX_CTRL_HIDDEN: _bindgen_ty_66 = 8;
pub const LV_BTNMATRIX_CTRL_NO_REPEAT: _bindgen_ty_66 = 16;
pub const LV_BTNMATRIX_CTRL_DISABLED: _bindgen_ty_66 = 32;
pub const LV_BTNMATRIX_CTRL_CHECKABLE: _bindgen_ty_66 = 64;
pub const LV_BTNMATRIX_CTRL_CHECK_STATE: _bindgen_ty_66 = 128;
pub const LV_BTNMATRIX_CTRL_CLICK_TRIG: _bindgen_ty_66 = 256;
pub type _bindgen_ty_66 = u32;
pub type lv_btnmatrix_ctrl_t = u16;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_btnmatrix_ext_t {
    pub map_p: *mut *const cty::c_char,
    pub button_areas: *mut lv_area_t,
    pub ctrl_bits: *mut lv_btnmatrix_ctrl_t,
    pub style_btn: lv_style_list_t,
    pub btn_cnt: u16,
    pub btn_id_pr: u16,
    pub btn_id_focused: u16,
    pub btn_id_act: u16,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
impl lv_btnmatrix_ext_t {
    #[inline]
    pub fn recolor(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_recolor(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn one_check(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_one_check(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(recolor: u8, one_check: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let recolor: u8 = unsafe { ::core::mem::transmute(recolor) };
            recolor as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let one_check: u8 = unsafe { ::core::mem::transmute(one_check) };
            one_check as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_BTNMATRIX_PART_BG: _bindgen_ty_67 = 0;
pub const LV_BTNMATRIX_PART_BTN: _bindgen_ty_67 = 1;
pub type _bindgen_ty_67 = u32;
pub type lv_btnmatrix_part_t = u8;
extern "C" {
    pub fn lv_btnmatrix_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_btnmatrix_set_map(btnm: *mut lv_obj_t, map: *mut *const cty::c_char);
}
extern "C" {
    pub fn lv_btnmatrix_set_ctrl_map(btnm: *mut lv_obj_t, ctrl_map: *const lv_btnmatrix_ctrl_t);
}
extern "C" {
    pub fn lv_btnmatrix_set_focused_btn(btnm: *mut lv_obj_t, id: u16);
}
extern "C" {
    pub fn lv_btnmatrix_set_recolor(btnm: *const lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_btnmatrix_set_btn_ctrl(btnm: *const lv_obj_t, btn_id: u16, ctrl: lv_btnmatrix_ctrl_t);
}
extern "C" {
    pub fn lv_btnmatrix_clear_btn_ctrl(
        btnm: *const lv_obj_t,
        btn_id: u16,
        ctrl: lv_btnmatrix_ctrl_t,
    );
}
extern "C" {
    pub fn lv_btnmatrix_set_btn_ctrl_all(btnm: *mut lv_obj_t, ctrl: lv_btnmatrix_ctrl_t);
}
extern "C" {
    pub fn lv_btnmatrix_clear_btn_ctrl_all(btnm: *mut lv_obj_t, ctrl: lv_btnmatrix_ctrl_t);
}
extern "C" {
    pub fn lv_btnmatrix_set_btn_width(btnm: *mut lv_obj_t, btn_id: u16, width: u8);
}
extern "C" {
    pub fn lv_btnmatrix_set_one_check(btnm: *mut lv_obj_t, one_chk: bool);
}
extern "C" {
    pub fn lv_btnmatrix_get_map_array(btnm: *const lv_obj_t) -> *mut *const cty::c_char;
}
extern "C" {
    pub fn lv_btnmatrix_get_recolor(btnm: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_btnmatrix_get_active_btn(btnm: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_btnmatrix_get_active_btn_text(btnm: *const lv_obj_t) -> *const cty::c_char;
}
extern "C" {
    pub fn lv_btnmatrix_get_focused_btn(btnm: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_btnmatrix_get_btn_text(btnm: *const lv_obj_t, btn_id: u16) -> *const cty::c_char;
}
extern "C" {
    pub fn lv_btnmatrix_get_btn_ctrl(
        btnm: *mut lv_obj_t,
        btn_id: u16,
        ctrl: lv_btnmatrix_ctrl_t,
    ) -> bool;
}
extern "C" {
    pub fn lv_btnmatrix_get_one_check(btnm: *const lv_obj_t) -> bool;
}
pub const LV_KEYBOARD_MODE_TEXT_LOWER: _bindgen_ty_68 = 0;
pub const LV_KEYBOARD_MODE_TEXT_UPPER: _bindgen_ty_68 = 1;
pub const LV_KEYBOARD_MODE_SPECIAL: _bindgen_ty_68 = 2;
pub const LV_KEYBOARD_MODE_NUM: _bindgen_ty_68 = 3;
pub type _bindgen_ty_68 = u32;
pub type lv_keyboard_mode_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_keyboard_ext_t {
    pub btnm: lv_btnmatrix_ext_t,
    pub ta: *mut lv_obj_t,
    pub mode: lv_keyboard_mode_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: u16,
}
impl lv_keyboard_ext_t {
    #[inline]
    pub fn cursor_mng(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_cursor_mng(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(cursor_mng: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let cursor_mng: u8 = unsafe { ::core::mem::transmute(cursor_mng) };
            cursor_mng as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_KEYBOARD_PART_BG: _bindgen_ty_69 = 0;
pub const LV_KEYBOARD_PART_BTN: _bindgen_ty_69 = 1;
pub type _bindgen_ty_69 = u32;
pub type lv_keyboard_style_t = u8;
extern "C" {
    pub fn lv_keyboard_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_keyboard_set_textarea(kb: *mut lv_obj_t, ta: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_keyboard_set_mode(kb: *mut lv_obj_t, mode: lv_keyboard_mode_t);
}
extern "C" {
    pub fn lv_keyboard_set_cursor_manage(kb: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_keyboard_set_map(
        kb: *mut lv_obj_t,
        mode: lv_keyboard_mode_t,
        map: *mut *const cty::c_char,
    );
}
extern "C" {
    pub fn lv_keyboard_set_ctrl_map(
        kb: *mut lv_obj_t,
        mode: lv_keyboard_mode_t,
        ctrl_map: *const lv_btnmatrix_ctrl_t,
    );
}
extern "C" {
    pub fn lv_keyboard_get_textarea(kb: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_keyboard_get_mode(kb: *const lv_obj_t) -> lv_keyboard_mode_t;
}
extern "C" {
    pub fn lv_keyboard_get_cursor_manage(kb: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_keyboard_def_event_cb(kb: *mut lv_obj_t, event: lv_event_t);
}
pub const LV_DROPDOWN_DIR_DOWN: _bindgen_ty_70 = 0;
pub const LV_DROPDOWN_DIR_UP: _bindgen_ty_70 = 1;
pub const LV_DROPDOWN_DIR_LEFT: _bindgen_ty_70 = 2;
pub const LV_DROPDOWN_DIR_RIGHT: _bindgen_ty_70 = 3;
pub type _bindgen_ty_70 = u32;
pub type lv_dropdown_dir_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_dropdown_ext_t {
    pub page: *mut lv_obj_t,
    pub text: *const cty::c_char,
    pub symbol: *const cty::c_char,
    pub options: *mut cty::c_char,
    pub style_selected: lv_style_list_t,
    pub style_page: lv_style_list_t,
    pub style_scrlbar: lv_style_list_t,
    pub max_height: lv_coord_t,
    pub option_cnt: u16,
    pub sel_opt_id: u16,
    pub sel_opt_id_orig: u16,
    pub pr_opt_id: u16,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: u8,
}
impl lv_dropdown_ext_t {
    #[inline]
    pub fn dir(&self) -> lv_dropdown_dir_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_dir(&mut self, val: lv_dropdown_dir_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn show_selected(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_show_selected(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn static_txt(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_static_txt(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(3usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        dir: lv_dropdown_dir_t,
        show_selected: u8,
        static_txt: u8,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 2u8, {
            let dir: u8 = unsafe { ::core::mem::transmute(dir) };
            dir as u64
        });
        __bindgen_bitfield_unit.set(2usize, 1u8, {
            let show_selected: u8 = unsafe { ::core::mem::transmute(show_selected) };
            show_selected as u64
        });
        __bindgen_bitfield_unit.set(3usize, 1u8, {
            let static_txt: u8 = unsafe { ::core::mem::transmute(static_txt) };
            static_txt as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_DROPDOWN_PART_MAIN: _bindgen_ty_71 = 0;
pub const LV_DROPDOWN_PART_LIST: _bindgen_ty_71 = 64;
pub const LV_DROPDOWN_PART_SCROLLBAR: _bindgen_ty_71 = 65;
pub const LV_DROPDOWN_PART_SELECTED: _bindgen_ty_71 = 66;
pub type _bindgen_ty_71 = u32;
pub type lv_dropdown_part_t = u8;
extern "C" {
    pub fn lv_dropdown_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_dropdown_set_text(ddlist: *mut lv_obj_t, txt: *const cty::c_char);
}
extern "C" {
    pub fn lv_dropdown_clear_options(ddlist: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_dropdown_set_options(ddlist: *mut lv_obj_t, options: *const cty::c_char);
}
extern "C" {
    pub fn lv_dropdown_set_options_static(ddlist: *mut lv_obj_t, options: *const cty::c_char);
}
extern "C" {
    pub fn lv_dropdown_add_option(ddlist: *mut lv_obj_t, option: *const cty::c_char, pos: u32);
}
extern "C" {
    pub fn lv_dropdown_set_selected(ddlist: *mut lv_obj_t, sel_opt: u16);
}
extern "C" {
    pub fn lv_dropdown_set_dir(ddlist: *mut lv_obj_t, dir: lv_dropdown_dir_t);
}
extern "C" {
    pub fn lv_dropdown_set_max_height(ddlist: *mut lv_obj_t, h: lv_coord_t);
}
extern "C" {
    pub fn lv_dropdown_set_symbol(ddlist: *mut lv_obj_t, symbol: *const cty::c_char);
}
extern "C" {
    pub fn lv_dropdown_set_show_selected(ddlist: *mut lv_obj_t, show: bool);
}
extern "C" {
    pub fn lv_dropdown_get_text(ddlist: *mut lv_obj_t) -> *const cty::c_char;
}
extern "C" {
    pub fn lv_dropdown_get_options(ddlist: *const lv_obj_t) -> *const cty::c_char;
}
extern "C" {
    pub fn lv_dropdown_get_selected(ddlist: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_dropdown_get_option_cnt(ddlist: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_dropdown_get_selected_str(
        ddlist: *const lv_obj_t,
        buf: *mut cty::c_char,
        buf_size: u32,
    );
}
extern "C" {
    pub fn lv_dropdown_get_max_height(ddlist: *const lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_dropdown_get_symbol(ddlist: *mut lv_obj_t) -> *const cty::c_char;
}
extern "C" {
    pub fn lv_dropdown_get_dir(ddlist: *const lv_obj_t) -> lv_dropdown_dir_t;
}
extern "C" {
    pub fn lv_dropdown_get_show_selected(ddlist: *mut lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_dropdown_open(ddlist: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_dropdown_close(ddlist: *mut lv_obj_t);
}
pub const LV_ROLLER_MODE_NORMAL: _bindgen_ty_72 = 0;
pub const LV_ROLLER_MODE_INIFINITE: _bindgen_ty_72 = 1;
pub type _bindgen_ty_72 = u32;
pub type lv_roller_mode_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_roller_ext_t {
    pub page: lv_page_ext_t,
    pub style_sel: lv_style_list_t,
    pub option_cnt: u16,
    pub sel_opt_id: u16,
    pub sel_opt_id_ori: u16,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: u8,
}
impl lv_roller_ext_t {
    #[inline]
    pub fn mode(&self) -> lv_roller_mode_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_mode(&mut self, val: lv_roller_mode_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn auto_fit(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_auto_fit(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        mode: lv_roller_mode_t,
        auto_fit: u8,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let mode: u8 = unsafe { ::core::mem::transmute(mode) };
            mode as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let auto_fit: u8 = unsafe { ::core::mem::transmute(auto_fit) };
            auto_fit as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_ROLLER_PART_BG: _bindgen_ty_73 = 0;
pub const LV_ROLLER_PART_SELECTED: _bindgen_ty_73 = 3;
pub const _LV_ROLLER_PART_VIRTUAL_LAST: _bindgen_ty_73 = 4;
pub type _bindgen_ty_73 = u32;
pub type lv_roller_part_t = u8;
extern "C" {
    pub fn lv_roller_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_roller_set_options(
        roller: *mut lv_obj_t,
        options: *const cty::c_char,
        mode: lv_roller_mode_t,
    );
}
extern "C" {
    pub fn lv_roller_set_align(roller: *mut lv_obj_t, align: lv_label_align_t);
}
extern "C" {
    pub fn lv_roller_set_selected(roller: *mut lv_obj_t, sel_opt: u16, anim: lv_anim_enable_t);
}
extern "C" {
    pub fn lv_roller_set_visible_row_count(roller: *mut lv_obj_t, row_cnt: u8);
}
extern "C" {
    pub fn lv_roller_set_auto_fit(roller: *mut lv_obj_t, auto_fit: bool);
}
extern "C" {
    pub fn lv_roller_get_selected(roller: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_roller_get_option_cnt(roller: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_roller_get_selected_str(
        roller: *const lv_obj_t,
        buf: *mut cty::c_char,
        buf_size: u32,
    );
}
extern "C" {
    pub fn lv_roller_get_align(roller: *const lv_obj_t) -> lv_label_align_t;
}
extern "C" {
    pub fn lv_roller_get_auto_fit(roller: *mut lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_roller_get_options(roller: *const lv_obj_t) -> *const cty::c_char;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_textarea_ext_t {
    pub page: lv_page_ext_t,
    pub label: *mut lv_obj_t,
    pub placeholder_txt: *mut cty::c_char,
    pub style_placeholder: lv_style_list_t,
    pub pwd_tmp: *mut cty::c_char,
    pub accapted_chars: *const cty::c_char,
    pub max_length: u32,
    pub pwd_show_time: u16,
    pub cursor: lv_textarea_ext_t__bindgen_ty_1,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_textarea_ext_t__bindgen_ty_1 {
    pub style: lv_style_list_t,
    pub valid_x: lv_coord_t,
    pub pos: u32,
    pub blink_time: u16,
    pub area: lv_area_t,
    pub txt_byte_pos: u32,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
impl lv_textarea_ext_t__bindgen_ty_1 {
    #[inline]
    pub fn state(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_state(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn hidden(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_hidden(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn click_pos(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_click_pos(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        state: u8,
        hidden: u8,
        click_pos: u8,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let state: u8 = unsafe { ::core::mem::transmute(state) };
            state as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let hidden: u8 = unsafe { ::core::mem::transmute(hidden) };
            hidden as u64
        });
        __bindgen_bitfield_unit.set(2usize, 1u8, {
            let click_pos: u8 = unsafe { ::core::mem::transmute(click_pos) };
            click_pos as u64
        });
        __bindgen_bitfield_unit
    }
}
impl lv_textarea_ext_t {
    #[inline]
    pub fn pwd_mode(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_pwd_mode(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn one_line(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_one_line(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(pwd_mode: u8, one_line: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let pwd_mode: u8 = unsafe { ::core::mem::transmute(pwd_mode) };
            pwd_mode as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let one_line: u8 = unsafe { ::core::mem::transmute(one_line) };
            one_line as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_TEXTAREA_PART_BG: _bindgen_ty_74 = 0;
pub const LV_TEXTAREA_PART_SCROLLBAR: _bindgen_ty_74 = 1;
pub const LV_TEXTAREA_PART_EDGE_FLASH: _bindgen_ty_74 = 2;
pub const LV_TEXTAREA_PART_CURSOR: _bindgen_ty_74 = 3;
pub const LV_TEXTAREA_PART_PLACEHOLDER: _bindgen_ty_74 = 4;
pub const _LV_TEXTAREA_PART_VIRTUAL_LAST: _bindgen_ty_74 = 5;
pub const _LV_TEXTAREA_PART_REAL_LAST: _bindgen_ty_74 = 65;
pub type _bindgen_ty_74 = u32;
pub type lv_textarea_style_t = u8;
extern "C" {
    pub fn lv_textarea_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_textarea_add_char(ta: *mut lv_obj_t, c: u32);
}
extern "C" {
    pub fn lv_textarea_add_text(ta: *mut lv_obj_t, txt: *const cty::c_char);
}
extern "C" {
    pub fn lv_textarea_del_char(ta: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_textarea_del_char_forward(ta: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_textarea_set_text(ta: *mut lv_obj_t, txt: *const cty::c_char);
}
extern "C" {
    pub fn lv_textarea_set_placeholder_text(ta: *mut lv_obj_t, txt: *const cty::c_char);
}
extern "C" {
    pub fn lv_textarea_set_cursor_pos(ta: *mut lv_obj_t, pos: i32);
}
extern "C" {
    pub fn lv_textarea_set_cursor_hidden(ta: *mut lv_obj_t, hide: bool);
}
extern "C" {
    pub fn lv_textarea_set_cursor_click_pos(ta: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_textarea_set_pwd_mode(ta: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_textarea_set_one_line(ta: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_textarea_set_text_align(ta: *mut lv_obj_t, align: lv_label_align_t);
}
extern "C" {
    pub fn lv_textarea_set_accepted_chars(ta: *mut lv_obj_t, list: *const cty::c_char);
}
extern "C" {
    pub fn lv_textarea_set_max_length(ta: *mut lv_obj_t, num: u32);
}
extern "C" {
    pub fn lv_textarea_set_insert_replace(ta: *mut lv_obj_t, txt: *const cty::c_char);
}
extern "C" {
    pub fn lv_textarea_set_text_sel(ta: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_textarea_set_pwd_show_time(ta: *mut lv_obj_t, time: u16);
}
extern "C" {
    pub fn lv_textarea_set_cursor_blink_time(ta: *mut lv_obj_t, time: u16);
}
extern "C" {
    pub fn lv_textarea_get_text(ta: *const lv_obj_t) -> *const cty::c_char;
}
extern "C" {
    pub fn lv_textarea_get_placeholder_text(ta: *mut lv_obj_t) -> *const cty::c_char;
}
extern "C" {
    pub fn lv_textarea_get_label(ta: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_textarea_get_cursor_pos(ta: *const lv_obj_t) -> u32;
}
extern "C" {
    pub fn lv_textarea_get_cursor_hidden(ta: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_textarea_get_cursor_click_pos(ta: *mut lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_textarea_get_pwd_mode(ta: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_textarea_get_one_line(ta: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_textarea_get_accepted_chars(ta: *mut lv_obj_t) -> *const cty::c_char;
}
extern "C" {
    pub fn lv_textarea_get_max_length(ta: *mut lv_obj_t) -> u32;
}
extern "C" {
    pub fn lv_textarea_text_is_selected(ta: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_textarea_get_text_sel_en(ta: *mut lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_textarea_get_pwd_show_time(ta: *mut lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_textarea_get_cursor_blink_time(ta: *mut lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_textarea_clear_selection(ta: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_textarea_cursor_right(ta: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_textarea_cursor_left(ta: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_textarea_cursor_down(ta: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_textarea_cursor_up(ta: *mut lv_obj_t);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_canvas_ext_t {
    pub img: lv_img_ext_t,
    pub dsc: lv_img_dsc_t,
}
pub const LV_CANVAS_PART_MAIN: _bindgen_ty_75 = 0;
pub type _bindgen_ty_75 = u32;
pub type lv_canvas_part_t = u8;
extern "C" {
    pub fn lv_canvas_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_canvas_set_buffer(
        canvas: *mut lv_obj_t,
        buf: *mut cty::c_void,
        w: lv_coord_t,
        h: lv_coord_t,
        cf: lv_img_cf_t,
    );
}
extern "C" {
    pub fn lv_canvas_set_px(canvas: *mut lv_obj_t, x: lv_coord_t, y: lv_coord_t, c: lv_color_t);
}
extern "C" {
    pub fn lv_canvas_set_palette(canvas: *mut lv_obj_t, id: u8, c: lv_color_t);
}
extern "C" {
    pub fn lv_canvas_get_px(canvas: *mut lv_obj_t, x: lv_coord_t, y: lv_coord_t) -> lv_color_t;
}
extern "C" {
    pub fn lv_canvas_get_img(canvas: *mut lv_obj_t) -> *mut lv_img_dsc_t;
}
extern "C" {
    pub fn lv_canvas_copy_buf(
        canvas: *mut lv_obj_t,
        to_copy: *const cty::c_void,
        x: lv_coord_t,
        y: lv_coord_t,
        w: lv_coord_t,
        h: lv_coord_t,
    );
}
extern "C" {
    pub fn lv_canvas_transform(
        canvas: *mut lv_obj_t,
        img: *mut lv_img_dsc_t,
        angle: i16,
        zoom: u16,
        offset_x: lv_coord_t,
        offset_y: lv_coord_t,
        pivot_x: i32,
        pivot_y: i32,
        antialias: bool,
    );
}
extern "C" {
    pub fn lv_canvas_blur_hor(canvas: *mut lv_obj_t, area: *const lv_area_t, r: u16);
}
extern "C" {
    pub fn lv_canvas_blur_ver(canvas: *mut lv_obj_t, area: *const lv_area_t, r: u16);
}
extern "C" {
    pub fn lv_canvas_fill_bg(canvas: *mut lv_obj_t, color: lv_color_t, opa: lv_opa_t);
}
extern "C" {
    pub fn lv_canvas_draw_rect(
        canvas: *mut lv_obj_t,
        x: lv_coord_t,
        y: lv_coord_t,
        w: lv_coord_t,
        h: lv_coord_t,
        rect_dsc: *mut lv_draw_rect_dsc_t,
    );
}
extern "C" {
    pub fn lv_canvas_draw_text(
        canvas: *mut lv_obj_t,
        x: lv_coord_t,
        y: lv_coord_t,
        max_w: lv_coord_t,
        label_draw_dsc: *mut lv_draw_label_dsc_t,
        txt: *const cty::c_char,
        align: lv_label_align_t,
    );
}
extern "C" {
    pub fn lv_canvas_draw_img(
        canvas: *mut lv_obj_t,
        x: lv_coord_t,
        y: lv_coord_t,
        src: *const cty::c_void,
        img_draw_dsc: *mut lv_draw_img_dsc_t,
    );
}
extern "C" {
    pub fn lv_canvas_draw_line(
        canvas: *mut lv_obj_t,
        points: *const lv_point_t,
        point_cnt: u32,
        line_draw_dsc: *mut lv_draw_line_dsc_t,
    );
}
extern "C" {
    pub fn lv_canvas_draw_polygon(
        canvas: *mut lv_obj_t,
        points: *const lv_point_t,
        point_cnt: u32,
        poly_draw_dsc: *mut lv_draw_rect_dsc_t,
    );
}
extern "C" {
    pub fn lv_canvas_draw_arc(
        canvas: *mut lv_obj_t,
        x: lv_coord_t,
        y: lv_coord_t,
        r: lv_coord_t,
        start_angle: i32,
        end_angle: i32,
        arc_draw_dsc: *mut lv_draw_line_dsc_t,
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_win_ext_t {
    pub page: *mut lv_obj_t,
    pub header: *mut lv_obj_t,
    pub title_txt: *mut cty::c_char,
    pub btn_w: lv_coord_t,
}
pub const LV_WIN_PART_BG: _bindgen_ty_76 = 0;
pub const _LV_WIN_PART_VIRTUAL_LAST: _bindgen_ty_76 = 1;
pub const LV_WIN_PART_HEADER: _bindgen_ty_76 = 64;
pub const LV_WIN_PART_CONTENT_SCROLLABLE: _bindgen_ty_76 = 65;
pub const LV_WIN_PART_SCROLLBAR: _bindgen_ty_76 = 66;
pub const _LV_WIN_PART_REAL_LAST: _bindgen_ty_76 = 67;
pub type _bindgen_ty_76 = u32;
extern "C" {
    pub fn lv_win_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_win_clean(win: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_win_add_btn(win: *mut lv_obj_t, img_src: *const cty::c_void) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_win_close_event_cb(btn: *mut lv_obj_t, event: lv_event_t);
}
extern "C" {
    pub fn lv_win_set_title(win: *mut lv_obj_t, title: *const cty::c_char);
}
extern "C" {
    pub fn lv_win_set_header_height(win: *mut lv_obj_t, size: lv_coord_t);
}
extern "C" {
    pub fn lv_win_set_btn_width(win: *mut lv_obj_t, width: lv_coord_t);
}
extern "C" {
    pub fn lv_win_set_content_size(win: *mut lv_obj_t, w: lv_coord_t, h: lv_coord_t);
}
extern "C" {
    pub fn lv_win_set_layout(win: *mut lv_obj_t, layout: lv_layout_t);
}
extern "C" {
    pub fn lv_win_set_scrollbar_mode(win: *mut lv_obj_t, sb_mode: lv_scrollbar_mode_t);
}
extern "C" {
    pub fn lv_win_set_anim_time(win: *mut lv_obj_t, anim_time: u16);
}
extern "C" {
    pub fn lv_win_set_drag(win: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_win_get_title(win: *const lv_obj_t) -> *const cty::c_char;
}
extern "C" {
    pub fn lv_win_get_content(win: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_win_get_header_height(win: *const lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_win_get_btn_width(win: *mut lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_win_get_from_btn(ctrl_btn: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_win_get_layout(win: *mut lv_obj_t) -> lv_layout_t;
}
extern "C" {
    pub fn lv_win_get_sb_mode(win: *mut lv_obj_t) -> lv_scrollbar_mode_t;
}
extern "C" {
    pub fn lv_win_get_anim_time(win: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_win_get_width(win: *mut lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_win_focus(win: *mut lv_obj_t, obj: *mut lv_obj_t, anim_en: lv_anim_enable_t);
}
pub const LV_TABVIEW_TAB_POS_NONE: _bindgen_ty_77 = 0;
pub const LV_TABVIEW_TAB_POS_TOP: _bindgen_ty_77 = 1;
pub const LV_TABVIEW_TAB_POS_BOTTOM: _bindgen_ty_77 = 2;
pub const LV_TABVIEW_TAB_POS_LEFT: _bindgen_ty_77 = 3;
pub const LV_TABVIEW_TAB_POS_RIGHT: _bindgen_ty_77 = 4;
pub type _bindgen_ty_77 = u32;
pub type lv_tabview_btns_pos_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_tabview_ext_t {
    pub btns: *mut lv_obj_t,
    pub indic: *mut lv_obj_t,
    pub content: *mut lv_obj_t,
    pub tab_name_ptr: *mut *const cty::c_char,
    pub point_last: lv_point_t,
    pub tab_cur: u16,
    pub tab_cnt: u16,
    pub anim_time: u16,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: u8,
}
impl lv_tabview_ext_t {
    #[inline]
    pub fn btns_pos(&self) -> lv_tabview_btns_pos_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 3u8) as u8) }
    }
    #[inline]
    pub fn set_btns_pos(&mut self, val: lv_tabview_btns_pos_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 3u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        btns_pos: lv_tabview_btns_pos_t,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 3u8, {
            let btns_pos: u8 = unsafe { ::core::mem::transmute(btns_pos) };
            btns_pos as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_TABVIEW_PART_BG: _bindgen_ty_78 = 0;
pub const _LV_TABVIEW_PART_VIRTUAL_LAST: _bindgen_ty_78 = 1;
pub const LV_TABVIEW_PART_BG_SCRLLABLE: _bindgen_ty_78 = 64;
pub const LV_TABVIEW_PART_TAB_BG: _bindgen_ty_78 = 65;
pub const LV_TABVIEW_PART_TAB_BTN: _bindgen_ty_78 = 66;
pub const LV_TABVIEW_PART_INDIC: _bindgen_ty_78 = 67;
pub const _LV_TABVIEW_PART_REAL_LAST: _bindgen_ty_78 = 68;
pub type _bindgen_ty_78 = u32;
pub type lv_tabview_part_t = u8;
extern "C" {
    pub fn lv_tabview_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_tabview_add_tab(tabview: *mut lv_obj_t, name: *const cty::c_char) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_tabview_clean_tab(tab: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_tabview_set_tab_act(tabview: *mut lv_obj_t, id: u16, anim: lv_anim_enable_t);
}
extern "C" {
    pub fn lv_tabview_set_anim_time(tabview: *mut lv_obj_t, anim_time: u16);
}
extern "C" {
    pub fn lv_tabview_set_btns_pos(tabview: *mut lv_obj_t, btns_pos: lv_tabview_btns_pos_t);
}
extern "C" {
    pub fn lv_tabview_get_tab_act(tabview: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_tabview_get_tab_count(tabview: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_tabview_get_tab(tabview: *const lv_obj_t, id: u16) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_tabview_get_anim_time(tabview: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_tabview_get_btns_pos(tabview: *const lv_obj_t) -> lv_tabview_btns_pos_t;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_tileview_ext_t {
    pub page: lv_page_ext_t,
    pub valid_pos: *const lv_point_t,
    pub valid_pos_cnt: u16,
    pub anim_time: u16,
    pub act_id: lv_point_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
impl lv_tileview_ext_t {
    #[inline]
    pub fn drag_top_en(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_drag_top_en(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn drag_bottom_en(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_drag_bottom_en(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn drag_left_en(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_drag_left_en(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn drag_right_en(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(3usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_drag_right_en(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(3usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        drag_top_en: u8,
        drag_bottom_en: u8,
        drag_left_en: u8,
        drag_right_en: u8,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let drag_top_en: u8 = unsafe { ::core::mem::transmute(drag_top_en) };
            drag_top_en as u64
        });
        __bindgen_bitfield_unit.set(1usize, 1u8, {
            let drag_bottom_en: u8 = unsafe { ::core::mem::transmute(drag_bottom_en) };
            drag_bottom_en as u64
        });
        __bindgen_bitfield_unit.set(2usize, 1u8, {
            let drag_left_en: u8 = unsafe { ::core::mem::transmute(drag_left_en) };
            drag_left_en as u64
        });
        __bindgen_bitfield_unit.set(3usize, 1u8, {
            let drag_right_en: u8 = unsafe { ::core::mem::transmute(drag_right_en) };
            drag_right_en as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_TILEVIEW_PART_BG: _bindgen_ty_79 = 0;
pub const LV_TILEVIEW_PART_SCROLLBAR: _bindgen_ty_79 = 1;
pub const LV_TILEVIEW_PART_EDGE_FLASH: _bindgen_ty_79 = 2;
pub const _LV_TILEVIEW_PART_VIRTUAL_LAST: _bindgen_ty_79 = 3;
pub const _LV_TILEVIEW_PART_REAL_LAST: _bindgen_ty_79 = 65;
pub type _bindgen_ty_79 = u32;
extern "C" {
    pub fn lv_tileview_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_tileview_add_element(tileview: *mut lv_obj_t, element: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_tileview_set_valid_positions(
        tileview: *mut lv_obj_t,
        valid_pos: *const lv_point_t,
        valid_pos_cnt: u16,
    );
}
extern "C" {
    pub fn lv_tileview_set_tile_act(
        tileview: *mut lv_obj_t,
        x: lv_coord_t,
        y: lv_coord_t,
        anim: lv_anim_enable_t,
    );
}
extern "C" {
    pub fn lv_tileview_get_tile_act(
        tileview: *mut lv_obj_t,
        x: *mut lv_coord_t,
        y: *mut lv_coord_t,
    );
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_msgbox_ext_t {
    pub bg: lv_cont_ext_t,
    pub text: *mut lv_obj_t,
    pub btnm: *mut lv_obj_t,
    pub anim_time: u16,
}
pub const LV_MSGBOX_PART_BG: _bindgen_ty_80 = 0;
pub const LV_MSGBOX_PART_BTN_BG: _bindgen_ty_80 = 64;
pub const LV_MSGBOX_PART_BTN: _bindgen_ty_80 = 65;
pub type _bindgen_ty_80 = u32;
pub type lv_msgbox_style_t = u8;
extern "C" {
    pub fn lv_msgbox_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_msgbox_add_btns(mbox: *mut lv_obj_t, btn_mapaction: *mut *const cty::c_char);
}
extern "C" {
    pub fn lv_msgbox_set_text(mbox: *mut lv_obj_t, txt: *const cty::c_char);
}
extern "C" {
    pub fn lv_msgbox_set_anim_time(mbox: *mut lv_obj_t, anim_time: u16);
}
extern "C" {
    pub fn lv_msgbox_start_auto_close(mbox: *mut lv_obj_t, delay: u16);
}
extern "C" {
    pub fn lv_msgbox_stop_auto_close(mbox: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_msgbox_set_recolor(mbox: *mut lv_obj_t, en: bool);
}
extern "C" {
    pub fn lv_msgbox_get_text(mbox: *const lv_obj_t) -> *const cty::c_char;
}
extern "C" {
    pub fn lv_msgbox_get_active_btn(mbox: *mut lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_msgbox_get_active_btn_text(mbox: *mut lv_obj_t) -> *const cty::c_char;
}
extern "C" {
    pub fn lv_msgbox_get_anim_time(mbox: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_msgbox_get_recolor(mbox: *const lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_msgbox_get_btnmatrix(mbox: *mut lv_obj_t) -> *mut lv_obj_t;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_objmask_mask_t {
    pub param: *mut cty::c_void,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_objmask_ext_t {
    pub cont: lv_cont_ext_t,
    pub mask_ll: lv_ll_t,
}
pub const LV_OBJMASK_PART_MAIN: _bindgen_ty_81 = 0;
pub type _bindgen_ty_81 = u32;
pub type lv_objmask_part_t = u8;
extern "C" {
    pub fn lv_objmask_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_objmask_add_mask(
        objmask: *mut lv_obj_t,
        param: *mut cty::c_void,
    ) -> *mut lv_objmask_mask_t;
}
extern "C" {
    pub fn lv_objmask_update_mask(
        objmask: *mut lv_obj_t,
        mask: *mut lv_objmask_mask_t,
        param: *mut cty::c_void,
    );
}
extern "C" {
    pub fn lv_objmask_remove_mask(objmask: *mut lv_obj_t, mask: *mut lv_objmask_mask_t);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_linemeter_ext_t {
    pub scale_angle: u16,
    pub angle_ofs: u16,
    pub line_cnt: u16,
    pub cur_value: i32,
    pub min_value: i32,
    pub max_value: i32,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
impl lv_linemeter_ext_t {
    #[inline]
    pub fn mirrored(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_mirrored(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(mirrored: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let mirrored: u8 = unsafe { ::core::mem::transmute(mirrored) };
            mirrored as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_LINEMETER_PART_MAIN: _bindgen_ty_82 = 0;
pub const _LV_LINEMETER_PART_VIRTUAL_LAST: _bindgen_ty_82 = 1;
pub const _LV_LINEMETER_PART_REAL_LAST: _bindgen_ty_82 = 64;
pub type _bindgen_ty_82 = u32;
pub type lv_linemeter_part_t = u8;
extern "C" {
    pub fn lv_linemeter_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_linemeter_set_value(lmeter: *mut lv_obj_t, value: i32);
}
extern "C" {
    pub fn lv_linemeter_set_range(lmeter: *mut lv_obj_t, min: i32, max: i32);
}
extern "C" {
    pub fn lv_linemeter_set_scale(lmeter: *mut lv_obj_t, angle: u16, line_cnt: u16);
}
extern "C" {
    pub fn lv_linemeter_set_angle_offset(lmeter: *mut lv_obj_t, angle: u16);
}
extern "C" {
    pub fn lv_linemeter_set_mirror(lmeter: *mut lv_obj_t, mirror: bool);
}
extern "C" {
    pub fn lv_linemeter_get_value(lmeter: *const lv_obj_t) -> i32;
}
extern "C" {
    pub fn lv_linemeter_get_min_value(lmeter: *const lv_obj_t) -> i32;
}
extern "C" {
    pub fn lv_linemeter_get_max_value(lmeter: *const lv_obj_t) -> i32;
}
extern "C" {
    pub fn lv_linemeter_get_line_count(lmeter: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_linemeter_get_scale_angle(lmeter: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_linemeter_get_angle_offset(lmeter: *mut lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_linemeter_draw_scale(lmeter: *mut lv_obj_t, clip_area: *const lv_area_t, part: u8);
}
extern "C" {
    pub fn lv_linemeter_get_mirror(lmeter: *mut lv_obj_t) -> bool;
}
pub type lv_gauge_format_cb_t = ::core::option::Option<
    unsafe extern "C" fn(
        gauge: *mut lv_obj_t,
        buf: *mut cty::c_char,
        bufsize: cty::c_int,
        value: i32,
    ),
>;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_gauge_ext_t {
    pub lmeter: lv_linemeter_ext_t,
    pub values: *mut i32,
    pub needle_colors: *const lv_color_t,
    pub needle_img: *const cty::c_void,
    pub needle_img_pivot: lv_point_t,
    pub style_needle: lv_style_list_t,
    pub style_strong: lv_style_list_t,
    pub needle_count: u8,
    pub label_count: u8,
    pub format_cb: lv_gauge_format_cb_t,
}
pub const LV_GAUGE_PART_MAIN: _bindgen_ty_83 = 0;
pub const LV_GAUGE_PART_MAJOR: _bindgen_ty_83 = 1;
pub const LV_GAUGE_PART_NEEDLE: _bindgen_ty_83 = 2;
pub const _LV_GAUGE_PART_VIRTUAL_LAST: _bindgen_ty_83 = 1;
pub const _LV_GAUGE_PART_REAL_LAST: _bindgen_ty_83 = 64;
pub type _bindgen_ty_83 = u32;
pub type lv_gauge_style_t = u8;
extern "C" {
    pub fn lv_gauge_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_gauge_set_needle_count(
        gauge: *mut lv_obj_t,
        needle_cnt: u8,
        colors: *const lv_color_t,
    );
}
extern "C" {
    pub fn lv_gauge_set_value(gauge: *mut lv_obj_t, needle_id: u8, value: i32);
}
extern "C" {
    pub fn lv_gauge_set_scale(gauge: *mut lv_obj_t, angle: u16, line_cnt: u8, label_cnt: u8);
}
extern "C" {
    pub fn lv_gauge_set_needle_img(
        gauge: *mut lv_obj_t,
        img: *const cty::c_void,
        pivot_x: lv_coord_t,
        pivot_y: lv_coord_t,
    );
}
extern "C" {
    pub fn lv_gauge_set_formatter_cb(gauge: *mut lv_obj_t, format_cb: lv_gauge_format_cb_t);
}
extern "C" {
    pub fn lv_gauge_get_value(gauge: *const lv_obj_t, needle: u8) -> i32;
}
extern "C" {
    pub fn lv_gauge_get_needle_count(gauge: *const lv_obj_t) -> u8;
}
extern "C" {
    pub fn lv_gauge_get_label_count(gauge: *const lv_obj_t) -> u8;
}
extern "C" {
    pub fn lv_gauge_get_needle_img(gauge: *mut lv_obj_t) -> *const cty::c_void;
}
extern "C" {
    pub fn lv_gauge_get_needle_img_pivot_x(gauge: *mut lv_obj_t) -> lv_coord_t;
}
extern "C" {
    pub fn lv_gauge_get_needle_img_pivot_y(gauge: *mut lv_obj_t) -> lv_coord_t;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_switch_ext_t {
    pub bar: lv_bar_ext_t,
    pub style_knob: lv_style_list_t,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
impl lv_switch_ext_t {
    #[inline]
    pub fn state(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_state(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(state: u8) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let state: u8 = unsafe { ::core::mem::transmute(state) };
            state as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_SWITCH_PART_BG: _bindgen_ty_84 = 0;
pub const LV_SWITCH_PART_INDIC: _bindgen_ty_84 = 1;
pub const LV_SWITCH_PART_KNOB: _bindgen_ty_84 = 2;
pub const _LV_SWITCH_PART_VIRTUAL_LAST: _bindgen_ty_84 = 3;
pub type _bindgen_ty_84 = u32;
pub type lv_switch_part_t = u8;
extern "C" {
    pub fn lv_switch_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_switch_on(sw: *mut lv_obj_t, anim: lv_anim_enable_t);
}
extern "C" {
    pub fn lv_switch_off(sw: *mut lv_obj_t, anim: lv_anim_enable_t);
}
extern "C" {
    pub fn lv_switch_toggle(sw: *mut lv_obj_t, anim: lv_anim_enable_t) -> bool;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_arc_ext_t {
    pub rotation_angle: u16,
    pub arc_angle_start: u16,
    pub arc_angle_end: u16,
    pub bg_angle_start: u16,
    pub bg_angle_end: u16,
    pub style_arc: lv_style_list_t,
}
pub const LV_ARC_PART_BG: _bindgen_ty_85 = 0;
pub const LV_ARC_PART_INDIC: _bindgen_ty_85 = 1;
pub const _LV_ARC_PART_VIRTUAL_LAST: _bindgen_ty_85 = 2;
pub const _LV_ARC_PART_REAL_LAST: _bindgen_ty_85 = 64;
pub type _bindgen_ty_85 = u32;
pub type lv_arc_part_t = u8;
extern "C" {
    pub fn lv_arc_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_arc_set_start_angle(arc: *mut lv_obj_t, start: u16);
}
extern "C" {
    pub fn lv_arc_set_end_angle(arc: *mut lv_obj_t, end: u16);
}
extern "C" {
    pub fn lv_arc_set_angles(arc: *mut lv_obj_t, start: u16, end: u16);
}
extern "C" {
    pub fn lv_arc_set_bg_start_angle(arc: *mut lv_obj_t, start: u16);
}
extern "C" {
    pub fn lv_arc_set_bg_end_angle(arc: *mut lv_obj_t, end: u16);
}
extern "C" {
    pub fn lv_arc_set_bg_angles(arc: *mut lv_obj_t, start: u16, end: u16);
}
extern "C" {
    pub fn lv_arc_set_rotation(arc: *mut lv_obj_t, rotation_angle: u16);
}
extern "C" {
    pub fn lv_arc_get_angle_start(arc: *mut lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_arc_get_angle_end(arc: *mut lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_arc_get_bg_angle_start(arc: *mut lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_arc_get_bg_angle_end(arc: *mut lv_obj_t) -> u16;
}
pub const LV_SPINNER_TYPE_SPINNING_ARC: _bindgen_ty_86 = 0;
pub const LV_SPINNER_TYPE_FILLSPIN_ARC: _bindgen_ty_86 = 1;
pub const LV_SPINNER_TYPE_CONSTANT_ARC: _bindgen_ty_86 = 2;
pub type _bindgen_ty_86 = u32;
pub type lv_spinner_type_t = u8;
pub const LV_SPINNER_DIR_FORWARD: _bindgen_ty_87 = 0;
pub const LV_SPINNER_DIR_BACKWARD: _bindgen_ty_87 = 1;
pub type _bindgen_ty_87 = u32;
pub type lv_spinner_dir_t = u8;
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_spinner_ext_t {
    pub arc: lv_arc_ext_t,
    pub arc_length: lv_anim_value_t,
    pub time: u16,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 1usize], u8>,
    pub __bindgen_padding_0: [u8; 3usize],
}
impl lv_spinner_ext_t {
    #[inline]
    pub fn anim_type(&self) -> lv_spinner_type_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 2u8) as u8) }
    }
    #[inline]
    pub fn set_anim_type(&mut self, val: lv_spinner_type_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 2u8, val as u64)
        }
    }
    #[inline]
    pub fn anim_dir(&self) -> lv_spinner_dir_t {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(2usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_anim_dir(&mut self, val: lv_spinner_dir_t) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(2usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        anim_type: lv_spinner_type_t,
        anim_dir: lv_spinner_dir_t,
    ) -> __BindgenBitfieldUnit<[u8; 1usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 1usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 2u8, {
            let anim_type: u8 = unsafe { ::core::mem::transmute(anim_type) };
            anim_type as u64
        });
        __bindgen_bitfield_unit.set(2usize, 1u8, {
            let anim_dir: u8 = unsafe { ::core::mem::transmute(anim_dir) };
            anim_dir as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_SPINNER_PART_BG: _bindgen_ty_88 = 0;
pub const LV_SPINNER_PART_INDIC: _bindgen_ty_88 = 1;
pub const _LV_SPINNER_PART_VIRTUAL_LAST: _bindgen_ty_88 = 2;
pub const _LV_SPINNER_PART_REAL_LAST: _bindgen_ty_88 = 64;
pub type _bindgen_ty_88 = u32;
pub type lv_spinner_style_t = u8;
extern "C" {
    pub fn lv_spinner_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_spinner_set_arc_length(spinner: *mut lv_obj_t, deg: lv_anim_value_t);
}
extern "C" {
    pub fn lv_spinner_set_spin_time(spinner: *mut lv_obj_t, time: u16);
}
extern "C" {
    pub fn lv_spinner_set_type(spinner: *mut lv_obj_t, type_: lv_spinner_type_t);
}
extern "C" {
    pub fn lv_spinner_set_dir(spinner: *mut lv_obj_t, dir: lv_spinner_dir_t);
}
extern "C" {
    pub fn lv_spinner_get_arc_length(spinner: *const lv_obj_t) -> lv_anim_value_t;
}
extern "C" {
    pub fn lv_spinner_get_spin_time(spinner: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_spinner_get_type(spinner: *mut lv_obj_t) -> lv_spinner_type_t;
}
extern "C" {
    pub fn lv_spinner_get_dir(spinner: *mut lv_obj_t) -> lv_spinner_dir_t;
}
extern "C" {
    pub fn lv_spinner_anim_cb(ptr: *mut cty::c_void, val: lv_anim_value_t);
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_calendar_date_t {
    pub year: u16,
    pub month: i8,
    pub day: i8,
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_calendar_ext_t {
    pub today: lv_calendar_date_t,
    pub showed_date: lv_calendar_date_t,
    pub highlighted_dates: *mut lv_calendar_date_t,
    pub btn_pressing: i8,
    pub highlighted_dates_num: u16,
    pub pressed_date: lv_calendar_date_t,
    pub day_names: *mut *const cty::c_char,
    pub month_names: *mut *const cty::c_char,
    pub style_header: lv_style_list_t,
    pub style_day_names: lv_style_list_t,
    pub style_date_nums: lv_style_list_t,
}
pub const LV_CALENDAR_PART_BG: _bindgen_ty_89 = 0;
pub const LV_CALENDAR_PART_HEADER: _bindgen_ty_89 = 1;
pub const LV_CALENDAR_PART_DAY_NAMES: _bindgen_ty_89 = 2;
pub const LV_CALENDAR_PART_DATE: _bindgen_ty_89 = 3;
pub type _bindgen_ty_89 = u32;
pub type lv_calendar_part_t = u8;
extern "C" {
    pub fn lv_calendar_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_calendar_set_today_date(calendar: *mut lv_obj_t, today: *mut lv_calendar_date_t);
}
extern "C" {
    pub fn lv_calendar_set_showed_date(calendar: *mut lv_obj_t, showed: *mut lv_calendar_date_t);
}
extern "C" {
    pub fn lv_calendar_set_highlighted_dates(
        calendar: *mut lv_obj_t,
        highlighted: *mut lv_calendar_date_t,
        date_num: u16,
    );
}
extern "C" {
    pub fn lv_calendar_set_day_names(calendar: *mut lv_obj_t, day_names: *mut *const cty::c_char);
}
extern "C" {
    pub fn lv_calendar_set_month_names(
        calendar: *mut lv_obj_t,
        month_names: *mut *const cty::c_char,
    );
}
extern "C" {
    pub fn lv_calendar_get_today_date(calendar: *const lv_obj_t) -> *mut lv_calendar_date_t;
}
extern "C" {
    pub fn lv_calendar_get_showed_date(calendar: *const lv_obj_t) -> *mut lv_calendar_date_t;
}
extern "C" {
    pub fn lv_calendar_get_pressed_date(calendar: *const lv_obj_t) -> *mut lv_calendar_date_t;
}
extern "C" {
    pub fn lv_calendar_get_highlighted_dates(calendar: *const lv_obj_t) -> *mut lv_calendar_date_t;
}
extern "C" {
    pub fn lv_calendar_get_highlighted_dates_num(calendar: *const lv_obj_t) -> u16;
}
extern "C" {
    pub fn lv_calendar_get_day_names(calendar: *const lv_obj_t) -> *mut *const cty::c_char;
}
extern "C" {
    pub fn lv_calendar_get_month_names(calendar: *const lv_obj_t) -> *mut *const cty::c_char;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct lv_spinbox_ext_t {
    pub ta: lv_textarea_ext_t,
    pub value: i32,
    pub range_max: i32,
    pub range_min: i32,
    pub step: i32,
    pub _bitfield_1: __BindgenBitfieldUnit<[u8; 2usize], u8>,
    pub __bindgen_padding_0: u16,
}
impl lv_spinbox_ext_t {
    #[inline]
    pub fn rollover(&self) -> u8 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(0usize, 1u8) as u8) }
    }
    #[inline]
    pub fn set_rollover(&mut self, val: u8) {
        unsafe {
            let val: u8 = ::core::mem::transmute(val);
            self._bitfield_1.set(0usize, 1u8, val as u64)
        }
    }
    #[inline]
    pub fn digit_count(&self) -> u16 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(1usize, 4u8) as u16) }
    }
    #[inline]
    pub fn set_digit_count(&mut self, val: u16) {
        unsafe {
            let val: u16 = ::core::mem::transmute(val);
            self._bitfield_1.set(1usize, 4u8, val as u64)
        }
    }
    #[inline]
    pub fn dec_point_pos(&self) -> u16 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(5usize, 4u8) as u16) }
    }
    #[inline]
    pub fn set_dec_point_pos(&mut self, val: u16) {
        unsafe {
            let val: u16 = ::core::mem::transmute(val);
            self._bitfield_1.set(5usize, 4u8, val as u64)
        }
    }
    #[inline]
    pub fn digit_padding_left(&self) -> u16 {
        unsafe { ::core::mem::transmute(self._bitfield_1.get(9usize, 4u8) as u16) }
    }
    #[inline]
    pub fn set_digit_padding_left(&mut self, val: u16) {
        unsafe {
            let val: u16 = ::core::mem::transmute(val);
            self._bitfield_1.set(9usize, 4u8, val as u64)
        }
    }
    #[inline]
    pub fn new_bitfield_1(
        rollover: u8,
        digit_count: u16,
        dec_point_pos: u16,
        digit_padding_left: u16,
    ) -> __BindgenBitfieldUnit<[u8; 2usize], u8> {
        let mut __bindgen_bitfield_unit: __BindgenBitfieldUnit<[u8; 2usize], u8> =
            Default::default();
        __bindgen_bitfield_unit.set(0usize, 1u8, {
            let rollover: u8 = unsafe { ::core::mem::transmute(rollover) };
            rollover as u64
        });
        __bindgen_bitfield_unit.set(1usize, 4u8, {
            let digit_count: u16 = unsafe { ::core::mem::transmute(digit_count) };
            digit_count as u64
        });
        __bindgen_bitfield_unit.set(5usize, 4u8, {
            let dec_point_pos: u16 = unsafe { ::core::mem::transmute(dec_point_pos) };
            dec_point_pos as u64
        });
        __bindgen_bitfield_unit.set(9usize, 4u8, {
            let digit_padding_left: u16 = unsafe { ::core::mem::transmute(digit_padding_left) };
            digit_padding_left as u64
        });
        __bindgen_bitfield_unit
    }
}
pub const LV_SPINBOX_PART_BG: _bindgen_ty_90 = 0;
pub const LV_SPINBOX_PART_CURSOR: _bindgen_ty_90 = 3;
pub const _LV_SPINBOX_PART_VIRTUAL_LAST: _bindgen_ty_90 = 5;
pub const _LV_SPINBOX_PART_REAL_LAST: _bindgen_ty_90 = 65;
pub type _bindgen_ty_90 = u32;
pub type lv_spinbox_part_t = u8;
extern "C" {
    pub fn lv_spinbox_create(par: *mut lv_obj_t, copy: *const lv_obj_t) -> *mut lv_obj_t;
}
extern "C" {
    pub fn lv_spinbox_set_rollover(spinbox: *mut lv_obj_t, b: bool);
}
extern "C" {
    pub fn lv_spinbox_set_value(spinbox: *mut lv_obj_t, i: i32);
}
extern "C" {
    pub fn lv_spinbox_set_digit_format(
        spinbox: *mut lv_obj_t,
        digit_count: u8,
        separator_position: u8,
    );
}
extern "C" {
    pub fn lv_spinbox_set_step(spinbox: *mut lv_obj_t, step: u32);
}
extern "C" {
    pub fn lv_spinbox_set_range(spinbox: *mut lv_obj_t, range_min: i32, range_max: i32);
}
extern "C" {
    pub fn lv_spinbox_set_padding_left(spinbox: *mut lv_obj_t, padding: u8);
}
extern "C" {
    pub fn lv_spinbox_get_rollover(spinbox: *mut lv_obj_t) -> bool;
}
extern "C" {
    pub fn lv_spinbox_get_value(spinbox: *mut lv_obj_t) -> i32;
}
extern "C" {
    pub fn lv_spinbox_step_next(spinbox: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_spinbox_step_prev(spinbox: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_spinbox_increment(spinbox: *mut lv_obj_t);
}
extern "C" {
    pub fn lv_spinbox_decrement(spinbox: *mut lv_obj_t);
}
#[repr(C)]
#[derive(Copy, Clone)]
pub struct lv_img_cache_entry_t {
    pub dec_dsc: lv_img_decoder_dsc_t,
    pub life: i32,
}
extern "C" {
    pub fn _lv_img_cache_open(
        src: *const cty::c_void,
        color: lv_color_t,
    ) -> *mut lv_img_cache_entry_t;
}
extern "C" {
    pub fn lv_img_cache_set_size(new_slot_num: u16);
}
extern "C" {
    pub fn lv_img_cache_invalidate_src(src: *const cty::c_void);
}
extern "C" {
    pub fn _LV_COLOR_MAKE(r: u8, g: u8, b: u8) -> lv_color_t;
}
extern "C" {
    pub fn _LV_COLOR_GET_R(color: lv_color_t) -> u16;
}
extern "C" {
    pub fn _LV_COLOR_GET_G(color: lv_color_t) -> u16;
}
extern "C" {
    pub fn _LV_COLOR_GET_B(color: lv_color_t) -> u16;
}
extern "C" {
    pub fn _LV_COLOR_GET_A(color: lv_color_t) -> u16;
}
#[repr(C)]
#[derive(Debug, Copy, Clone)]
pub struct __locale_data {
    pub _address: u8,
}
pub type __builtin_va_list = *mut cty::c_char;