Jonathan Johnson
e4b8a73943
Resize layout fix for flexible children
2024-09-14 08:05:02 -07:00
Jonathan Johnson
5f832c304f
Window shortcuts
...
Due to complexities in input routing and how that interacts with layers,
it seemed prudent to support installing shortcuts directly on the
window.
This also enables overriding default shortcuts like Primary+W to close
the window.
2024-09-13 16:18:30 -07:00
Jonathan Johnson
7fc902a5a2
Dynamic<T>/Owned<T> serde support
2024-09-13 15:55:44 -07:00
Jonathan Johnson
20ab1ad029
Fixed initial window settings
...
These aren't entries in the changelog since they're bug fixes for new
code since the last release -- the entries on the changelog are
unaffected.
- focused and occluded no longer is explicitly set to false. Now, once
the window has been fully initialized, the values are read from winit
which will cause callbacks to be fired if the value has changed.
- The automatic_layout parameter if outer_position had its meaning
inverted. Passing true now properly ensures the window is
automatically positioned.
2024-09-13 10:12:01 -07:00
Jonathan Johnson
444fbbe4ed
Modal DialogBuilder
2024-09-12 14:49:37 -07:00
Jonathan Johnson
2f387c9845
Updating lockfile
2024-09-12 08:05:14 -07:00
Jonathan Johnson
09790039af
App::prevent_shutdown()
2024-09-12 07:40:59 -07:00
Jonathan Johnson
8d082ab77f
Modal layer
2024-09-11 20:54:08 -07:00
Jonathan Johnson
71f699ccda
WindowHandle::execute
2024-09-11 16:29:04 -07:00
Jonathan Johnson
2becb92f04
WrapperWidget::root_behavior default passthrough
2024-09-11 14:44:47 -07:00
Jonathan Johnson
8eaf0f414f
serde feature
2024-09-11 06:19:35 -07:00
Jonathan Johnson
7e69846909
Shortcut fallback, ShortcutMap
2024-09-10 07:46:34 -07:00
Jonathan Johnson
aa7e526965
Standardizing on SharedCallback
2024-09-09 16:37:04 -07:00
Jonathan Johnson
c2d07344d9
Keyboard shortcut handling
2024-09-09 15:05:02 -07:00
Jonathan Johnson
448482e7bf
Fullscreen example
2024-09-09 08:12:59 -07:00
Jonathan Johnson
0f866009b8
app_name, fullscreen, focused
...
Finally finished removing WindowAttributes.
2024-09-09 07:49:21 -07:00
Jonathan Johnson
8d653c2d6c
Modifiers support
...
Closes #162
2024-09-09 06:49:04 -07:00
Jonathan Johnson
1cb93e2af2
Moving non-generic code to its own function.
2024-09-08 13:29:44 -07:00
Jonathan Johnson
14d2069fec
MakeWindow + easy window centering
2024-09-08 13:19:55 -07:00
Jonathan Johnson
dd4c544ba6
Window sync edge cases
...
- synchronize_platform_window is now called prior to the first redraw.
This allows the `visible` attribute to be changed from false to true.
- Some window attributes are automatically set based on the incoming
dynamic.
- Some initial window values are delayed until after the first layout to
minimze "noisy" values.
All of these changes now allow a window that is resize_to_fit to be
initially hidden and show itself centered after being initially resized
without any flashing or on-screen movement/resizing.
2024-09-08 11:29:29 -07:00
Jonathan Johnson
bbbc8151c4
cushy::main attribute macro
2024-09-08 09:31:35 -07:00
Jonathan Johnson
0953e5ab40
Window::icon
2024-09-07 10:13:48 -07:00
Jonathan Johnson
531e6c9ab6
Window positioning properties
...
Closes #165
2024-09-07 09:31:40 -07:00
Jonathan Johnson
bf78da333d
App::monitors + run()/on_startup()
...
Closes #163
2024-09-06 11:50:35 -07:00
Jonathan Johnson
a3c57d50d3
Fixing book example generation
2024-09-05 20:47:07 -07:00
Jonathan Johnson
634a4b7af8
Added most window settings from winit
...
Refs #160
2024-09-05 20:31:01 -07:00
Jonathan Johnson
9304165981
PendingWindow in PendingApp fix + resize_to_fit
2024-09-04 08:29:13 -07:00
Jonathan Johnson
6a346ea3ef
Added Watcher type
2024-09-02 09:23:52 -07:00
Jonathan Johnson
0dd18826c9
Switcher unmounts in all windows
...
Fixes #139
2024-08-28 08:49:26 -07:00
Jonathan Johnson
53d3c58cbb
Added missing to_ variants
2024-08-28 07:42:11 -07:00
Jonathan Johnson
20366698a6
Clippy
...
Apparently I had missed some warnings due to how I was editing this
through another project using Cushy.
2024-08-28 07:03:56 -07:00
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
5f604c41dc
Switching to released kludgine
2024-08-20 12:09:26 -07:00
Jonathan Johnson
457962cc48
Removed dbg! statement
2024-08-20 12:03:09 -07:00
Jonathan Johnson
9b3e6c13f4
Fixed remounting WidgetInstances
2024-08-20 10:31:47 -07:00
Jonathan Johnson
7bd79b0662
Switched to released easing-function
...
Also added new easings example.
2024-08-18 10:58:44 -07:00
Jonathan Johnson
18d14a0275
Fixing example test compilation issues
2024-08-18 08:01:00 -07:00
Jonathan Johnson
df748a991d
Extracting easing functions + Clippy
2024-08-17 17:44:12 -07:00
Jonathan Johnson
6726855ed0
Cleaning up figures usage in examples
2024-07-26 10:34:30 -07:00
Jonathan Johnson
530f50e53c
Removing extra dbg statement
2024-07-26 09:53:26 -07:00
Jonathan Johnson
b33e06ac4e
Attempting to tweak glyph calculation
2024-07-26 09:51:29 -07:00
Jonathan Johnson
4c9dd5d7ca
Allowing partial glyph to be considered start
2024-07-26 09:46:50 -07:00
Jonathan Johnson
4a55a42011
More selection fixing
2024-07-26 09:44:41 -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