Thom Chiovoloni
e585291e4d
fix lint errors and ensure examples actually are linted
2020-12-05 23:32:54 -08:00
Thom Chiovoloni
4e7990b157
Relax orderings in window_draw_list (and make it actually atomic)
2020-12-05 23:32:54 -08:00
Thom Chiovoloni
c768fc49a4
Use parking_lot::const_recursive_mutex instead of lazy_static
2020-12-05 23:32:54 -08:00
Jonathan Spira
6e54cb39d4
added new for texture id
2020-12-05 19:41:53 -08:00
Joonas Javanainen
e55db99648
Upgrade to imgui 1.79
2020-11-12 23:03:00 +02:00
Joonas Javanainen
cf2b03b1e1
Merge pull request #369 from toyboot4e/master
...
Add comments to DrawCmd
2020-11-06 18:19:14 +02:00
Li Zhaoxian
0dc4bed026
Add support to peek chars via imgui rs io
2020-10-02 18:34:27 +08:00
toyboot4e
ee04e0b955
Add comments to DrawCmd
2020-09-24 03:23:37 +09:00
Joonas Javanainen
9401398b29
Remove deprecated stuff
2020-09-20 00:00:24 +03:00
Joonas Javanainen
f6d6990241
Fix slider ranges once again
2020-09-19 20:42:50 +03:00
Joonas Javanainen
50c630bb58
Damn you, clippy
2020-09-19 20:31:31 +03:00
Joonas Javanainen
2922dabc8f
Looks like sliders *do* need a default range
2020-09-19 19:38:40 +03:00
Joonas Javanainen
e5c6eb97f3
Re-export GroupToken in the public API
2020-09-19 16:06:03 +03:00
Joonas Javanainen
806608740a
Update slider API slightly
2020-09-19 14:54:03 +03:00
Joonas Javanainen
03ad6b10e0
Overhaul the drag slider API
2020-09-19 14:47:09 +03:00
Joonas Javanainen
67ba49646f
Upgrade to cimgui/imgui 1.78
2020-09-19 13:21:08 +03:00
Joonas Javanainen
66260c123b
Merge pull request #355 from N3xed/master
...
Fixed `SharedFontAtlas` not being used
2020-09-03 00:19:32 +03:00
Dominik Gschwind
7c084caa1a
Fixed SharedFontAtlas not being used
...
When creating a new imgui context, the optional shared font atlas was not being used.
2020-08-18 12:59:49 +02:00
Ketan Reynolds
ba1976950d
Add get_mut to Textures struct
2020-08-11 12:25:33 +02:00
Roy Jacobs
6fd588b7b9
Add support for TabItem flags
2020-07-09 15:16:59 +02:00
Joonas Javanainen
5dea51c55b
Merge pull request #318 from SnoozeTime/tabbar-wrapper
...
implementation of TabBar and TabItem
2020-07-08 18:39:16 +03:00
Benoit Eudier
03dda90a78
Run rustfmt on src folder
2020-07-08 09:54:44 +09:00
Benoit Eudier
6314e72b9e
implementation of TabBar and TabItem
2020-07-08 09:54:44 +09:00
Joonas Javanainen
d3fea52613
Fix issues caused by 1.77 upgrade
2020-07-08 00:04:47 +03:00
Joonas Javanainen
c575dec15b
Change update_delta_time to accept a Duration
...
Fixes #333
2020-07-07 23:08:00 +03:00
Joonas Javanainen
d4ec88068f
Merge pull request #335 from lizhaoxian/expose-background-drawlist
...
Expose background drawlist
2020-07-07 22:39:30 +03:00
Joonas Javanainen
f7f074423d
Merge pull request #327 from barsoosayque/master
...
Manually managing tooltips
2020-07-07 22:33:44 +03:00
Joonas Javanainen
f05e3d666c
Merge pull request #326 from filnet/expose-more-drawdata-members
...
Make cmd_lists_count public in DrawData struct
2020-07-07 22:32:59 +03:00
Zhaoxian Li
464557fdc6
Force background to consume self
...
This is to enforce the consistency WINDOW_DRAW_LIST_LOADED
2020-06-21 22:30:29 +08:00
Zhaoxian Li
ebeb92aa8e
Expose background drawlist
2020-06-21 22:05:57 +08:00
Philippe Renon
5e5de53904
Add a public getter for DrawData cmd_lists_count member
...
Also updated DrawData docs with latest from imgui.
Relates to https://github.com/Gekkio/imgui-rs/issues/325
2020-06-05 22:24:35 +02:00
Joonas Javanainen
8fa58fb52c
Apply some missing 1.76 changes
2020-06-05 22:03:22 +03:00
Joonas Javanainen
89712e1f3d
Update memory layouts
2020-06-05 16:09:24 +03:00
Joonas Javanainen
f93389178b
Handle new FontGlyph bitfields
2020-06-05 16:09:24 +03:00
Joonas Javanainen
41ac160bd8
Adapt to latest cimgui function names
2020-06-05 16:09:24 +03:00
Joonas Javanainen
290429bd12
Replace old nonUDT2 function variants
2020-06-05 16:09:24 +03:00
Joonas Javanainen
6ee5a2867b
Generate bindings for 1.76
...
cimgui has changed a lot, and the default bindings include a lot of
internal stuff that we (probably) don't want. Therefore we stop checking
out cimgui as a submodule and just use it as a tool instead.
2020-06-05 16:08:40 +03:00
barsoosayque
4203eaacc6
Add ability to create tooltip function-less
2020-05-25 22:18:36 +07:00
Walter Pearce
02545f9c38
Add support for winit 0.22 with feature flag in imgui-winit-support. Fix some clippy warnings.
2020-05-18 15:12:38 -04:00
Jasper Bekkers
d90fe8171e
WebAssembly FFI shells ( #322 )
...
* Allow imgui-rs to generate wasm-ffi bindings
* Missing wasm_bindings.rs file
* Update wasm bindings
* Take wasm import name from environment variable
* Remove debug message
* Formatting
2020-05-18 20:54:30 +02:00
Aaron Loucks
321d315428
Font name length check should use the minimum length
2020-03-16 17:04:37 -04:00
Joonas Javanainen
c039d4ef38
Fix clippy nit
2020-03-16 12:25:51 +02:00
Joonas Javanainen
a5a0be44e3
Redesign tree node / collapsing header API
2020-03-16 12:02:52 +02:00
Joonas Javanainen
14fb8ce3dc
More clippy fixes
2020-02-15 13:53:21 +02:00
Joonas Javanainen
6e246b0c7c
Fix most Clippy warnings
2020-02-15 12:58:25 +02:00
Joonas Javanainen
efebe174c4
Restore old size_t behaviour
2020-02-15 12:49:55 +02:00
Joonas Javanainen
b759a44c84
Upgrade to imgui/cimgui 1.75
2020-02-15 12:39:27 +02:00
Joonas Javanainen
ff1fc49d5f
Upgrade bindgen, fix size_t changes
2020-02-15 12:21:32 +02:00
Joonas Javanainen
5ea969d273
Implement fmt::Write for ImString
2020-01-12 15:27:21 +02:00
Joonas Javanainen
d82bc65934
Fix ImString nul terminator handling
...
This also changes the semantics slightly: it's now *required* to call
`refresh_len` after the buffer is modified via a mutable raw pointer.
2020-01-12 15:27:21 +02:00