Skip to content

Commit

Permalink
move sokol_gfx_imgui.h to util/, update docs
Browse files Browse the repository at this point in the history
  • Loading branch information
floooh committed Mar 15, 2019
1 parent 97fc8cc commit 072b8d2
Show file tree
Hide file tree
Showing 5 changed files with 83 additions and 564 deletions.
18 changes: 18 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
**Sokol (Сокол)**: Russian for Falcon, a smaller and more nimble
bird of prey than the Eagle (Орёл, Oryol)

[See what's new](#updates)

Minimalistic header-only cross-platform libs in C:

- **sokol\_gfx.h**: 3D-API wrapper (GL + Metal + D3D11)
Expand Down Expand Up @@ -407,6 +409,22 @@ Mainly some "missing features" for desktop apps:
# Updates
- **15-Mar-2019**: various Dear ImGui related changes:
- there's a new utility header sokol_imgui.h with a simple drop-in
renderer for Dear ImGui on top of sokol_gfx.h and sokol_app.h
(sokol_app.h is optional, and only used for input handling)
- the sokol_gfx_imgui.h debug inspection header no longer
depends on internal data structures and functions of sokol_gfx.h, as such
it is now a normal *utility header* and has been moved to the *utils*
directory
- the implementation macro for sokol_gfx_imgui.h has been changed
from SOKOL_IMPL to SOKOL_GFX_IMGUI_IMPL (so when you suddenly get
unresoled linker errors, that's the reason)
- all headers now have two preprocessor defines for the declaration
and implementation (for instance in sokol_gfx.h: SOKOL_GFX_INCLUDED
and SOKOL_GFX_IMPL_INCLUDED) these are checked in the utility-headers
to provide useful error message when dependent headers are missing
- **05-Mar-2019**: sokol_gfx.h now has a 'trace hook' API, and I have started
implementing optional debug-inspection-UI headers on top of Dear ImGui:
- sokol_gfx.h has a new function *sg_install_trace_hooks()*, this allows
Expand Down
2 changes: 1 addition & 1 deletion fips.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
exports:
header-dirs: [ ".", "imgui", "util" ]
header-dirs: [ ".", "util" ]
Loading

0 comments on commit 072b8d2

Please sign in to comment.