Commit Graph

44 Commits

Author SHA1 Message Date
Shadowfacts 91e40e346b
More ViewController work 2019-08-08 16:43:44 -04:00
Shadowfacts 6c0150e79a
Update to latest Fabric/Yarn 2019-08-08 15:43:18 -04:00
Shadowfacts e4fc677dc1
Start adding ViewControllers 2019-06-28 11:12:46 -04:00
Shadowfacts 2044daec40
Fix EnumButtonTests failing
Clicking an EnumButton causes it to change it's labels text, which was
changed in f29e690208 to cause a layout pass, which invalidated the manually
set frame.
2019-06-27 19:38:22 -04:00
Shadowfacts d750339c07
Fix crash in EnumButtonTests due to attempted TextRenderer usage 2019-06-27 19:32:35 -04:00
Shadowfacts ed3d2d3621
Fix tests failing due to missing screen during attempted window dismissal 2019-06-27 19:32:19 -04:00
Shadowfacts e92bcd81cb
Add StackView spacing 2019-06-27 19:27:44 -04:00
Shadowfacts c5280143b0
Change window dismissal behavior 2019-06-27 19:15:12 -04:00
Shadowfacts db06b454b1
Start DialogView 2019-06-27 19:12:35 -04:00
Shadowfacts 91c512c4e9
Improve dropdown window layout code 2019-06-27 19:06:32 -04:00
Shadowfacts f29e690208
Label improvements
Add shadow, line wrapping, line maximum
2019-06-27 18:37:40 -04:00
Shadowfacts cb66900cb5
Add Window constraints 2019-06-26 19:54:23 -04:00
Shadowfacts 0defbdeffd
Add panel background nine patch 2019-06-26 19:32:06 -04:00
Shadowfacts 260b1eafc3
Add property delegate tests 2019-06-25 22:06:29 -04:00
Shadowfacts 4d1fb68c89
Add DropdownButton 2019-06-25 21:52:17 -04:00
Shadowfacts b2499ad247
Add Z index and view sorting 2019-06-25 18:39:58 -04:00
Shadowfacts 27bad18931
Update the NinePatchView computed regions on layout changes
Otherwise, updating the size of a button (e.g. by changing it's content)
would result in the button having an incorrectly displayed background
2019-06-25 18:08:46 -04:00
Shadowfacts 3902b75a27
Handle click sounds in the screen 2019-06-23 22:34:12 -04:00
Shadowfacts df3523347c
Add ToggleButton 2019-06-23 22:21:59 -04:00
Shadowfacts f2d7e0a656
Fix button test package 2019-06-23 21:56:58 -04:00
Shadowfacts 204731e03c
Add EnumButton 2019-06-23 21:55:42 -04:00
Shadowfacts b48b72d5bb
Add EnumHelper 2019-06-23 21:29:11 -04:00
Shadowfacts 4070baaa63
Add default button backgrounds and click sound 2019-06-23 21:22:54 -04:00
Shadowfacts c79b93a4f9
Add NinePatchTexture and NinePatchView 2019-06-23 20:09:52 -04:00
Shadowfacts 6485fd1035
Add Texture and TextureView 2019-06-23 18:23:59 -04:00
Shadowfacts 62fbc10aa3
Add basic button implementation 2019-06-23 17:56:49 -04:00
Shadowfacts bf7e7bd24c
Add frame based layout 2019-06-23 16:53:25 -04:00
Shadowfacts bee2eceb10
Rename some test classes 2019-06-23 16:32:51 -04:00
Shadowfacts 54ad51c719
Add mouse hover & click handling 2019-06-23 16:32:39 -04:00
Shadowfacts a55cd950d0
Add helpers for converting points/rects between view coordinate systems 2019-06-23 11:36:28 -04:00
Shadowfacts 51528c4cbe
Add Lowest Common Ancestor algorithm 2019-06-22 22:25:39 -04:00
Shadowfacts 83bd29ecb8
Add documentation 2019-06-22 16:08:00 -04:00
Shadowfacts 7bfb18830c
Rename ShadowUI to Cacao 2019-06-22 15:02:17 -04:00
Shadowfacts c6aefdaad4
Add StackView 2019-06-22 14:59:37 -04:00
Shadowfacts e9df08aa30
Move View class to view package 2019-06-22 11:17:56 -04:00
Shadowfacts 008354b74a
Add Window layout unit tests 2019-06-22 11:17:29 -04:00
Shadowfacts 1dffc67339
Add Rect unit tests 2019-06-22 11:06:39 -04:00
Shadowfacts 27518c68df
Add Color unit tests 2019-06-22 11:02:21 -04:00
Shadowfacts 2b739899a1
Add missing JavaDoc headers 2019-06-22 10:59:18 -04:00
Shadowfacts 50b91f276b
Add Label 2019-06-22 10:56:12 -04:00
Shadowfacts 349c09f630
Add View intrinsic content size 2019-06-22 10:21:29 -04:00
Shadowfacts e28daf3b4a
Remove UI prefix, start Window implementation 2019-06-21 19:16:25 -04:00
Shadowfacts 215949eabe
Initial ShadowUI work 2019-06-21 16:22:23 -04:00
Shadowfacts 24abf51f8d
Initial commit 2019-06-21 12:55:57 -04:00