4 Commits

Author SHA1 Message Date
Not-Nik
fe34354be0
Seperate error union 2024-07-06 22:36:29 +02:00
Dumb Bird
2d8e856009
Make use of Zigs doc comments (#116)
* copy over inline comments

* remove trailing comma

* add more doc comments

* implement requested changes

* Newly generated file

* Manually add docstrings to raygui functions in prelude

* Fix generator script

---------

Co-authored-by: Not-Nik <nik.wipper@gmx.de>
2024-07-03 21:32:56 +02:00
Not-Nik
fb11a4e1c8
Make panel text optional (#109) 2024-06-25 19:49:57 +02:00
Mohanavel S K
efb7b736db
Adding support for raygui (#95)
* updated build.zig and generate_functions.py to add raygui

* added raygui.h and manually coded some structs & enums in raygui prelude WIP

* ported all the structs, enums and globals to zig till raygui implementation

* imported types from raylib in raygui

* re-encoded raygui-prelude.zig. I don't know for some reason it was showing up as UTF-16 unicode text file. re-encoded it to UTF-8

* fixed imports in prelude to work properly with generated files

* updated generate_functions.py file to generate for raygui [text type error not fixed]

* simple temporary patch for mentioned text type issue

* removed unused imports from raylib in raygui

* added generated files

* Manually define raygui functions for slice arguments

* Manually define raygui functions with pointer return values

---------

Co-authored-by: Not-Nik <nik.wipper@gmx.de>
2024-05-31 19:24:05 +02:00