Commit Graph

135 Commits

Author SHA1 Message Date
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
Alexander Bondarenko
13e68242a1
Update unordered-containers upper limit (#117) 2021-12-19 18:25:11 +03:00
Vladimir Serov
2469623f2e
Fix CI (#118) 2021-12-19 17:32:28 +03:00
Alexander Bondarenko
3087a99044
Allow megaparsec 9.2 (#112)
Closes #106
2021-10-30 18:57:15 +00:00
Alexander Bondarenko
f74cd218c5
Bump imgui to 1.85 (#111)
Closes #110
2021-10-30 18:49:39 +00:00
Alexander Bondarenko
48c8ae0379
Add IO exports (#109) 2021-10-04 18:49:16 +00:00
Alexander Bondarenko
a2c0c0658e
Remove library options preventing hackage upload (#108) 2021-10-04 18:41:07 +00:00
Alexander Bondarenko
21ce5cabd8
Add ImGuiIO basics (#107) 2021-10-04 17:29:32 +00:00
jpwidera
8db9ddec2f
Added compiler flags stanzas. (#105) 2021-09-21 15:14:37 +03:00
jpwidera
4ecf62ac9e
Implement ImGuiListClipper (#100)
* Added DearImGui.Raw.ImGuiListClipper
* Added the DearImGui.withListClipper bracket
* Added dependency for `vector`
* Added the test in the Main.hs
2021-09-17 11:09:22 +03:00
Alexander Bondarenko
8ee82476dc
Add raw DrawList bindings (#99) 2021-09-15 08:52:00 +03:00
Alexander Bondarenko
b4bc36ca89
Update readme example (#103)
Fixes #68
2021-09-14 15:41:38 +03:00
Ollie Charles
76ce7bb569
Nix upgrades (#102)
Switches the default Nix build to use GHC 8.10.7 and NixOS 21.05
2021-09-14 01:58:39 +00:00
Ollie Charles
259ffbff48
Fix DearImGui TOC (#101) 2021-09-13 17:05:49 +00:00
Alexander Bondarenko
97825e49f2
Prepare 1.2.0 (#98) 2021-09-12 19:46:05 +03:00
Alexander Bondarenko
24345bb8f3
Add font utils (#56)
- clearFontAtlas
- addFontDefault
- addFontFromFileTTF
- addFontFromMemoryTTF (raw only)
- buildFontAtlas

Vulkan example updated to use on f the imgui-distributed ttf files.
2021-09-12 15:41:42 +00:00
Alexander Bondarenko
e3f7fbfd6f
Add imageButton (#97) 2021-09-12 13:20:47 +00:00
Alexander Bondarenko
88326420b8
Tidy up image example (#96) 2021-09-12 11:56:43 +00:00
jpwidera
f3b85899f2
Added image wrapper (#74)
Raw.image and sdl2/gl example "image"

Wrappers should be backend-specific due to different handling of `userTextureIDPtr`.
2021-09-12 10:35:03 +00:00
Alexander Bondarenko
c7a694bce8
Add remaining BeginChild arguments as required (#93)
Old behaviour with all default arguments is a special case to run
some action scoped to a different child window.

This now handled by `beginChildContext`/`withChildContext`.
2021-09-12 10:28:48 +00:00
Alexander Bondarenko
c219f8eb4f
Wrap GetCurrentContext and SetCurrentContext (#94) 2021-09-12 10:23:23 +00:00
Alexander Bondarenko
24519778e6
Add inputTextMultiline, inputTextWithHint (#92)
- Experimental explicit encoding for CStrings.
- Fix potential buffer overruns in inputText.
2021-09-12 11:43:44 +03:00
Alexander Bondarenko
4bfc7e7099
Add invisibleButton (#91) 2021-09-11 11:01:03 +00:00
Alexander Bondarenko
efaaa5723a
Add Show instances to structs and enums (#90) 2021-09-11 10:40:05 +00:00