Jonathan Johnson
94e473cdd3
Fixing nested collapse animations
2024-08-27 09:56:14 -07:00
Jonathan Johnson
9a148b8765
Making all easing functions themable
2024-08-27 08:32:51 -07:00
Jonathan Johnson
e773bc123a
Updated changelog
2024-08-20 16:05:26 -07:00
Jonathan Johnson
ba8d73b6b7
Bumping version
2024-08-20 12:30:41 -07:00
Jonathan Johnson
f660e1138d
bistream-io via ravif via image causing MSRV bump
2024-08-20 12:15:26 -07:00
Jonathan Johnson
06e9072a23
Noting Easing change
2024-08-20 12:13:09 -07:00
Jonathan Johnson
9b3e6c13f4
Fixed remounting WidgetInstances
2024-08-20 10:31:47 -07:00
Jonathan Johnson
f0c1aec40e
Fixing selecting before/after the text
2024-07-26 09:33:33 -07:00
Jonathan Johnson
459dc3f96a
Renaming CushyWindowBuilder to Standalone
...
Closes #155
2024-07-26 09:20:39 -07:00
Jonathan Johnson
ffb1475e30
Fixing padding/shadow calculations on Container
...
Fixes #158
2024-07-26 08:58:59 -07:00
Jonathan Johnson
ba3a4b9b02
Added Zoom factor
...
Closes #146
2024-07-25 11:31:38 -07:00
Jonathan Johnson
3de9d0597f
Updating kludgine and figures
2024-07-22 08:06:03 -07:00
Jonathan Johnson
66b37bb88d
Updated msrv from wgpu update
2024-07-22 07:29:10 -07:00
Jonathan Johnson
60c7ef8859
Honoring Window::inner_size's initial value
...
Refs #160
2024-07-08 16:50:50 -07:00
Jonathan Johnson
24291772de
Added Window::on_close_requested
...
Closes #161
2024-07-08 16:06:45 -07:00
Jonathan Johnson
6a1f7f5462
Fixed deadlock with DynamicMutexGuard::unlocked
...
During the change callback process, unlocked is called to allow the
change callbacks to run while the dynamic is unlocked. The error with
the previous version of this code is that the during_callback_state was
always overwritten when being returned. The problem is that another
thread could currently have the mutex locked and could have stored its
own state -- which can happen if two threads are both trying to invoke
change callbacks at the same time.
By moving the state saving and reloading to only happen when the mutex
guard is acquired, we can ensure that interleaving threads will work
correctly.
2024-06-13 09:16:13 -07:00
Jonathan Johnson
7bd13e2a0a
Added for_each_subsequent
...
Refs #156
The ForEach trait currently doesn't have a subsequent version, but given
the discussion in the related issue I think that's OK.
2024-06-07 09:08:14 -07:00
Jonathan Johnson
8c8dca63ba
Clarified some window builder documentation
...
Really the functions should be renamed -- see #155
2024-05-17 15:00:24 -07:00
Jonathan Johnson
3da08bca62
Fixed a crash in Switcher
...
I'm not sure exactly what caused this that other simpler cases were not,
but essentially nodes were already removed once by the time this loop is
evaluated, so we can skip adding them back to the list again.
2024-05-13 08:39:43 -07:00
Jonathan Johnson
774a846210
animate_mouse_button + more example recordings
2024-05-12 19:12:01 -07:00
Jonathan Johnson
568f2ca327
Added plotters example capture + animate_keypress
2024-05-12 14:23:29 -07:00
Jonathan Johnson
db2296c626
Preparing v0.3.0
2024-05-12 08:30:43 -07:00
Jonathan Johnson
a3903463ea
Added note in changelog for appit fix
2024-05-12 06:45:27 -07:00
Jonathan Johnson
b57188f80f
Added optional tokio integration
...
Closes #147
2024-05-11 21:25:54 -07:00
Jonathan Johnson
07f1febe9f
Removed ChosenMenuItem
...
Also updated the changelog
2024-05-10 12:15:33 -07:00
Jonathan Johnson
1c8d4e0176
ButtonClick + Overlays at locations
...
The overlay example now supports right-clicking to open overlays at the
clicked location, showing how a context menu widget can begin being
built.
2024-05-08 08:38:26 -07:00
Jonathan Johnson
ecf0d45bfa
Updating MSRV
2024-05-02 07:07:13 -07:00
Jonathan Johnson
da6440a9a6
Updated changelog
2024-05-01 12:49:30 -07:00
Jonathan Johnson
74034760ce
OverlayLayer::dismiss_all
2024-03-20 11:40:20 -07:00
Jonathan Johnson
a63af0f9de
Exposing ModifiersExt
2024-03-19 10:17:28 -07:00
Jonathan Johnson
18abfc66f2
Added ability to disable vsync
2024-03-17 08:44:02 -07:00
Jonathan Johnson
3762bc6dc1
Dynamic font loading
...
Closes #145
2024-03-06 16:53:36 -08:00
Jonathan Johnson
9c4ae939e1
Implemented nested widget unmounted events
...
Closes #138
This implementation works around most of the locking issues that arose
the first few times I tried fixing this. Unfortunately it's been just
long enough for me to forget how I triggered some catastrophic issues in
the past, but all of the current examples that would invoke this
behavior continue to work, and some of the side projects that have some
weird usages also still work.
2024-03-06 09:50:29 -08:00
Jonathan Johnson
0e5976de10
Dynamic::try_lock
...
Plus other minor changes.
2024-01-26 18:13:42 -08:00
Jonathan Johnson
e2e5085b1f
Added List widget
2024-01-18 13:29:50 -08:00
Jonathan Johnson
02e90e48c6
Image aspect scaling now requests sizes
2024-01-13 05:54:51 -08:00
Jonathan Johnson
c242009cb8
Fixing set_font_family to not be sticky
2024-01-13 05:52:27 -08:00
Jonathan Johnson
f8cb7e7f32
Added the Delimiter widget
2024-01-12 15:44:18 -08:00
Jonathan Johnson
cc207fbf8c
Added optional plotters integration
...
Closes #133
The real work was done in Kludgine.
2024-01-11 20:52:40 -08:00
Jonathan Johnson
956e4109f9
Added InvalidationBatch
2024-01-11 09:47:51 -08:00
Jonathan Johnson
6958c6863c
Fixing Color::contrast_between
...
While working on the color pickers, I was noticing the contrast_between
choices seem a little off.
2024-01-11 07:09:17 -08:00
Jonathan Johnson
8a274df730
Added more color pickers
...
This set of changes is making me think of adding Rgb/Rgba types and
having our own color enum.
2024-01-10 13:27:12 -08:00
Jonathan Johnson
246352fed2
Added HslPicker
2024-01-10 08:17:09 -08:00
Jonathan Johnson
6ad6cca32d
Children renamed to WidgetList
...
Plus more work on the user's guide, which inspired the rename.
2024-01-09 13:26:14 -08:00
Jonathan Johnson
5556d2ea6d
FlexibleDimension now implements Zero
2024-01-08 09:07:17 -08:00
Jonathan Johnson
e548f1255d
Closing no longer repeats
...
Closes #108
Turns out there was a property on KeyEvent this whole time... oops.
2024-01-06 14:55:49 -08:00
Jonathan Johnson
cda13c42a2
Guide intro + KeyEvent
...
Also fixed virtual window's refresh handling.
2024-01-06 14:46:48 -08:00
Jonathan Johnson
bb28f96b58
Space fix
2024-01-06 10:25:45 -08:00
Jonathan Johnson
6ff766846f
Added CushyWindow
...
While working on the changelog, I realized I didn't provide a type that
allowed a third party developer to provide a
PlatformWindowImplementation. This type now completes it.
2024-01-04 15:58:29 -08:00
Jonathan Johnson
244797110e
Added to_ variants for into_ functions
2024-01-02 15:07:06 -08:00