mobile/event
David Crawshaw 51384a9898 event/config: add Orientation
There are several variations on orientation. iOS expposes a little
more orientation information through its basic enum than Android
does, but the more powerful Android API gives you degrees around a
circle, which while strictly more powerful, doesn't tell you easily
where the status bar is.

What I'm thinking with this is the primary use of an orientation
concept is to decide whether or not to lay out a UI for a wide screen.
This gives you that.

Later I hope the sensor API will give far more information about the
physical orientation of the device.

Change-Id: I00ff598853c7ed618cde266729d8d05e1a02a601
Reviewed-on: https://go-review.googlesource.com/13361
Reviewed-by: Nigel Tao <nigeltao@golang.org>
2015-08-10 12:46:05 +00:00
..
config event/config: add Orientation 2015-08-10 12:46:05 +00:00
key event/key: add Code type 2015-07-24 12:23:42 +00:00
lifecycle event: move event.Filter to app.Filter. 2015-07-17 01:18:36 +00:00
mouse event/{mouse,touch}: work in float32 pixels, not geom.Pt. 2015-08-04 07:35:09 +00:00
paint app, event/paint: plumb through paint Generation 2015-07-30 16:09:38 +00:00
touch event/{mouse,touch}: work in float32 pixels, not geom.Pt. 2015-08-04 07:35:09 +00:00