{"id":19474780,"url":"https://github.com/xigh/winit-up-to-date-simple-example","last_synced_at":"2025-02-25T15:43:44.447Z","repository":{"id":227935652,"uuid":"772758824","full_name":"xigh/winit-up-to-date-simple-example","owner":"xigh","description":"Simple (at least I tried) Rust winit example","archived":false,"fork":false,"pushed_at":"2024-03-15T21:10:07.000Z","size":23,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-01-08T06:20:05.494Z","etag":null,"topics":["rust","windowing","winit"],"latest_commit_sha":null,"homepage":"","language":"Rust","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/xigh.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":"2024-03-15T20:51:21.000Z","updated_at":"2024-03-15T21:19:33.000Z","dependencies_parsed_at":"2024-04-09T11:47:08.905Z","dependency_job_id":null,"html_url":"https://github.com/xigh/winit-up-to-date-simple-example","commit_stats":null,"previous_names":["xigh/winit-up-to-date-simple-example"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xigh%2Fwinit-up-to-date-simple-example","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xigh%2Fwinit-up-to-date-simple-example/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xigh%2Fwinit-up-to-date-simple-example/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/xigh%2Fwinit-up-to-date-simple-example/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/xigh","download_url":"https://codeload.github.com/xigh/winit-up-to-date-simple-example/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240698155,"owners_count":19843336,"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":["rust","windowing","winit"],"created_at":"2024-11-10T19:26:57.588Z","updated_at":"2025-02-25T15:43:44.398Z","avatar_url":"https://github.com/xigh.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Simple (at least I tried) Rust winit example \"0.29.15\"\n\nThis simple example only create windows and manage windows list.\n\nThe [ZxWindow](https://github.com/xigh/winit-up-to-date-simple-example/blob/master/src/window/mod.rs#L27) structure is an abstration to a Window. You can put everything in here. For the moment, it only implements : \n\n```rust\npub fn on_key_input(\u0026mut self, code: KeyCode, pressed: bool, queue: \u0026Rc\u003cCmdQueue\u003e)\n```\n\nWhere [CmdQueue](https://github.com/xigh/winit-up-to-date-simple-example/blob/master/src/cmd.rs#L7) allows the method to communicate with the event_loop, by example, in order to create new windows (you can add other commands).\n\nAnd the event_loop handles ZxWindow list. If this list is empty, the application exists.\n\n# next steps : \n\n- [ ] add wgpu stuff \n- [ ] implements other events\n- [ ] add async ops (threads, update cmdqueue)\n- [ ] add fullscreen support\n- [ ] add system tray icons\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxigh%2Fwinit-up-to-date-simple-example","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fxigh%2Fwinit-up-to-date-simple-example","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fxigh%2Fwinit-up-to-date-simple-example/lists"}