Commit Graph

158 Commits

Author SHA1 Message Date
svært
47402c1a93
Update README (#194) 2024-02-04 18:24:06 +00:00
Jason Shipman
4d1c66e9a1
Add support for SDL2 Renderer backend (#193)
* Add DearImGui.Raw.framerate
* Add DearImGui.withCloseableWindow
* Closes #191: Add support for SDL2 Renderer backend
* Add sdl-renderer flag to protect against older SDL versions that do not have SDL_RenderGeometry
2023-12-15 15:31:04 +02:00
Alexander Bondarenko
7ec260c359
Bump megaparsec (#190) 2023-09-10 18:55:24 +00:00
Alexander Bondarenko
bab4d769ea
V2.2.0 (#189)
* Upgrade upstream and prepare 2.2.0
* Update vulkan example
2023-09-10 13:24:33 +00:00
Alexander Bondarenko
eec8b57ce8
Use FIFO for vulkan demo (#188) 2023-09-04 10:10:10 +00:00
Carter Tazio Schonwald
d40fa4f6db
fix intem->item (#184) 2023-08-09 13:03:43 +03:00
Alexander Bondarenko
8df98e075c
Fix TabItem flags type (#183)
Resolves #175
2023-07-20 16:42:11 +00:00
Alexander Bondarenko
6dbb455d62
Fix vulkan init wrapper (#180)
`init_info` got dynamic render flag, which is a breaking change with its default value.
Setting it to `false` will fix validation errors coming from misconfiguration.
2023-07-20 16:25:02 +00:00
ddaf41bf88
Upgrade imgui to v1.89.7 2023-07-17 19:13:23 +03:00
Tristan de Cacqueray
8368192370
Allow base-4.19 for ghc-9.6 (#177)
Co-authored-by: Alexander Bondarenko <486682+dpwiz@users.noreply.github.com>
2023-07-02 21:54:03 +00:00
Tristan de Cacqueray
ea3ad959f9
Add getCursorPos (#176) 2023-07-03 00:48:44 +03:00
Tristan de Cacqueray
0cc654f190
Update bound for ghc-9.6 (#174)
* Update bound for ghc-9.6

* Update ci action versions
2023-05-07 17:44:13 +03:00
romes
8697aa3a0a
Expose DearImGui.Raw.Context (#172) 2023-01-15 15:27:15 +02:00
Alexander Bondarenko
802bdb72fe
Fix cabal flag for image example (#170) 2022-12-24 12:21:51 +02:00
Alexander Bondarenko
69a463d98b
Fix vulkan versions to a fresh set (#168)
vulkan, vulkan-utils and VMA can be too old/new for each other.
This cuts a fresh, known-to-work set of lower bounds.
2022-12-12 18:33:48 +00:00
Alexander Bondarenko
9bb66f0113
Fix the text fix and prepare 2.1.3 (#167) 2022-12-12 19:57:54 +02:00
romes
68e30d98ad
Fix off-by-one bug in string null termination (#166)
Backport withCString fix and use text version when available
2022-12-12 18:20:39 +03:00
Tristan de Cacqueray
52142bbf7e
Add formatPtr to Raw.dragFloat* and Raw.sliderFloat* (#165) 2022-12-05 17:47:21 +03:00
Tristan de Cacqueray
d933248a2c
This change fixes the high level API to use the right Raw call (#164) 2022-12-02 17:50:04 +02:00
Alexander Bondarenko
258777f8c7
Fix sdl flag in cabal.project (#163) 2022-11-30 17:08:06 +00:00
Alexander Bondarenko
cd99938f97
Prepare v2.1.2 (#162) 2022-11-30 16:32:44 +00:00
Tristan de Cacqueray
48486ee8c2
Add setNextItemOpen (#161)
This change enables starting a new TreeNode open.
2022-11-28 15:56:27 +03:00
Tristan de Cacqueray
a2feb73fa5
Fix the glfw example build condition (#159)
The example needs the opengl2 flag.
2022-11-22 21:13:18 +02:00
Tristan de Cacqueray
051a17a1c5
Add plotLines (#158) 2022-11-20 17:57:15 +02:00
Alexander Bondarenko
9dac0f9fbe
Prepare 2.1.1 (#157) 2022-08-30 21:13:04 +00:00
Axis Sivitz
dab5937eee
Fix compilation on MacOS / GHC 8.10.7 (#156)
Fixes errors along the lines of:
dear-imgui  > [ 2 of 17] Compiling DearImGui.GLFW
dear-imgui  > error: unknown type name 'constexpr'

So the "-std=c++11" option is not being passed to the C++ compiler on
MacOS.
The issue seems related to https://github.com/haskell/cabal/issues/6421
2022-08-30 21:57:08 +03:00
Alexander Bondarenko
7795b3d838
Prepare 2.1.0 (#153)
Breaking change in upstream.
2022-07-25 18:14:21 +00:00
Alexander Bondarenko
3a5abb2037
Update to 1.88 (#152) 2022-07-25 17:58:22 +00:00
06eb052cc5
added flag_ImDrawIdx (#151)
Co-authored-by: Stefan Dresselhaus <stefan@dresselhaus.cloud>
2022-07-23 15:42:13 +03:00
Alexander Bondarenko
cf87988336
Prepare 2.0.0 (#148) 2022-05-15 23:37:43 +03:00
Alexander Bondarenko
3c1d381c14
Replace String arguments with Text (#138)
Shave a few allocations and pointer-chasing due to conversion.
2022-05-15 22:41:10 +03:00
Alexander Bondarenko
04fe618871
Prepare 1.5.0 (#140) 2022-03-28 13:22:11 +00:00
Alexander Bondarenko
08d4b423ad
Fix GHC-9.2 build (#145) 2022-03-28 13:04:22 +00:00
Alexander Bondarenko
7d4f3a8b93
Make value and read-only range types distinct (#143)
Fixes #142
2022-03-23 21:22:05 +03:00
Alexander Bondarenko
bc590d97c5
Tweak tables and add an example (#139)
Previously: #135
2022-03-22 22:36:19 +03:00
e5969f6b35
implementation of ImGui Tables (#135) 2022-03-11 16:48:11 +03:00
f066d03017
added options to selectable (#137) 2022-03-10 15:17:42 +00:00
Alexander Bondarenko
fc307a4d6e
Add remaining popup wrappers (#136)
- BeginPopupContextItem
- BeginPopupContextWindow
- BeginPopupContextVoid

For #132
2022-03-10 11:34:13 +03:00
Alexander Bondarenko
4517af8123
Add isPopupOpen and wrappers (#134) 2022-03-09 21:08:54 +03:00
b837d583a5
added openPopupOnItemClick (#133) 2022-02-25 17:28:53 +00:00
Alexander Bondarenko
67e169dc35
Prepare 1.4.0 (#129) 2022-02-13 19:31:45 +03:00
Alexander Bondarenko
ae3fdb8bc3
Add new GLFW callback from 1.87 (#128) 2022-02-13 16:12:15 +00:00
Alexander Bondarenko
ccdff36774
Add wchar32 and disable-obsolete flags (#127) 2022-02-13 16:05:49 +00:00
Alexander Bondarenko
af6ba9e989
Add image support for vulkan backend (#126) 2022-02-13 14:24:08 +00:00
Alexander Bondarenko
dc11fad07f
Update to 1.87 (#125) 2022-02-13 00:26:39 +03:00
Alexander Bondarenko
265d143261
Prepare 1.3.1 (#123) 2022-01-31 10:56:12 +03:00
Alexander Bondarenko
0877843619
Update upstream to 1.86 (#122) 2022-01-19 23:36:33 +03:00
Alexander Bondarenko
a95d95bb65
Prepare 1.3.0 (#120) 2021-12-22 17:40:24 +03:00
Alexander Bondarenko
23efa7cb02
Fill in changelog for 1.2.1 (#119) 2021-12-22 11:56:55 +00:00
Mikhail Chekan
bb94341ad5
Extended font & glyph support (#114)
* Separate font utils, add glyph support (#113)
* Implement font glyph ranges builder
* Implement raw font config binds
* Implement font atlas module
* Rewrite font altas rebuilder in Managed
2021-12-22 13:28:46 +03:00