Commit graph

1,792 commits

Author SHA1 Message Date
Eddy Bruel
f25f843c6f Dead code removal 2025-07-09 15:04:16 +02:00
Eddy Bruel
fea9767ec0 Helper functions for rects 2025-07-09 15:04:16 +02:00
Eddy Bruel
e7da71f266 Clean up eval_width/eval_height 2025-07-09 15:04:16 +02:00
Eddy Bruel
e6bdf1c025 Helper functions for widths/heights 2025-07-09 15:04:16 +02:00
Kevin Boos
3b5c73b028
Fix iOS Info.plist to use canonical version strings. Add location permissions. (#778) 2025-07-08 19:57:51 +02:00
Kevin Boos
fe649a34d3
Avoid OOB error in ab_glyph_rasterizer (#779) 2025-07-08 19:57:34 +02:00
Julián Montes de Oca
d6fb5b8014
Track parent size in AdaptiveView to support applying selector oustide draw flow (#776) 2025-07-01 20:43:21 +02:00
Guocork
0cf3638556
widget: loading_spinner (#774)
* loading spinner

* convert style

* use arc_round_caps refactor

* adjust the speed

* change to uniform

* Update widgets/src/loading_spinner.rs

Co-authored-by: Kevin Boos <1139460+kevinaboos@users.noreply.github.com>

* Update widgets/src/loading_spinner.rs

Co-authored-by: Kevin Boos <1139460+kevinaboos@users.noreply.github.com>

---------

Co-authored-by: Kevin Boos <1139460+kevinaboos@users.noreply.github.com>
2025-06-30 19:49:50 +02:00
Julián Montes de Oca
3885596b04
Fix AdaptiveView not re-applying selector on geom change (#775) 2025-06-30 19:48:50 +02:00
alanpoon
836d042c45
Persistent and restoration of Window State (#770)
* Added create_window, remove is_created check

* Added Event::Shutdown for window when shutting down

* reduce code redundancy with assignment

Co-authored-by: Kevin Boos <1139460+kevinaboos@users.noreply.github.com>

* allow macos fullscreen

* add window_fullscreen

* window_fullscreen

* linux_x11, support set fullscreen during initalisation

---------

Co-authored-by: Kevin Boos <1139460+kevinaboos@users.noreply.github.com>
2025-06-20 20:49:55 +02:00
Guocork
792011702e
impl set_position on Linux (#748)
* impl  set_position

* remove set value

* finish set_position
2025-06-20 20:49:03 +02:00
Julián Montes de Oca
432dd2207a
Implement data directory handling for mobile platforms (#769)
- Add `get_data_dir` method to `CxOsApi` for retrieving writable data directory paths on mobile platforms.
2025-06-20 20:48:48 +02:00
Kevin Boos
8d34458302
Allow users of TextInput to know when a keypress had no effect (#767)
* Allow users of `TextInput` to know when a keypress had no effect

This PR makes the `TextInput` widget emit a `TextInputAction::KeyDownUnhandled`
action upon keypresses that don't actually make any change to the widget's selection.

This action is currently only emitted for the Up, Down, Left, and Right arrow keys,
but we can certainly add it to others like Backspace, Delete, etc if desired.

Use case: if you want to enable custom behavior when the user uses arrow keys
to navigate an empty TextInput widget, such as jumping up out of the TextInput focus
to edit the most recent message you just sent in a chat app, then this PR
is necessary. Otherwise there's no way to know whether a given input actually had
any effect on the TextInput's inner cursor/selection state.

* Add the FaceID usage description to iOS Info.plist

Allows Makepad apps to use biometric auth on iOS
2025-06-20 20:48:06 +02:00
Admin
cb96fb5c7f ai bounds fix on raster 2025-06-19 20:54:33 +02:00
okapii
40f8166e53 Dark & light theme disabled state look improvements 2025-06-17 17:22:58 +02:00
okapii
eee6fd8922 Minor Slider improvements 2025-06-17 15:26:21 +02:00
okapii
5d2767cc7a CheckboxCustom updates 2025-06-16 12:07:09 +02:00
okapii
4fbd5363ac Checkbox: remove superfluous match statement, introduce CheckBoxCustom for arbitrary graphical CheckBoxes 2025-06-16 11:09:16 +02:00
okapii
08f2651373 Add disabled examples to UI Zoo 2025-06-16 10:48:31 +02:00
okapii
5ee3e3d978 Optimize flatter widget variants and remove ones for which this approach does not work properly 2025-06-16 10:48:31 +02:00
okapii
34b364f124 Further apply theme, simplify skeleton theme. 2025-06-16 10:48:31 +02:00
okapii
fbb3f7eee0 Apply theme and further clean up skeleton theme 2025-06-16 10:48:31 +02:00
okapii
fc85dd4b3a Light theme refinements 2025-06-16 10:48:31 +02:00
okapii
9fe9750984 SliderRound: fix input position 2025-06-16 10:48:31 +02:00
okapii
3c649b4f54 Light theme progress 2025-06-16 10:48:31 +02:00
okapii
1da98f6995 Skeleton finished 2025-06-16 10:48:31 +02:00
okapii
3b7b2f0dd3 Finished Skeleton Theme 2025-06-16 10:48:31 +02:00
okapii
8588740225 Skeleton theme progress 2025-06-16 10:48:31 +02:00
okapii
183a3e58c7 Skeleton Theme progress 2025-06-16 10:48:31 +02:00
okapii
b48804cfb5 Skeleton Theme progress 2025-06-16 10:48:31 +02:00
okapii
b8646879a6 Skeleton theme progress 2025-06-16 10:48:31 +02:00
okapii
9793f2366b Skeleton theme progress 2025-06-16 10:48:31 +02:00
okapii
3f924f5278 Skeleton theme progress 2025-06-16 10:48:31 +02:00
okapii
928c7cd679 Subtly improve controsts 2025-06-16 10:48:31 +02:00
okapii
a6027e094c Design progress 2025-06-16 10:48:31 +02:00
okapii
f18c87989a Theme styling progress 2025-06-16 10:48:30 +02:00
okapii
a34a1194d7 Light Theme: progress 2025-06-16 10:48:30 +02:00
okapii
01c22006ea Filetree: Fix filler block 2025-06-16 10:48:30 +02:00
okapii
9ac5c7962a tab_bar: styling refinements 2025-06-16 10:48:30 +02:00
okapii
e825ea4b6c Slider: refinements 2025-06-16 10:48:30 +02:00
okapii
6c1fa12bd8 UI Zoo, image examples: styling improvements 2025-06-16 10:48:30 +02:00
okapii
a55ed669aa UI Zoo: layout styling refinements 2025-06-16 10:48:30 +02:00
okapii
998f677adf UI Zoo: use the light theme for developing it 2025-06-16 10:48:30 +02:00
okapii
2840727fa7 UI Zoo, view examples: Apply the theme to make light mode work properly 2025-06-16 10:48:30 +02:00
okapii
1ae7eef34e Light theme progress 2025-06-16 10:48:30 +02:00
okapii
956e862611 Make sure Hr and Vr don't become invisible when the global beveling theme parameter is 0. 2025-06-16 10:48:30 +02:00
okapii
460177ddc1 Remove opaque colors from theme to make sure the contrast global parameter works as expected 2025-06-16 10:48:30 +02:00
okapii
fe8a60bc62 Makepad Readme update 2025-06-10 11:23:14 +02:00
Admin
2f60a93960 buildrs for font paths in git dep 2025-06-06 15:52:26 +02:00
Julián Montes de Oca
9f93aea7cd
AdaptiveView Improvements (some regression fixes) (#764)
* Fix DrawList generation mismatch in overlay cleanup

Prevents "Drawlist id generation wrong index" errors when AdaptiveView
switches between variants by using checked_index() instead of direct
indexing to safely handle recycled DrawList IDs in overlay.end().

* Dispatch WindowGeomChange on web upon CreateWindow

* Move display context updates to window and improve default selector in AdaptiveView
2025-06-03 22:11:55 +02:00