Skip to content

Commit

Permalink
Merge pull request #5 from djfos/feature/detailed-test
Browse files Browse the repository at this point in the history
write widget part of demo window in dimgui
  • Loading branch information
djfos authored Mar 11, 2023
2 parents e2df24c + 7eea4c5 commit 2672c4f
Show file tree
Hide file tree
Showing 49 changed files with 15,838 additions and 4,453 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# /.vscode
/.vscode
/build

# imgui window status
Expand Down
25 changes: 0 additions & 25 deletions .vscode/launch.json

This file was deleted.

14 changes: 0 additions & 14 deletions .vscode/settings.json

This file was deleted.

24 changes: 16 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,18 +1,26 @@
# dimgui

> Port Dear ImGui to Deno.
# Status
> Not ready for use

> For now, only build on windows with opengl backend.
# Usage
``` bash
# build
deno task build

# generate cimgui ffi symbols
```typescript
// TODO
```

# Contribute

```bash
# build the shared library
deno task build
# generate cimgui ffi symbols and many draft to copy
deno task gen
# test for window created by imgui.dll
deno task test-self
# test for window created by dwm
deno task test-dwm
deno task test-dwm
# test for window created by embeded glfw
deno task test-self
```
19 changes: 18 additions & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,22 @@
"gen": "deno run --unstable --allow-all script/gen_binding.ts",
"test-self": "deno run --unstable --allow-all --allow-ffi test/test_self_window.ts",
"test-dwm": "deno run --unstable --allow-all --allow-ffi test/test_dwm_window.ts"
},
"fmt": {
"options": {
"lineWidth": 120
},
"files": {
"exclude": [
"imgui"
]
}
},
"lint": {
"files": {
"exclude": [
"imgui"
]
}
}
}
}
14 changes: 14 additions & 0 deletions deno.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 2672c4f

Please sign in to comment.