367 Commits

Author SHA1 Message Date
Jonathan Spira
72007c06b6 final version 2021-01-26 00:31:51 -08:00
Jonathan Spira
2e6956a3ce correct bytesize from imgui 2021-01-25 14:38:08 -08:00
Jonathan Spira
a8975b95c0 Updated for pod data 2021-01-25 14:28:05 -08:00
Jonathan Spira
07e0580d2d fixed formatting issues 2021-01-24 15:16:17 -08:00
Jonathan Spira
b03e7d7a16 clarified some doc comments and made the unsafe variant simpler to understand 2021-01-24 15:00:54 -08:00
Jonathan Spira
35c0cf0e6f drag and drop experimental implementation 2021-01-24 14:55:03 -08:00
nsf
171d86aea1 Refactor WindowDrawList into DrawListMut and fix #413.
- Rename WindowDrawList -> DrawListMut. It's not about window draw lists, but
  about background/foreground draw lists as well. The naming was not an easy
  choice, but seems like in rust it's a common convention to add a Mut suffix for
  mutable entities. Imgui-rs already has DrawList and it acts as an immutable
  reference type for rendering implementations to consume. Hence the name
  DrawListMut, which becomes a mutable reference to draw list with methods
  to modify it.
- Add Ui::get_foreground_draw_list(). Same as Ui::get_background_draw_list()
  but for foreground.
- Add draw_list example which shows the use of all three draw lists
  (window, bg, fg).
2020-12-31 20:20:36 -08:00
Thom Chiovoloni
64a8d3260d Attempt to bludgeon the winit/glium/gfx versions into submission 2020-12-31 19:32:44 -08:00
Benedikt Mandelkow
9724686118 inline calls to key_index into methods which operate on keys
to make them easier to call for the user

closes #415
2020-12-31 13:31:53 -08:00
henbr
1ea6073821 fix, make items_count non-optional 2020-12-31 13:06:29 -08:00
henbr
936e63bdfa Add ListClipper wrapper 2020-12-31 13:06:29 -08:00
Thom Chiovoloni
59f3559224 Fix readme link 2020-12-16 17:54:32 -08:00
Thom Chiovoloni
18c02472fc Prep release 0.6.1 2020-12-16 17:53:16 -08:00
Willem Verstraeten
07cc96363f Support both glium 0.28 and 0.29 2020-12-16 17:39:57 -08:00
Willem Verstraeten
7e2293bde6 support winit-0.24 2020-12-15 20:47:54 -08:00
Willem Verstraeten
9210130872 added richer support for ListBox 2020-12-13 10:54:35 -08:00
Thom Chiovoloni
0df089ab29 Move to virtual workspace 2020-12-06 09:32:21 -08:00