Commit Graph

163 Commits

Author SHA1 Message Date
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
Ollie Charles
bde2030c25
Upgrade Haskell.nix and niv (#73) 2021-07-01 12:58:55 +00:00
Alexander Bondarenko
1706b7e966
Fix changelog header and links (#72) 2021-06-30 22:44:31 +00:00
Alexander Bondarenko
bfe8453891
Fix missing headers in source dist (#71)
Fixes #50 again
2021-06-30 22:33:00 +00:00
Alexander Bondarenko
532eebd8ed
Prepare Hackage release (#70) 2021-07-01 00:47:23 +03:00
Alexander Bondarenko
d42eb672a1
Bump imgui to 1.83 (#66)
Fixes reported vulkan error among others.
2021-06-20 19:43:49 +00:00
sheaf
1d6b7cc97b
Relax MonadUnliftIO constraint on vulkanInit (#65) 2021-06-20 19:17:58 +00:00
sheaf
c4f3a1e0b9
Update all flags to allow setting them manually (#64) 2021-06-20 20:24:22 +03:00
Alexander Bondarenko
ff267143d0
Bump deps (#62) 2021-06-15 21:52:39 +00:00
Alexander Bondarenko
dcaad12ca8
Add more drags and sliders (#60)
- DragFloatRange2
- DragInt..4
- DragIntRange2
- DragScalar
- DragScalarN

- SliderAngle
- SliderInt..4
- SliderScalar
- SliderScalarN
- vSliderFloat
- vSliderInt
- vSliderScalar

Scalar sliders expose format and flags arguments.
2021-06-06 19:10:34 +03:00
Alexander Bondarenko
f584319577
Add more text widgets (#59)
- Text replaced with TextUnformatted
- TextColored
- TextDisabled
- TextWrapped
- LabelText
- BulletText
2021-06-05 09:01:48 +00:00
Alexander Bondarenko
6ccee5234b
Add withFullscreen and related machinery (#55)
- `fullscreenFlags` available for those who want an alternative
  to `withFullscreen` without reinventing too much.
- Raw.begin got `open` and `flags` arguments.
- Added Raw.setNextWindowFullscreen combo block.
2021-06-04 23:18:16 +03:00