Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.
Sign upUI Events. Buttons, hovering, clicks clicks CLICKS! #580
Conversation
jojolepro
added some commits
Feb 21, 2018
Xaeroxe
requested changes
Feb 22, 2018
Very well done!! I like it a lot.
If you wanted to do this I would not be opposed to adding MouseDown and MouseUp events to the InputHandler, as this probably isn't going to be the only place we need this kind of information.
| @@ -1,10 +1,11 @@ | ||
| //! Provides components and systems to create an in game user interface. | ||
| -#![deny(missing_docs)] | ||
| +//#![deny(missing_docs)] |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
| + Entities<'a>, | ||
| + ReadStorage<'a, UiTransform>, | ||
| + ReadStorage<'a, MouseReactive>, | ||
| + Fetch<'a, InputHandler<String, String>>, |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Rhuagh
Feb 22, 2018
Member
I'd probably do things a bit differently, but this should work fine!
Reviewed 2 of 6 files at r1, 4 of 4 files at r2.
Review status: all files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.
Comments from Reviewable
|
I'd probably do things a bit differently, but this should work fine! Reviewed 2 of 6 files at r1, 4 of 4 files at r2. Comments from Reviewable |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
torkleyy
Feb 24, 2018
Member
Reviewed 2 of 6 files at r1, 4 of 4 files at r2.
Review status: all files reviewed at latest revision, 2 unresolved discussions, some commit checks failed.
Comments from Reviewable
|
Reviewed 2 of 6 files at r1, 4 of 4 files at r2. Comments from Reviewable |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
You'll have to fix so it builds before we merge :P |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
haha I just saw. Will do ;) |
jojolepro
added some commits
Feb 25, 2018
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
Xaeroxe
Feb 25, 2018
Member
Reviewed 6 of 6 files at r3.
Review status: all files reviewed at latest revision, all discussions resolved, some commit checks failed.
Comments from Reviewable
|
Reviewed 6 of 6 files at r3. Comments from Reviewable |
This comment has been minimized.
Show comment
Hide comment
This comment has been minimized.
|
Squash pls. |
jojolepro commentedFeb 22, 2018
•
edited by torkleyy
Edited 1 time
-
torkleyy
edited Feb 22, 2018 (most recent)
Much hovering, much clicking!
Review-ready, except if @Xaeroxe wants more features in this PR ;)
This change is