imgui-bindings 0.1.15 → 0.1.16

Sign up to get free protection for your applications and to get access to all the features.
data/LICENSE.txt CHANGED
@@ -1,5 +1,5 @@
1
1
  Ruby-ImGui : Yet another ImGui wrapper for Ruby
2
- Copyright (c) 2019-2024 vaiorabbit <http://twitter.com/vaiorabbit>
2
+ Copyright (c) 2019-2025 vaiorabbit <http://twitter.com/vaiorabbit>
3
3
 
4
4
  This software is provided 'as-is', without any express or implied
5
5
  warranty. In no event will the authors be held liable for any damages
data/README.md CHANGED
@@ -1,121 +1,121 @@
1
- <!-- -*- mode:markdown; coding:utf-8; -*- -->
2
-
3
- # Yet another ImGui wrapper for Ruby #
4
-
5
- * Created : 2019-01-05
6
- * Last modified : 2024-09-21
7
-
8
- <img src="https://raw.githubusercontent.com/vaiorabbit/ruby-imgui/master/doc/jpfont_test.png" width="250">
9
-
10
- [Notice] This project is experimental.
11
-
12
- ## Prerequisites ##
13
-
14
- * Ruby interpreter
15
- * Tested on:
16
- * [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
17
- * ruby 3.2.0 (2022-12-25 revision a528908271) [x64-mingw-ucrt]
18
- * [macOS]
19
- * ruby 3.3.3 (2024-06-12 revision f1c7b6f435) [arm64-darwin23]
20
- * [Linux]
21
- * ruby 3.2.0 (2022-12-25 revision a528908271) [aarch64-linux]
22
- * Ruby Gems
23
- * opengl-bindings2
24
- * gem install opengl-bindings2
25
- * ffi
26
- * gem install ffi
27
- * Compiler
28
- * Tested on:
29
- * [Windows] gcc (Rev7, Built by MSYS2 project) 12.2.0
30
- * [macOS] Apple clang version 15.0.0 (clang-1500.3.9.4)
31
- * [Linux] gcc (Debian 10.2.1-6) 10.2.1 20210110
32
- * CMake https://cmake.org/download/
33
-
34
- <details>
35
- <summary>Older versions</summary>
36
-
37
- * Ruby interpreter
38
- * Tested on:
39
- * [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
40
- * ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x64-mingw-ucrt]
41
- * ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x64-mingw32]
42
- * ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x64-mingw32]
43
- * ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x64-mingw32]
44
- * [macOS]
45
- * ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin23]
46
- * ruby 3.2.1 (2023-02-08 revision 31819e82c8) [arm64-darwin22]
47
- * ruby 3.2.0 (2022-12-25 revision a528908271) [arm64-darwin21]
48
- * ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]
49
- * ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]
50
- * ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin20]
51
- * ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [arm64-darwin20]
52
- * ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [arm64-darwin20]
53
- * ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [arm64-darwin20]
54
- * ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin19]
55
- * ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-darwin18]
56
-
57
- * Compiler
58
- * Tested on:
59
- * [Windows] gcc (Rev10, Built by MSYS2 project) 11.2.0
60
- * [Windows] gcc (Rev1, Built by MSYS2 project) 8.2.1 20181214
61
- * [macOS] Apple clang version 14.0.0 (clang-1400.0.29.202), Target: arm64-apple-darwin22.2.0
62
- * [macOS] clang (Apple clang version 13.1.6 (clang-1316.0.21.2.5), Target: arm64-apple-darwin21.5.0)
63
- * [macOS] clang (Apple clang version 12.0.5 (clang-1205.0.22.11), Target: arm64-apple-darwin20.6.0)
64
- </details>
65
-
66
- ## Setting up and run sample ##
67
-
68
- 1. Install pre-built binaries
69
- * $ gem install imgui-bindings
70
- 2. Get GLFW or SDL2
71
- * put dylib/dll/so into sample/
72
- 4. Run test.rb
73
- * cd sample/
74
- * ruby test_glfw_opengl2.rb (GLFW)
75
- * ruby test_sld2_opengl2.rb (SDL2)
76
-
77
- ## Building binaries ##
78
-
79
- 1. Update submodules
80
- * git submodule update --recursive --remote
81
- 2. Update cimgui.c and cimgui.h
82
- * $ cd imgui_dll/cimgui/generator
83
- * $ luajit ./generator.lua clang ""
84
- 3. Build library
85
- * Use build_imgui_macos.sh, etc.
86
-
87
- ## License ##
88
-
89
- All shared libraries found in `lib` directory are built on top of these products and are available under the terms of the MIT License.
90
- * cimgui ( https://github.com/cimgui/cimgui )
91
- * https://github.com/cimgui/cimgui/blob/master/LICENSE
92
- * Dear ImGui ( https://github.com/ocornut/imgui )
93
- * https://github.com/ocornut/imgui/blob/master/LICENSE.txt
94
- * ImNodes ( https://github.com/rokups/ImNodes )
95
- * https://github.com/rokups/ImNodes/blob/master/LICENSE
96
-
97
- All ruby codes here are available under the terms of the zlib/libpng License ( http://opensource.org/licenses/Zlib ).
98
-
99
- ```
100
- Ruby-Imgui : Yet another ImGui wrapper for Ruby
101
- Copyright (c) 2019-2024 vaiorabbit <http://twitter.com/vaiorabbit>
102
-
103
- This software is provided 'as-is', without any express or implied
104
- warranty. In no event will the authors be held liable for any damages
105
- arising from the use of this software.
106
-
107
- Permission is granted to anyone to use this software for any purpose,
108
- including commercial applications, and to alter it and redistribute it
109
- freely, subject to the following restrictions:
110
-
111
- 1. The origin of this software must not be misrepresented; you must not
112
- claim that you wrote the original software. If you use this software
113
- in a product, an acknowledgment in the product documentation would be
114
- appreciated but is not required.
115
-
116
- 2. Altered source versions must be plainly marked as such, and must not be
117
- misrepresented as being the original software.
118
-
119
- 3. This notice may not be removed or altered from any source
120
- distribution.
121
- ```
1
+ <!-- -*- mode:markdown; coding:utf-8; -*- -->
2
+
3
+ # Yet another ImGui wrapper for Ruby #
4
+
5
+ * Created : 2019-01-05
6
+ * Last modified : 2025-01-01
7
+
8
+ <img src="https://raw.githubusercontent.com/vaiorabbit/ruby-imgui/master/doc/jpfont_test.png" width="250">
9
+
10
+ ## Prerequisites ##
11
+
12
+ * Ruby interpreter
13
+ * Tested on:
14
+ * [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
15
+ * ruby 3.4.1 (2024-12-25 revision 48d4efcb85) +PRISM [x64-mingw-ucrt]
16
+ * [macOS]
17
+ * ruby 3.3.3 (2024-06-12 revision f1c7b6f435) [arm64-darwin23]
18
+ * [Linux]
19
+ * ruby 3.2.0 (2022-12-25 revision a528908271) [aarch64-linux]
20
+ * Ruby Gems
21
+ * opengl-bindings2
22
+ * gem install opengl-bindings2
23
+ * ffi
24
+ * gem install ffi
25
+ * Compiler
26
+ * Tested on:
27
+ * [Windows] gcc (Rev2, Built by MSYS2 project) 14.2.0
28
+ * [macOS] Apple clang version 15.0.0 (clang-1500.3.9.4)
29
+ * [Linux] gcc (Debian 10.2.1-6) 10.2.1 20210110
30
+ * CMake https://cmake.org/download/
31
+
32
+ <details>
33
+ <summary>Older versions</summary>
34
+
35
+ * Ruby interpreter
36
+ * Tested on:
37
+ * [Windows] https://rubyinstaller.org/downloads/ Ruby+Devkit
38
+ * ruby 3.2.0 (2022-12-25 revision a528908271) [x64-mingw-ucrt]
39
+ * ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [x64-mingw-ucrt]
40
+ * ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [x64-mingw32]
41
+ * ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [x64-mingw32]
42
+ * ruby 2.7.1p83 (2020-03-31 revision a0c7c23c9c) [x64-mingw32]
43
+ * [macOS]
44
+ * ruby 3.3.0 (2023-12-25 revision 5124f9ac75) [arm64-darwin23]
45
+ * ruby 3.2.1 (2023-02-08 revision 31819e82c8) [arm64-darwin22]
46
+ * ruby 3.2.0 (2022-12-25 revision a528908271) [arm64-darwin21]
47
+ * ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]
48
+ * ruby 3.1.2p20 (2022-04-12 revision 4491bb740a) [arm64-darwin21]
49
+ * ruby 3.1.0p0 (2021-12-25 revision fb4df44d16) [arm64-darwin20]
50
+ * ruby 3.0.2p107 (2021-07-07 revision 0db68f0233) [arm64-darwin20]
51
+ * ruby 3.0.1p64 (2021-04-05 revision 0fb782ee38) [arm64-darwin20]
52
+ * ruby 3.0.0p0 (2020-12-25 revision 95aff21468) [arm64-darwin20]
53
+ * ruby 2.7.0p0 (2019-12-25 revision 647ee6f091) [x86_64-darwin19]
54
+ * ruby 2.6.0p0 (2018-12-25 revision 66547) [x86_64-darwin18]
55
+
56
+ * Compiler
57
+ * Tested on:
58
+ * [Windows] gcc (Rev7, Built by MSYS2 project) 12.2.0
59
+ * [Windows] gcc (Rev10, Built by MSYS2 project) 11.2.0
60
+ * [Windows] gcc (Rev1, Built by MSYS2 project) 8.2.1 20181214
61
+ * [macOS] Apple clang version 14.0.0 (clang-1400.0.29.202), Target: arm64-apple-darwin22.2.0
62
+ * [macOS] clang (Apple clang version 13.1.6 (clang-1316.0.21.2.5), Target: arm64-apple-darwin21.5.0)
63
+ * [macOS] clang (Apple clang version 12.0.5 (clang-1205.0.22.11), Target: arm64-apple-darwin20.6.0)
64
+ </details>
65
+
66
+ ## Setting up and run sample ##
67
+
68
+ 1. Install pre-built binaries
69
+ * $ gem install imgui-bindings
70
+ 2. Get GLFW or SDL2
71
+ * put dylib/dll/so into sample/
72
+ 4. Run test.rb
73
+ * cd sample/
74
+ * ruby test_glfw_opengl2.rb (GLFW)
75
+ * ruby test_sld2_opengl2.rb (SDL2)
76
+
77
+ ## Building binaries ##
78
+
79
+ 1. Update submodules
80
+ * git submodule update --recursive --remote
81
+ 2. Update cimgui.c and cimgui.h
82
+ * $ cd imgui_dll/cimgui/generator
83
+ * $ luajit ./generator.lua clang ""
84
+ 3. Build library
85
+ * Use build_imgui_macos.sh, etc.
86
+
87
+ ## License ##
88
+
89
+ All shared libraries found in `lib` directory are built on top of these products and are available under the terms of the MIT License.
90
+ * cimgui ( https://github.com/cimgui/cimgui )
91
+ * https://github.com/cimgui/cimgui/blob/master/LICENSE
92
+ * Dear ImGui ( https://github.com/ocornut/imgui )
93
+ * https://github.com/ocornut/imgui/blob/master/LICENSE.txt
94
+ * ImNodes ( https://github.com/rokups/ImNodes )
95
+ * https://github.com/rokups/ImNodes/blob/master/LICENSE
96
+
97
+ All ruby codes here are available under the terms of the zlib/libpng License ( http://opensource.org/licenses/Zlib ).
98
+
99
+ ```
100
+ Ruby-Imgui : Yet another ImGui wrapper for Ruby
101
+ Copyright (c) 2019-2025 vaiorabbit <http://twitter.com/vaiorabbit>
102
+
103
+ This software is provided 'as-is', without any express or implied
104
+ warranty. In no event will the authors be held liable for any damages
105
+ arising from the use of this software.
106
+
107
+ Permission is granted to anyone to use this software for any purpose,
108
+ including commercial applications, and to alter it and redistribute it
109
+ freely, subject to the following restrictions:
110
+
111
+ 1. The origin of this software must not be misrepresented; you must not
112
+ claim that you wrote the original software. If you use this software
113
+ in a product, an acknowledgment in the product documentation would be
114
+ appreciated but is not required.
115
+
116
+ 2. Altered source versions must be plainly marked as such, and must not be
117
+ misrepresented as being the original software.
118
+
119
+ 3. This notice may not be removed or altered from any source
120
+ distribution.
121
+ ```
data/lib/imgui.aarch64.so CHANGED
Binary file
Binary file
data/lib/imgui.dll CHANGED
Binary file