{"id":13731974,"url":"https://github.com/BentleyBlanks/imguiDock","last_synced_at":"2025-05-08T06:30:52.511Z","repository":{"id":38375264,"uuid":"116445390","full_name":"BentleyBlanks/imguiDock","owner":"BentleyBlanks","description":"An addon of imgui for supporting docks in the imgui's window","archived":false,"fork":false,"pushed_at":"2023-04-19T20:33:51.000Z","size":24,"stargazers_count":235,"open_issues_count":7,"forks_count":30,"subscribers_count":13,"default_branch":"master","last_synced_at":"2024-08-04T02:10:39.048Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/BentleyBlanks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-01-06T02:06:59.000Z","updated_at":"2024-07-31T08:37:58.000Z","dependencies_parsed_at":"2022-07-12T01:47:32.647Z","dependency_job_id":null,"html_url":"https://github.com/BentleyBlanks/imguiDock","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BentleyBlanks%2FimguiDock","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BentleyBlanks%2FimguiDock/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BentleyBlanks%2FimguiDock/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/BentleyBlanks%2FimguiDock/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/BentleyBlanks","download_url":"https://codeload.github.com/BentleyBlanks/imguiDock/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224707570,"owners_count":17356357,"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":[],"created_at":"2024-08-03T02:01:42.947Z","updated_at":"2024-11-14T23:30:41.093Z","avatar_url":"https://github.com/BentleyBlanks.png","language":"C++","funding_links":[],"categories":["Graphics"],"sub_categories":[],"readme":"## imguiDock\nAn addon of [imgui](https://github.com/ocornut/imgui/wiki) for support dock in the window\n\n\u003ca data-flickr-embed=\"true\"  href=\"https://www.flickr.com/photos/134486032@N03/24660622177/in/dateposted-public/\" title=\"QQ图片20180106100302\"\u003e\u003cimg src=\"https://farm5.staticflickr.com/4683/24660622177_7dafeee6e1_c.jpg\" width=\"800\" height=\"621\" alt=\"QQ图片20180106100302\"\u003e\u003c/a\u003e\n\n## How to use\n```cpp\nvoid setup(){\n\t// auto-load the imgui.ini settings\n\tImGui::InitDock();\n}\n\nvoid update(){\n\tif(ImGui::Begin(\"Dock Demo\"))\n\t{\n\t\t// dock layout by hard-coded or .ini file\n\t\tImGui::BeginDockspace();\n\n\t\tif(ImGui::BeginDock(\"Dock 1\")){\n\t\t\tImGui::Text(\"I'm Wubugui!\");\n\t\t}\n\t\tImGui::EndDock();\n\n\t\tif(ImGui::BeginDock(\"Dock 2\")){\n\t\t\tImGui::Text(\"I'm BentleyBlanks!\");\n\t\t}\n\t\tImGui::EndDock();\n\n\t\tif(ImGui::BeginDock(\"Dock 3\")){\n\t\t\tImGui::Text(\"I'm LonelyWaiting!\");\n\t\t}\n\t\tImGui::EndDock();\n\n\t\tImGui::EndDockspace();\n\t}\n\tImGui::End();\n\t\n\t// multiple dockspace supported\n\tif(ImGui::Begin(\"Dock Demo2\"))\n\t{\n\t\tImGui::BeginDockspace();\n\n\t\tif(ImGui::BeginDock(\"Dock 2\")){\n\t\t\tImGui::Text(\"Who's your daddy?\");\n\t\t}\n\t\tImGui::EndDock();\n\n\t\tImGui::EndDockspace();\n\t}\n\tImGui::End();\n}\n\n```\n\n## Intro\nThx to the [nem0](https://github.com/nem0), [paniq](https://github.com/paniq), [adcox](https://github.com/adcox)'s distribute of ```imgui_dock```, so the imgui_dock was able to ```auto save/load``` to/from the ```imgui.ini```.\n\n\u003e It seems the [Lumix Engine](https://github.com/nem0/LumixEngine) have done a quite intelligible work just save the dock's property to a Lua file, so I was just save the properties to the ```imgui.ini```.(you can modify the format if your want)\n\n\u003e Some complie errors may occured because of the API change of ImGui, pls let me know\n\n## Collaborator\n1. [LonelyWaiting](https://github.com/lonelyWaiting)\n2. [BentleyBlanks](https://github.com/BentleyBlanks)\n3. [Wubugui](https://github.com/wubugui)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBentleyBlanks%2FimguiDock","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FBentleyBlanks%2FimguiDock","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FBentleyBlanks%2FimguiDock/lists"}