Commit Graph
77 Commits
Author SHA1 Message Date
sh54andSpaiR 04b7c4e4fe [API] Allow null to be passed as the shortcut param to MenuItem (#35)
Co-authored-by: SpaiR <klimbetoo@gmail.com>
2021-03-27 17:09:37 +03:00
SpaiR 3fe77320f3 [Example] Add example of Drag & Drop 2021-03-09 17:58:21 +02:00
SpaiR 533fc7f979 [API] Refactor Drag & Drop api
In Java we can easily bind our payload to an object. 
This is a more flexible approach, than using byte arrays so the last one was removed.
2021-03-09 17:58:02 +02:00
SpaiR 9e807d3e9e [API] Fix getDragDropPayloadObject
Methods was throwing nullpointer  exception when there were no payload
2021-02-27 16:16:55 +02:00
SpaiR 36415d60f3 [API] Add API to directly return ImVec2/ImVec4 2021-02-27 16:16:03 +02:00
SpaiR fb80b8d8a1 [API] Make ImGuiIO to extend common ImGuiStruct class
ImGuiIO used a legacy way to access the native struct through `ImGui::GetIO()`.
Refactored to use ImGuiStruct, so to make API consistent.
2021-02-27 16:15:22 +02:00
SpaiR 91d636a659 [API] Remove lazy-created sructs and add methods to verify struct pointer 2021-02-27 16:15:11 +02:00
SpaiR 08bf84ad64 [API] Dear ImGui v1.81 2021-02-20 11:16:44 +02:00
SpaiR cf9e74b1d0 [Example] Migrate example to the new module 2021-01-24 22:20:37 +02:00
SpaiR 7043cd642b [API] Add missing ImGui::InputTextWithHint() method 2021-01-23 20:48:13 +02:00
SpaiR 13b3836e47 [API] Delete obsolete functions 2021-01-23 20:24:40 +02:00
SpaiR 33309088a2 [API] Dear ImGui v1.80 2021-01-23 20:03:49 +02:00
SpaiR 8ac8a0719b [API] Add API for Dear ImGui v1.79 2020-10-17 14:58:04 +03:00
SpaiR 897ca4947b [API] Change natives extract folder
So the folder will be unique for sure
2020-10-06 17:30:37 +03:00
SpaiR 4e564240ca [API] Add support for DockBuilder 2020-09-05 15:27:03 +03:00
SpaiR 23b9c30b45 [API] Fix windows build 2020-08-30 23:23:24 +03:00
SpaiR 0b4aa25b1d [API] Add API for Dear ImGui v1.78 2020-08-30 23:04:23 +03:00
SpaiR e328d738ce [WIP] Viewports backend 2020-08-30 15:47:27 +03:00
SpaiR 8494bd8361 Add ImPlatformIO, ImGuiViewport 2020-08-29 15:33:15 +03:00
SpaiR dce574ef76 Rename ImGui#touch to ImGui#init 2020-08-23 21:12:04 +03:00
SpaiR 7bfa1b6195 Remove *New versions of methods, since now is possible to change the pointer explicitly 2020-08-23 17:00:23 +03:00
SpaiR 1dcf2328a4 Refactor mapping to the native structs 2020-08-23 16:49:16 +03:00
SpaiR 1209caa518 Initial Multi-Viewport implementation 2020-08-23 14:13:03 +03:00
SpaiR 640f56b4be Add ImGui helper methods to get ImVec2 values 2020-07-11 18:50:57 +03:00
SpaiR f555f84d2e Remove redundant "textEnd" argument from text methods 2020-07-08 04:52:34 +03:00
SpaiR 6c008e6e8c Update binding to Dear ImGui v1.77 2020-07-03 16:38:18 +03:00
SpaiR e56990f2c9 Simplify drag'n'drop API with ability to directly transfer Java objects 2020-06-18 22:03:18 +03:00
SpaiR 236a6de0a3 Add ImGuiStorage 2020-06-17 17:00:13 +03:00
SpaiR 2de7a25e99 Rename ImBool to ImBoolean 2020-06-16 17:21:09 +03:00
SpaiR ebd1e69f89 Refactor ImGuiInputTextData into an inner ImString class and rename to InputData 2020-06-16 17:20:09 +03:00
SpaiR e60f56beb7 Move primitive wrappers into its own package "imgui.type" 2020-06-16 17:07:21 +03:00
SpaiR 911bde2d02 Rename package: enums->flag 2020-06-16 16:58:49 +03:00
SpaiR 1235a8d478 Fix build for windows 2020-06-08 03:40:42 +03:00
SpaiR b25b5d55ad Make getID to return int instead of long 2020-06-06 21:51:11 +03:00
SpaiR 8ac87a9606 Add ImColor helper. Increase flexibility of the color API
In most of the places it's now possible to provide a simple int value, instead of float numbers.
2020-06-06 17:47:14 +03:00
SpaiR fbe0ed5a08 Fix getBackgroundDrawList() and getForegroundDrawList(). Add methods to create draw list objects with constant pointer 2020-06-06 16:01:02 +03:00
SpaiR 99bb339eae Add support for MacOsX 2020-06-02 22:02:40 +03:00
SpaiR 5458a03757 Expose docking API 2020-05-30 16:24:23 +03:00
SpaiR 34cba60528 Add ImGui#checkbox which can take simple boolean 2020-05-22 03:14:58 +03:00
SpaiR fe89f8dd81 Fix ImString auto-resize when during the copy-paste 2020-05-20 00:51:44 +03:00
SpaiR 19bd512a22 Refactor ImDrawList 2020-05-17 21:09:53 +03:00
SpaiR 283e78070c Simplify, improve and optimize the rendering for LWJGL3 2020-05-17 16:15:12 +03:00
SpaiR ed7bf3601a Update binding API to Dear ImGui v1.76 2020-05-16 17:39:52 +03:00
SpaiR 42262e1a68 Remove unnecessary cast to long, which breaks builds for Win x64 2020-04-09 10:34:31 +03:00
SpaiR 4df53e7b39 [fixes #3] Fix binding for input fields
- InputFloat3
- InputFloat4
- InputInt3
- InputInt4
2020-02-19 07:48:25 +03:00
SpaiR 7ddf242ab4 Natively mapped ImGuiStyle class 2020-02-14 22:43:37 +03:00
SpaiR 1833ab5fe8 Fix treeNode methods and pointer types 2020-02-14 22:12:26 +03:00
SpaiR f05ff1e571 Fix windows64 compilation 2020-02-11 01:10:08 +03:00
SpaiR a342e442dc Fix compiler warnings 2020-02-11 00:51:08 +03:00
SpaiR eed23dbd39 Update binding API to Dear ImGui v1.75 2020-02-10 23:18:12 +03:00