{"id":17975772,"url":"https://github.com/aiekick/imcoolbar","last_synced_at":"2025-03-25T15:30:42.676Z","repository":{"id":177722999,"uuid":"658574345","full_name":"aiekick/ImCoolBar","owner":"aiekick","description":"A Cool bar for Dear ImGui (MacOs Dock Magnification Effect Like)","archived":false,"fork":false,"pushed_at":"2024-06-03T17:52:03.000Z","size":21953,"stargazers_count":164,"open_issues_count":1,"forks_count":19,"subscribers_count":5,"default_branch":"master","last_synced_at":"2025-03-20T13:03:51.878Z","etag":null,"topics":["bar","cool","dear-imgui","dearimgui","dock","linux","macos","magnification","windows"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aiekick.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,"publiccode":null,"codemeta":null}},"created_at":"2023-06-26T04:39:48.000Z","updated_at":"2025-03-20T12:30:30.000Z","dependencies_parsed_at":null,"dependency_job_id":"19644f86-eca2-4aa4-bd70-74095f5604f0","html_url":"https://github.com/aiekick/ImCoolBar","commit_stats":null,"previous_names":["aiekick/imcoolbar"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiekick%2FImCoolBar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiekick%2FImCoolBar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiekick%2FImCoolBar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aiekick%2FImCoolBar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aiekick","download_url":"https://codeload.github.com/aiekick/ImCoolBar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245489754,"owners_count":20623789,"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":["bar","cool","dear-imgui","dearimgui","dock","linux","macos","magnification","windows"],"created_at":"2024-10-29T17:21:16.552Z","updated_at":"2025-03-25T15:30:42.154Z","avatar_url":"https://github.com/aiekick.png","language":"C++","readme":"[![Win](https://github.com/aiekick/ImCoolBar/actions/workflows/Win.yml/badge.svg)](https://github.com/aiekick/ImCoolBar/actions/workflows/Win.yml)\n[![Linux](https://github.com/aiekick/ImCoolBar/actions/workflows/Linux.yml/badge.svg)](https://github.com/aiekick/ImCoolBar/actions/workflows/Linux.yml)\n[![Osx](https://github.com/aiekick/ImCoolBar/actions/workflows/Osx.yml/badge.svg)](https://github.com/aiekick/ImCoolBar/actions/workflows/Osx.yml)\n\n# ImCoolbar\n\n# Minimal Sample\n\n```cpp\n\tauto coolbar_button     = [](const char* label) -\u003e bool {\n\t\tfloat w         = ImGui::GetCoolBarItemWidth();\n\t\tauto font_ptr   = ImGui::GetIO().Fonts-\u003eFonts[0];\n\t\tfont_ptr-\u003eScale = ImGui::GetCoolBarItemScale();\n\t\tImGui::PushFont(font_ptr);\n\t\tbool res = ImGui::Button(label, ImVec2(w, w));\n\t\tImGui::PopFont();\n\t\treturn res;\n\t};\n\t\t\n\tif (ImGui::BeginCoolBar(\"##CoolBarMain\", ImCoolBar_Horizontal, ImVec2(0.5f, 1.0f))) {\n\t\tif (ImGui::CoolBarItem()) {\n\t\t\tif (coolbar_button(\"A\")) {\n\t\t\t\n\t\t\t}\n\t\t}\n\t\tif (ImGui::CoolBarItem()) {\n\t\t\tif (coolbar_button(\"B\")) {\n\t\t\t\n\t\t\t}\n\t\t}\n\t\tif (ImGui::CoolBarItem()) {\n\t\t\tif (coolbar_button(\"C\")) {\n\t\t\t\n\t\t\t}\n\t\t}\n\t\tif (ImGui::CoolBarItem()) {\n\t\t\tif (coolbar_button(\"D\")) {\n\t\t\t\n\t\t\t}\n\t\t}\n\t\tif (ImGui::CoolBarItem()) {\n\t\t\tif (coolbar_button(\"E\")) {\n\t\t\t\n\t\t\t}\n\t\t}\n\t\tif (ImGui::CoolBarItem()) {\n\t\t\tif (coolbar_button(\"F\")) {\n\t\t\t\n\t\t\t}\n\t\t}\n\t\tif (ImGui::CoolBarItem()) {\n\t\t\tif (coolbar_button(\"G\")) {\n\t\t\t\n\t\t\t}\n\t\t}\n\t\tif (ImGui::CoolBarItem()) {\n\t\t\tif (coolbar_button(\"H\")) {\n\t\t\t\n\t\t\t}\n\t\t}\n\t\tif (ImGui::CoolBarItem()) {\n\t\t\tif (coolbar_button(\"I\")) {\n\t\t\t\n\t\t\t}\n\t\t}\n\t\tif (ImGui::CoolBarItem()) {\n\t\t\tif (coolbar_button(\"J\")) {\n\t\t\t\n\t\t\t}\n\t\t}\n\t\tif (ImGui::CoolBarItem()) {\n\t\t\tif (coolbar_button(\"K\")) {\n\t\t\t\n\t\t\t}\n\t\t}\n\t\tif (ImGui::CoolBarItem()) {\n\t\t\tif (coolbar_button(\"L\")) {\n\t\t\t\n\t\t\t}\n\t\t}\n\t\tif (ImGui::CoolBarItem()) {\n\t\t\tif (coolbar_button(\"M\")) {\n\t\t\t\n\t\t\t}\n\t\t}\n\t\tImGui::EndCoolBar();\n\t}\n```\n\nResult : \n\n![alt text](https://github.com/aiekick/ImCoolBar/blob/DemoApp/doc/minimal_code.gif)\n\n# Demo App \n\n![alt text](https://github.com/aiekick/ImCoolBar/blob/DemoApp/doc/DemoApp.gif)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiekick%2Fimcoolbar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faiekick%2Fimcoolbar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faiekick%2Fimcoolbar/lists"}