瀏覽代碼

Update generating document for raygui

Steven Schveighoffer 2 年之前
父節點
當前提交
fc44ff249e
共有 1 個文件被更改,包括 9 次插入0 次删除
  1. 9 0
      generating.md

+ 9 - 0
generating.md

@@ -51,4 +51,13 @@ edit it to `extern (C) @nogc nothrow:`.
 
 This should be enough. Run `dub test` and see if it compiles.
 
+## Generating raygui
+
+Using [ctod], I have completely ported raygui.h to D. This was not as swift a process as creating the C header bindings for raylib, and is fairly untested. However, the old raygui modules was completely out of date, so this should be a much needed update.
+
+The changes are fairly involved, and mostly involve fixing the compiler errors that occur when trying to build the example program.
+
+Unlike the old raygui.d, this does not need a binding library -- it's included in the raylib-d build directly.
+
 [dstep]: https://github.com/jacob-carlborg/dstep
+[ctod]: https://github.com/dkorpel/ctod