Samuel Guerra
4cf231391a
Fixed focus example.
2021-05-17 15:14:52 -03:00
Samuel Guerra
f1f7877374
Added more focus request kinds.
2021-05-16 15:24:30 -03:00
Samuel Guerra
41f11df5ea
Finished implementing RcNode.
...
Added TODO and design idea for a "clone move" closure attribute macro.
Added more debug assertions in widget_base, discovered BUG, window is updating nodes before init.
2021-05-15 15:31:55 -03:00
Samuel Guerra
0c3bcaf05a
Improved UiMovable with a slot widget.
2021-05-14 22:45:49 -03:00
Samuel Guerra
564102349a
Implemented app level event handling.
...
Improved tracing of focus events in focus example.
2021-05-14 17:39:50 -03:00
Samuel Guerra
eeb79753ee
More tests and TODOs.
2021-05-14 01:12:14 -03:00
Samuel Guerra
6966fffa16
Implemented widgets! and nodes!.
2021-03-30 19:49:36 -03:00
Samuel Guerra
ca4c600929
Fixed release build.
2021-03-17 15:29:27 -03:00
Samuel Guerra
c156249a73
Finished conversion to new widget syntax.
2021-03-11 16:40:31 -03:00
Samuel Guerra
6bd145accc
Started using new UiList.
2020-11-16 21:00:14 -03:00
Well
f5ec2fe1c9
Simplified the event API.
2020-11-05 00:43:26 -03:00
Well
21022a27c0
Fixed bugs(examples), fixed documentation(uniform_grid) and used the shorter scalar type as property values in examples, where applicable.
2020-10-31 01:26:40 -03:00
Samuel Guerra
87ab62432b
Refactored alt_scope search to work with menus bottom aligned.
2020-09-09 15:44:15 -03:00
Samuel Guerra
86f534f12d
Improved focus example debug info.
2020-08-27 20:43:21 -03:00
Samuel Guerra
1136782fb5
Implemented alt return for any source of focus move.
2020-08-27 16:10:33 -03:00
Samuel Guerra
6d54dc0602
Fixed release compilation of window.
...
Improved debug info in focus example.
2020-08-27 00:51:40 -03:00
Samuel Guerra
1a6729535f
More alt scope work, reimplemented skip to skip widget sub-tree.
2020-08-25 20:07:41 -03:00
Samuel Guerra
3940fb298c
More focus examples.
2020-08-24 18:54:34 -03:00
Samuel Guerra
0efd290082
Implemented focus events.
2020-08-24 15:46:21 -03:00
Samuel Guerra
f584c405f5
Removed test code.
2020-08-22 20:25:43 -03:00
Samuel Guerra
7c57394614
Fixed FocusScopeOnFocus::FirstDescendant, now uses tab index.
2020-08-22 20:15:33 -03:00
Samuel Guerra
4cefb6f5f7
Don't show console window in release examples.
2020-08-06 13:07:32 -03:00
Samuel Guerra
42b2a71837
Removed better_panic.
2020-08-05 23:55:35 -03:00
Samuel Guerra
08adb34530
Implemented programatically resizing window.
2020-07-25 20:11:25 -03:00
Samuel Guerra
e750a92fbd
Reimplemented next/prev_focusable_sorted to use binary search and behave like HTML when tabbing from a SKIP item.
2020-07-22 15:38:38 -03:00
Samuel Guerra
d31eb73649
Started implementing support for tabindex.
...
Added focus example.
Removed unescessary recursion_limit (forgot to remove when removed proc-macro-hack).
2020-07-22 01:16:15 -03:00
Samuel Guerra
0dc5204163
Multiple changes:
...
* Updated and removed dependencies.
* Replaced old core with new.
* Implemented window_scale_changed event.
* Upgraded ui_n to new UiNode.
2020-01-28 00:52:22 -03:00
Samuel Guerra
05473c807d
Removed errors.
2020-01-08 15:10:04 -03:00
Samuel Guerra
4161544587
Started implementing new widget!
2020-01-08 01:17:06 -03:00
Samuel Guerra
20a75d93f7
Reorganized modules and changed widget documentation to be in the generated module.
2019-12-24 00:59:00 -03:00
Well
000c9fa556
Refactured to use non_modrs_mods (allows mod.rs files to be just files with the same name as the folder in src, helps prevent having multiple mod.rs files open in editors and forgetting which is which)
2019-12-22 01:03:31 -03:00
Samuel Guerra
afa46d117a
Implemented custom_ui documentation on top, and module includes.
2019-12-21 01:10:13 -03:00
Well
f56c3c4644
ui_widget now supports properties and function being in any order between each other and properties are now optional.
2019-12-20 01:22:45 -03:00
Samuel Guerra
9474975eea
Implemented initial custom_ui.
2019-12-19 01:01:08 -03:00
Samuel Guerra
c44d2db4c6
Designed ui_widget declaration syntax, started implementing it.
2019-12-14 01:11:45 -03:00
Well
8c3b8d63b9
Implemented #[ui_widget]
2019-12-13 01:10:55 -03:00
Samuel Guerra
51a4c7ce7c
Implemented named arguments in ui!
2019-12-12 23:10:09 -03:00
Samuel Guerra
e78b4d137c
Finished ui id.
2019-12-10 20:02:41 -03:00
Samuel Guerra
d8f8388503
Implemented ui_item and mouse capture api signature.
2019-12-10 16:52:46 -03:00
Samuel Guerra
14b6e46735
Started implementing button.
2019-12-10 01:20:33 -03:00
Samuel Guerra
e1daea13fb
Implemented view, ui_n, ui for Option<Ui> and changed stack to not need collection type for collect.
2019-12-09 23:28:08 -03:00
Samuel Guerra
c3878dcf96
Refactored API to use new ui! macro instead of TraitExt builder pattern.
2019-12-03 01:05:50 -03:00
Well
ae816d3833
Reimplemented shift+tab using the new tab navigation logic. Fixed bugs.
2019-11-23 00:36:16 -03:00
Well
37e7357e5c
Implemented thread_profiler locally.
2019-11-21 01:18:36 -03:00
Well
7eecf818d1
Implemented custom tab navigation order inside scopes with tab_index
2019-11-19 00:17:19 -03:00
Samuel Guerra
d20eec9abf
Refactored focus scope and focusable to use new UiConfig pattern.
2019-11-16 01:22:00 -03:00
Well
bb695b4de9
Refactored FocusScope and merged AltFocusScope into it.
2019-11-15 01:00:31 -03:00
Samuel Guerra
c6f0750771
Implemented ALT focus scope.
2019-11-14 01:07:20 -03:00
Samuel Guerra
0d6ed5e046
Fixed ctrl+shift bug.
2019-11-09 00:01:14 -03:00
Well
bf70a6c0ee
Started implementing menu scopes
2019-11-08 01:09:45 -03:00
Samuel Guerra
2b7634cbff
Implemented directional navigation in retained mode.
2019-11-07 00:14:48 -03:00
Samuel Guerra
670e61549c
Added TODO, removed test code.
2019-11-06 23:07:56 -03:00
Well
9521cb204f
Implemented configurable focus navigation.
2019-11-06 00:56:05 -03:00
Samuel Guerra
489ee22776
Finished tab navigation.
2019-11-02 00:30:06 -03:00
Well
89844df3be
Started changing next() keyboard navigation based on the focus elements' tree ordering
2019-11-01 01:17:46 -03:00
Samuel Guerra
f31cbbb5f9
Implemented focus scope restoration.
2019-10-31 01:08:14 -03:00
Samuel Guerra
e0a0406207
Implemented var mapping, log_value_changed, BorderDetails from Var<ColorF>.
2019-10-25 01:04:32 -03:00
Samuel Guerra
485e3d1e2f
Implemented focus events, custom focus key and start focused.
2019-10-23 01:11:22 -03:00
Well
0e3a83ba02
Fixed focus_changed
2019-10-22 01:08:46 -03:00
Samuel Guerra
9d365e4cde
Refactored all code into more mods for ease of navigation.
2019-10-17 01:33:14 -03:00
Samuel Guerra
8cc132012a
Improved rgb(a) functions.
2019-10-10 23:28:32 -03:00
Well
d68161abcb
Improved constructor APIs with some more implicit conversions.
2019-10-10 01:07:58 -03:00
Samuel Guerra
2194acf608
Improved constructor APIs with implicit conversions using IntoValue and custom BorderDetails with wanted parameters.
2019-10-09 01:12:06 -03:00
Samuel Guerra
d8a826cf51
Started implementing focus navigation.
2019-10-05 01:01:27 -03:00