TangentFoxy / Pop.Box

(ON HOLD) Pop.Box is an easy to use GUI library for the LÖVE engine, intended for rapid prototyping.
http://guard13007.github.io/Pop.Box/docs
MIT License
8 stars 4 forks source link

Make it possible to navigate elements with keys #23

Open TangentFoxy opened 8 years ago

TangentFoxy commented 8 years ago

Based on this from kikito:

Don't assume that "esc", or the joypad "b", are for "going back". Give me a hook for
setting up the "go back" action. Same with "enter/a/activate", "up/up/previous",
"down/down/next", etc. Don't assume that the mouse is in love.mouse.getposition.
Give me a hook function in case I want to apply transformations to the gui in a way
which changes the mouse, or I want to move the cursor with the pad.

Make sure it is possible to easily change what keys do what, and there needs to be visual feedback of some kind for what element is selected.