Skip to content

Commit 8e96819

Browse files
committed
Updated ImGui / CImGui to 1.91.8
1 parent 4ee1364 commit 8e96819

File tree

166 files changed

+6579
-1604
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

166 files changed

+6579
-1604
lines changed

.github/workflows/windows.yml

Lines changed: 25 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,25 @@
1+
name: Windows OS compilation-
2+
3+
on:
4+
push:
5+
branches: [ "main" ]
6+
pull_request:
7+
branches: [ "main" ]
8+
9+
jobs:
10+
win_nightly:
11+
12+
runs-on: windows-latest
13+
14+
steps:
15+
- uses: actions/checkout@v4
16+
with:
17+
submodules: 'recursive'
18+
- name: Set up Clang
19+
uses: egor-tensin/setup-clang@v1
20+
with:
21+
version: latest
22+
platform: x64
23+
24+
- name: make
25+
run: make

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
examples/glfw_opengl3_bench
12
examples/sdl2
23
examples/gui
34
stringArray/

README.md

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424

2525
<!-- END doctoc generated TOC please keep comment here to allow auto update -->
2626

27+
![alt](https://github.com/dinau/luajitimgui/actions/workflows/windows.yml/badge.svg)
28+
2729
### LuaJITImGui
2830

2931
---
@@ -52,11 +54,18 @@ Differencies from [anima](https://github.com/sonoro1234/anima) project are as fo
5254

5355
---
5456

55-
- v1.91.6dock (2025/01)
57+
- v1.91.8dock (2025/03)
5658

5759
#### Examples
5860

5961
---
62+
##### [implot3d.lua](bin/examples/LuaJIT-ImGui/examples/implot3d_sample.lua)
63+
64+
This sample is attached by [anima](https://github.com/sonoro1234/anima) project. You can execute this sample using
65+
[implot3d_sample.bat](bin/examples/LuaJIT-ImGui/examples/implot3d_sample.bat)
66+
in [bin/examples/LuaJIT-ImGui/examples](bin/examples/LuaJIT-ImGui/examples) folder.
67+
68+
![implot3d_sample](examples/img/cimplot3d.gif)
6069

6170
##### [glfw_opengl3_simple](examples/glfw_opengl3_simple/glfw_opengl3_simple.lua)
6271

@@ -123,9 +132,10 @@ cd bin/examples
123132

124133
- WindowsOS 64bit
125134
- Latest
126-
[luajitImGui-1.91.6.0.zip](https://bitbucket.org/dinau/storage/downloads/luajitImGui-1.91.6.0.zip) 2025/01
135+
[luajitImGui-1.91.8.0.zip](https://bitbucket.org/dinau/storage/downloads/luajitImGui-1.91.8.0.zip) 2025/03
127136

128137
- Old
138+
[luajitImGui-1.91.6.0.zip](https://bitbucket.org/dinau/storage/downloads/luajitImGui-1.91.6.0.zip) 2025/01
129139
[luajitImGui-1.91.4.0.zip](https://bitbucket.org/dinau/storage/downloads/luajitImGui-1.91.4.0.zip) 2024/10
130140
[luajitImGui-1.91.2.0.zip](https://github.com/dinau/luajitImGui/archive/refs/tags/1.91.2.0.zip) 2024/10
131141
[luajitImGui-1.91.1.0.zip](https://github.com/dinau/luajitImGui/archive/refs/tags/1.91.1.0.zip) 2024/09
@@ -160,7 +170,7 @@ Refer to nice exmaples: [bin/examples](bin/examples)
160170
Install at least on MSys2/MinGW console,
161171

162172
```sh
163-
pacman -S mingw-w64-ucrt-x86_64-{cmake,gcc,clang,llvm-openmp,patch} make
173+
pacman -S mingw-w64-ucrt-x86_64-{cmake,gcc,clang,llvm-openmp} patch make
164174
```
165175

166176
- Build **on MSys2 console**,
@@ -178,11 +188,11 @@ Refer to nice exmaples: [bin/examples](bin/examples)
178188
179189
---
180190
181-
- Clang 19.1.6 (Current compiler)
191+
- Clang 20.1.0 (Current compiler)
182192
- Libraries: OpenMP
183193
- Gcc.exe (Rev1, Built by MSYS2 project) 14.2.0)
184194
- (Microsoft Visual Studio 2022 C/C++)
185-
- CMake version 3.30.3
195+
- CMake version 3.31.6
186196
- Git version 2.46.0.windows.1
187197
- Make: GNU Make 4.4.1
188198
@@ -193,6 +203,7 @@ Refer to nice exmaples: [bin/examples](bin/examples)
193203
- WindowsOS 64bit versions
194204
| Date | ImGui / CImGui | LuaJITImGui | Commemt |
195205
| --- | ----------- | --- | --- |
206+
| 2025/03 | v1.91.8 | v1.91.8.0 | |
196207
| 2025/01 | v1.91.6 | v1.91.6.0 | |
197208
| 2024/10 | v1.91.4 | v1.91.4.0 | |
198209
| 2024/10 | v1.91.2 | v1.91.2.0 | |
@@ -202,7 +213,7 @@ Refer to nice exmaples: [bin/examples](bin/examples)
202213
- WindowsOS 32bit versions
203214
| Date | ImGui / CImGui | LuaJITImGui | Commemt |
204215
| --- | ----------- | --- | --- |
205-
| 2024/08 | v1.91.0 | v1.91.0.2 | |
216+
| 2024/08 | v1.91.0 | v1.91.0.2 | Last version |
206217
| 2024/07 | v1.90.9 | v1.90.9.0 | |
207218
| 2024/06 | v1.90.8 | v1.90.8.0 | |
208219
| 2024/05 | v1.90.7 | v1.90.7.0 | |

bin/SDL2.dll

512 Bytes
Binary file not shown.

bin/SDL3.dll

80.5 KB
Binary file not shown.

bin/cimgui_glfw.dll

577 KB
Binary file not shown.

bin/cimgui_sdl.dll

577 KB
Binary file not shown.

bin/cimgui_sdl3.dll

577 KB
Binary file not shown.
Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
2+
local function audio_init(frames,SR)
3+
local lp_time = require"luapower.time"
4+
local secs_now =lp_time.clock
5+
local rt = require"rtaudio_ffi"
6+
local ffi = require"ffi"
7+
local fulltime = frames/(SR)
8+
local ring_buf = require"ring_scsp"
9+
return function(out, inp, nFrames,stream_time,status,userdata)
10+
local begintime = secs_now()
11+
local udc = ffi.cast("circ_buf*",userdata)
12+
out = ffi.cast("float*", out)
13+
udc:read(out)
14+
ffi.copy(out + nFrames, out, nFrames*ffi.sizeof"float")
15+
local endtime = secs_now()
16+
udc.cpuload[0] = (endtime-begintime)/fulltime
17+
--does not work with ASIO
18+
--if status~=0 then print(rt.STATUS_INPUT_OVERFLOW == status and "overflow" or "underflow") end
19+
return 0
20+
end
21+
end
22+
23+
return audio_init

0 commit comments

Comments
 (0)