Commit Graph

124 Commits

Author SHA1 Message Date
69a9bf50a5
switched deps 2022-03-21 13:24:22 +01: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
Alexander Bondarenko
be7aa1e9b1
Add functions for getting window position and size (#89)
- getWindowPos
- getWindowSize
- getWindowWidth
- getWindowHeight

Closes #88
2021-09-11 10:09:11 +00:00
jpwidera
08b3139477
Remove seg faults (#87)
* Removed double OpenGl3Shutdown, leading to a segmentation fault in Main.hs.
* Changed nullPtr passing with Maybe to use DearImGui default arguments.
2021-09-11 10:00:08 +00:00
Ollie Charles
cede825dff
Bump haskell.nix (#86) 2021-09-08 16:19:57 +00:00
Ollie Charles
84a6b8a8fe
Allow parser-combinators-1.4 (#85) 2021-09-08 13:10:39 +01:00
Alexander Bondarenko
cb687b8f01
Prepare 1.1.0 (#83) 2021-09-01 18:05:18 +00:00
Alexander Bondarenko
8d07a5a42b
Add more withXXX wrappers (#82)
- withStyleColor
- withStyleVar
- withIndent
- withItemWidth

Closes #63
2021-09-01 17:23:59 +00:00
Alexander Bondarenko
d3a0396623
Add GLFW callbacks (#81)
Closes #80
2021-09-01 19:22:55 +03:00
Alexander Bondarenko
f49e81c739
Fix warnings (#79) 2021-08-30 17:08:23 +00:00
Alexander Bondarenko
5699f64e95
Bump imgui to 1.84.2 (#78) 2021-08-30 19:57:00 +03:00
Alexander Bondarenko
9e5b39850e
Prepare 1.0.2 (#77) 2021-08-30 19:20:26 +03:00
Alexander Bondarenko
d7dc999e8b
Add withID (#75)
Raw versions are specialized to match overloaded C++ functions.
2021-08-28 15:52:04 +00:00