{"id":21499374,"url":"https://github.com/alaingalvan/crosswindow-demos","last_synced_at":"2025-07-15T21:31:31.967Z","repository":{"id":52060513,"uuid":"133877399","full_name":"alaingalvan/CrossWindow-Demos","owner":"alaingalvan","description":"🥪 Examples of how to use CrossWindow for things like rendering graphics, listening to events, etc.","archived":false,"fork":false,"pushed_at":"2023-12-26T19:31:09.000Z","size":181,"stargazers_count":62,"open_issues_count":1,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-04-15T02:12:47.387Z","etag":null,"topics":["demo","directx","directx-11","directx-12","directx11","directx12","metal","opengl","triangle","vulkan"],"latest_commit_sha":null,"homepage":"https://alain.xyz/libraries/crosswindow","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/alaingalvan.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2018-05-17T23:10:23.000Z","updated_at":"2024-03-26T07:29:37.000Z","dependencies_parsed_at":"2022-08-31T09:24:15.325Z","dependency_job_id":null,"html_url":"https://github.com/alaingalvan/CrossWindow-Demos","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/alaingalvan%2FCrossWindow-Demos","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2FCrossWindow-Demos/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2FCrossWindow-Demos/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/alaingalvan%2FCrossWindow-Demos/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/alaingalvan","download_url":"https://codeload.github.com/alaingalvan/CrossWindow-Demos/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226071033,"owners_count":17569103,"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":["demo","directx","directx-11","directx-12","directx11","directx12","metal","opengl","triangle","vulkan"],"created_at":"2024-11-23T17:15:48.385Z","updated_at":"2024-11-23T17:15:49.202Z","avatar_url":"https://github.com/alaingalvan.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CrossWindow Demos\n\n[![cmake-img]][cmake-url]\n[![License][license-img]][license-url]\n\nA variety of demos showcasing how to use CrossWindow to build cross platform applications.\n\n## Getting Started\n\nFirst install [Git](https://git-scm.com/downloads), then open any terminal such as [Hyper](https://hyper.is/) in any folder and type:\n\n```bash\n# 🐑 Clone the repo\ngit clone https://github.com/alaingalvan/crosswindow-demos --recurse-submodules\n\n# 💿 go inside the folder\ncd crosswindow-demos\n\n# 👯 If you forget to `recurse-submodules` you can always run:\ngit submodule update --init\n\n# 🔼 Go inside any demo, like for instance the Hello Triangle folder:\ncd src/04-cross-platform-hello-triangle/\n\n```\n\n## Demos\n\n### Window Creation\n\n\u003c!--![Window Creation Cover Image](src/01-window-creation/assets/cover.jpg)--\u003e\n\nA basic example showing how to create a window.\n\n### Events\n\n\u003c!--![Alert Image](src/02-events/assets/cover.jpg)--\u003e\n\nAn example using every possible event in CrossWindow.\n\n### Open / Save / Alert Dialogs\n\n\u003c!--![Open/Save Dialog Image](src/03-open-save-alert/assets/cover.gif)--\u003e\n\nCreating open / save dialogs for grabbing files. Creating alert messages for warnings, errors, or confirmations in your application.\n\n### Cross Platform Hello Triangle\n\n![Hello Triangle Cover Image](src/04-cross-platform-hello-triangle/assets/cover.jpg)\n\nAn example showcasing the rendering of a simple triangle in every modern graphics API (Vulkan / DirectX 12 / DirectX 11 / OpenGL / Metal) and operating system.\n\n[cmake-img]: https://img.shields.io/badge/cmake-3.6-1f9948.svg?style=flat-square\n[cmake-url]: https://cmake.org/\n[license-img]: https://img.shields.io/:license-mit-blue.svg?style=flat-square\n[license-url]: https://opensource.org/licenses/MIT","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falaingalvan%2Fcrosswindow-demos","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falaingalvan%2Fcrosswindow-demos","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falaingalvan%2Fcrosswindow-demos/lists"}