{"id":16213907,"url":"https://github.com/alfredbaudisch/raylib-cimgui","last_synced_at":"2025-03-19T09:31:08.369Z","repository":{"id":232049117,"uuid":"783337968","full_name":"alfredbaudisch/raylib-cimgui","owner":"alfredbaudisch","description":"A pure C raylib backend for the immediate mode gui Dear ImGui, on top of cimgui","archived":false,"fork":false,"pushed_at":"2024-04-07T16:10:41.000Z","size":347,"stargazers_count":29,"open_issues_count":2,"forks_count":2,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-15T05:35:56.350Z","etag":null,"topics":["c","dear-imgui","imgui","immediate-gui","raylib"],"latest_commit_sha":null,"homepage":"","language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"zlib","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/alfredbaudisch.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-04-07T16:04:12.000Z","updated_at":"2025-03-13T08:37:19.000Z","dependencies_parsed_at":"2024-04-07T17:26:13.539Z","dependency_job_id":"e1587154-b646-4a8c-8390-ebc3bf1cbc0a","html_url":"https://github.com/alfredbaudisch/raylib-cimgui","commit_stats":null,"previous_names":["alfredbaudisch/raylib-cimgui"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfredbaudisch%2Fraylib-cimgui","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfredbaudisch%2Fraylib-cimgui/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfredbaudisch%2Fraylib-cimgui/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alfredbaudisch%2Fraylib-cimgui/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alfredbaudisch","download_url":"https://codeload.github.com/alfredbaudisch/raylib-cimgui/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243982141,"owners_count":20378605,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["c","dear-imgui","imgui","immediate-gui","raylib"],"created_at":"2024-10-10T11:09:02.372Z","updated_at":"2025-03-19T09:31:07.462Z","avatar_url":"https://github.com/alfredbaudisch.png","language":"C","readme":"# raylib cimgui\n\nA pure C raylib backend for the immediate mode gui [Dear ImGui](https://github.com/ocornut/imgui), on top of [cimgui](https://github.com/cimgui/cimgui).\n\nThis Dear ImGui backend is heavily adapted from the excellent C++ raylib's Dear ImGui backend [raylib-extras/rlImGui](https://github.com/raylib-extras/rlImGui).\n\n![](examples/raylib-cimgui-example.png)\n\n## Building\n- cimgui can be linked both dynamically or statically to your raylib project.\n    - Statically linking to cimgui requires linking `-lstdc++`.\n\n- Clone or install raylib somewhere.\n\n- Clone cimgui somewhere:\n```\n    git clone --recursive https://github.com/cimgui/cimgui.git\n    git submodule update --init --recursive\n```\n\n- Include and link cimgui.\n- Build `rlcimgui.c` alongside your project.\n\n### Building in a raylib project\nCheck the included example Makefile in the examples folder. \n\n```\nCIMGUI_PATH = /path/to/cimgui\n#...\nINCLUDE_PATHS += -I$(CIMGUI_PATH)\n#...\nLDFLAGS +=  -L$(CIMGUI_PATH)\n#...\nLDLIBS += -lcimgui -lstdc++\n\n# Build rlcimgui.c alongside the project\nPROJECT_SOURCE_FILES ?= \\\n    ../rlcimgui.c \\\n    raylib_cimgui_demo.c\n\n#...\n\n# Build cimgui and Dear ImGui\n$(CIMGUI_PATH)/libcimgui.a:\n\t$(MAKE) -C $(CIMGUI_PATH) CXXFLAGS=\"-O1 -fno-exceptions -fno-rtti -std=c++11 -DIMGUI_DISABLE_OBSOLETE_KEYIO=1\" static\n```\n\nAcknowledgments to [Lucrecious](https://github.com/Lucrecious) for some of the Makefile tips. Check his \"Makefile.alternative\" in the examples folder (requires adjustment, since Lucrecious' file is aimed at using [rlImGui](https://github.com/raylib-extras/rlImGui)).\n\n## Usage\nSee the included examples in the \"examples\" folder.\n\n### Example\nTo build and run the example, edit the paths in Makefile (CIMGUI_PATH and RAYLIB_PATH), then:\n\n```\ncd examples\nmake\n./raylib_cimgui_demo.exe\n```\n\n## Font Awesome Icons\n\nInspired by rlImGui, support for Font Awesome 6 https://fontawesome.com/ is also built into raylib cimgui and enabled by default. You can simply `#include \"extras/IconsFontAwesome6.h\"` to use the ICON_FA macros for any icon in the free set.\n\nThe example `raylib_cimgui_demo.c` already includes usage for Font Awesome.\n\nIf you wish to disable font awesome support you can `#define NO_FONT_AWESOME`.","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfredbaudisch%2Fraylib-cimgui","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falfredbaudisch%2Fraylib-cimgui","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falfredbaudisch%2Fraylib-cimgui/lists"}