Francisco Vallarino
|
eb85a22d3b
|
Fix unit tests. 300!
|
2021-01-06 18:43:25 -03:00 |
|
Francisco Vallarino
|
6ec893bc95
|
Reorder Single/Container config and try to match options in both
|
2021-01-06 17:24:01 -03:00 |
|
Francisco Vallarino
|
4bdbc2836b
|
Test disabled state works. Add _enabled_ combinator (enabled/disabled having different purposes is confusing, think better names)
|
2021-01-06 15:56:27 -03:00 |
|
Francisco Vallarino
|
e0d743e5d5
|
Add support for _active_ style state
|
2021-01-06 15:26:47 -03:00 |
|
Francisco Vallarino
|
cc512e024e
|
Add focusHover style state (needed to be able to maintain border for active widgets)
|
2021-01-06 14:08:42 -03:00 |
|
Francisco Vallarino
|
54859fb2a4
|
Fix missing resize after Leave if follow up Enter did not request a resize
|
2021-01-06 12:51:58 -03:00 |
|
Francisco Vallarino
|
dac13bdf1c
|
Remove unneeded code
|
2021-01-06 10:50:21 -03:00 |
|
Francisco Vallarino
|
478f2895fd
|
Partial commit fixing wheel/hover issue (major cleanup needed, followup commit)
|
2021-01-06 10:40:39 -03:00 |
|
Francisco Vallarino
|
c5085090ea
|
Temporary commit fixing leave/enter resize issue
|
2021-01-05 13:51:37 -03:00 |
|
Francisco Vallarino
|
f396aa0c63
|
Make listView handle style changes when the action happens instead of rendering time
|
2021-01-05 11:01:35 -03:00 |
|
Francisco Vallarino
|
d0ea69efd4
|
Update tasks
|
2021-01-04 12:55:08 -03:00 |
|
Francisco Vallarino
|
08a0810cf6
|
Fix issue when syling changes on children. Remove containerStyleOnEvent, no longer needed (it was there for performance reasons)
|
2021-01-04 10:24:01 -03:00 |
|
Francisco Vallarino
|
b47d49dc10
|
Make hover style take precedence over focus
|
2021-01-04 10:07:47 -03:00 |
|
Francisco Vallarino
|
436336de3d
|
Consider text size when rebuilding glyphs on label and button
|
2021-01-04 09:48:06 -03:00 |
|
Francisco Vallarino
|
5b9293ee87
|
When a new widget is detected during Container merge, request a Resize (sizeReqs need to be recalculated)
|
2021-01-03 22:33:39 -03:00 |
|
Francisco Vallarino
|
8af2f21d0f
|
Rename containerStyleOnMerge to containerStyleOnEvent
|
2021-01-03 22:31:53 -03:00 |
|
Francisco Vallarino
|
f6bf75294a
|
Add containerGetActiveStyle to Container
|
2021-01-03 22:21:54 -03:00 |
|
Francisco Vallarino
|
b2eca14864
|
Base buttons merge/resize logic on labels
|
2021-01-03 22:12:48 -03:00 |
|
Francisco Vallarino
|
45f7490ead
|
Remove widgetUpdateSizeReq. Update sizeReq when necessary on init/merge/handleEvent/handleMessage
|
2021-01-03 22:01:26 -03:00 |
|
Francisco Vallarino
|
d11452bf8c
|
Temporary commit for removal of updateSizeReq
|
2021-01-02 11:51:23 -03:00 |
|
Francisco Vallarino
|
92d10fea73
|
Fix unit tests
|
2021-01-01 14:27:25 -03:00 |
|
Francisco Vallarino
|
1888bdca28
|
Use upgraded nanovg bindings (temporarily from my fork)
|
2020-12-31 13:38:00 -03:00 |
|
Francisco Vallarino
|
9bc6724a62
|
Default to not ignoring empty area (sink events). Without it, cursor functionality is janky. Opting out makes it clearer that special handling is needed
|
2020-12-30 17:35:11 -03:00 |
|
Francisco Vallarino
|
ac6b826a6a
|
Add a same color border to items which use borders on hover (dark theme). This avoids unnecessary resizes
|
2020-12-30 17:33:46 -03:00 |
|
Francisco Vallarino
|
42e21b7edd
|
Run beginFrame before using text related functions. Without this, the reported sizes differ from later invocations
|
2020-12-30 17:32:52 -03:00 |
|
Francisco Vallarino
|
c98b802379
|
Update tasks
|
2020-12-29 14:51:38 -03:00 |
|
Francisco Vallarino
|
19595aee5d
|
Improve handling of lower layers in zstack. Add option to ignore events in a container
|
2020-12-29 14:07:15 -03:00 |
|
Francisco Vallarino
|
acff0fffd4
|
Make zstack handle mouse according to used regions. Make stack adjust its size to its content. Simplify related settings
|
2020-12-28 23:00:25 -03:00 |
|
Francisco Vallarino
|
62463987d8
|
Handle multiple clicks on button
|
2020-12-27 22:33:36 -03:00 |
|
Francisco Vallarino
|
babbd865bd
|
Add UpdateWidgetId request, handle it in Handlers/WidgetTask
|
2020-12-27 22:12:24 -03:00 |
|
Francisco Vallarino
|
a13da072bd
|
Add concept of WidgetId. Handle updates in Composite/Container
|
2020-12-27 00:37:50 -03:00 |
|
Francisco Vallarino
|
d49a29e4be
|
Add scroll resize test. Add pending value drag tests for integralField. Complete original testing plan
|
2020-12-26 17:03:03 -03:00 |
|
Francisco Vallarino
|
35e2431ca9
|
Fix multi blur issue on dropdown. Update composite test to account for correct initial path
|
2020-12-26 16:31:32 -03:00 |
|
Francisco Vallarino
|
723bcb4e84
|
Add dropdown tests
|
2020-12-26 15:21:21 -03:00 |
|
Francisco Vallarino
|
c726c835af
|
Re enable pending tests. Add handleMessage test in composite
|
2020-12-25 23:18:12 -03:00 |
|
Francisco Vallarino
|
91d1edd564
|
Add unit tests to inputField dragging. Add typeclass for dragRate
|
2020-12-25 22:34:16 -03:00 |
|
Francisco Vallarino
|
b976bdf758
|
Fix issue with right aligned text field. Fix issue with selection
|
2020-12-25 16:23:14 -03:00 |
|
Francisco Vallarino
|
a6ae145192
|
Also handle DblClick
|
2020-12-25 10:55:32 -03:00 |
|
Francisco Vallarino
|
f61d6d5210
|
Handle manually input Click events, in order to avoid modifying all the existing tests
|
2020-12-25 10:27:21 -03:00 |
|
Francisco Vallarino
|
a69ad00e76
|
Fix two unit tests
|
2020-12-25 01:27:43 -03:00 |
|
Francisco Vallarino
|
5dc38b5de9
|
Refactor radio to use StyleChangeCfg new options
|
2020-12-24 17:38:08 -03:00 |
|
Francisco Vallarino
|
edc3bb73d1
|
Only notify of Enter/Leave if not being dragged. Also notify Enter/Leave when mouse is released and hovered changed
|
2020-12-24 16:37:46 -03:00 |
|
Francisco Vallarino
|
58b1262f6b
|
Handle inputField icon changes directly in the widget
|
2020-12-24 16:37:02 -03:00 |
|
Francisco Vallarino
|
dd44675a4b
|
Cmd+arrow selects all too. Handle double/triple click to select word/all. Reformat some sections of InputField
|
2020-12-24 12:52:33 -03:00 |
|
Francisco Vallarino
|
c22bf586cb
|
Capture/release mouse on press/release events
|
2020-12-24 00:20:15 -03:00 |
|
Francisco Vallarino
|
4784578759
|
Add support for drag modification of input fields
|
2020-12-24 00:07:46 -03:00 |
|
Francisco Vallarino
|
58cd92a40b
|
Refactor event preprocessing logic (move from Core to Handlers). Add text selection unit tests
|
2020-12-22 18:23:01 -03:00 |
|
Francisco Vallarino
|
e645563f9d
|
Add mouse selection to text field
|
2020-12-22 10:58:50 -03:00 |
|
Francisco Vallarino
|
76054b73ba
|
Minor renaming in inputField
|
2020-12-20 22:33:39 -03:00 |
|
Francisco Vallarino
|
a597abd96d
|
Add support for cutting text
|
2020-12-20 20:54:54 -03:00 |
|