[API] Implement binding for ImGui::getWindowScrollbarRect (#81)
* Implemented binding for ImGui::getWindowScrollbarRect * checkstyle fixes * more logic naming for boolean fields in ImGuiWindow struct Co-authored-by: aleksandr.cayun <aleksandr.cayun@vizor-games.com>
This commit is contained in:
1 parent
2d2e917aa6
commit
326594f33a
2 files changed
+54
No files matched your search
@@ -0,0 +1,31 @@
|
||||
package imgui.internal;
|
||||
|
||||
import imgui.binding.ImGuiStruct;
|
||||
|
||||
public class ImGuiWindow extends ImGuiStruct {
|
||||
public ImGuiWindow(final long ptr) {
|
||||
super(ptr);
|
||||
}
|
||||
|
||||
/*JNI
|
||||
#include "_common.h"
|
||||
#include <imgui_internal.h>
|
||||
|
||||
#define IMGUI_WINDOW ((ImGuiWindow*)STRUCT_PTR)
|
||||
*/
|
||||
|
||||
/**
|
||||
* Is scrollbar visible?
|
||||
*/
|
||||
public native boolean isScrollbarX(); /*
|
||||
return IMGUI_WINDOW->ScrollbarX;
|
||||
*/
|
||||
|
||||
/**
|
||||
* Is scrollbar visible?
|
||||
*/
|
||||
public native boolean isScrollbarY(); /*
|
||||
return IMGUI_WINDOW->ScrollbarY;
|
||||
*/
|
||||
|
||||
}
|
||||
Reference in new issue
Block a user