feat(api): Dear ImGui v1.87 + ImPlot v0.13 (#252)
* build(deps): bump Dear ImGui from 1.86 to 1.87 * build(deps): bump implot from 0.12 to 0.13 * feat(api,binding): adapt API to Dear ImGui v1.87 * feat(api,binding): adapt API to implot v0.13 * build: generate API for latest changes * chore(binding): add missing super call for ImGuiStructDestroyable constructor * chore: minor code style * feat: adapt ImGuiImplGlfw to 1.87 * feat: adapt ImGuiImplGl3 to 1.87 * feat: adapt imgui-app module to 1.87 * fix: javadoc for updated imgui-binding * fix: loosing data when setting struct field of char* type Since we manually release chars, to store them in field we need to do a local copy. * fix: invalid methods to check program linking in OpenGL * chore: remove dedicated method to check GLFW version * fix: add missing include
This commit is contained in:
1 parent
341b0af179
commit
47d97102f7
80 files changed
+12211
-7373
No files matched your search
@@ -9,7 +9,6 @@ import imgui.binding.ImGuiStruct;
|
||||
* Make sure to set 'SpecsDirty = false' after sorting, else you may wastefully sort your data every frame!
|
||||
*/
|
||||
public final class ImGuiTableSortSpecs extends ImGuiStruct {
|
||||
|
||||
public ImGuiTableSortSpecs(final long ptr) {
|
||||
super(ptr);
|
||||
}
|
||||
@@ -23,8 +22,8 @@ public final class ImGuiTableSortSpecs extends ImGuiStruct {
|
||||
* Pointer to sort spec array.
|
||||
*/
|
||||
public ImGuiTableColumnSortSpecs[] getSpecs() {
|
||||
long[] specsPointers = nGetSpecs();
|
||||
ImGuiTableColumnSortSpecs[] specs = new ImGuiTableColumnSortSpecs[specsPointers.length];
|
||||
final long[] specsPointers = nGetSpecs();
|
||||
final ImGuiTableColumnSortSpecs[] specs = new ImGuiTableColumnSortSpecs[specsPointers.length];
|
||||
for (int i = 0; i < specsPointers.length; i++) {
|
||||
specs[i] = new ImGuiTableColumnSortSpecs(specsPointers[i]);
|
||||
}
|
||||
@@ -45,7 +44,7 @@ public final class ImGuiTableSortSpecs extends ImGuiStruct {
|
||||
*/
|
||||
|
||||
/**
|
||||
* Sort spec count. Most often 1. May be {@code > } 1 when ImGuiTableFlags_SortMulti is enabled. May be == 0 when ImGuiTableFlags_SortTristate is enabled.
|
||||
* Sort spec count. Most often 1. May be {@code >} 1 when ImGuiTableFlags_SortMulti is enabled. May be == 0 when ImGuiTableFlags_SortTristate is enabled.
|
||||
*/
|
||||
public int getSpecsCount() {
|
||||
return nGetSpecsCount();
|
||||
|
||||
Reference in new issue
Block a user