Commit 21750c65 authored by Taddeus Kroes's avatar Taddeus Kroes

Worked on report.

parent 7a0b1b32
...@@ -254,11 +254,11 @@ ...@@ -254,11 +254,11 @@
\end{tikzpicture} \end{tikzpicture}
} }
\caption{ \caption{
Two nested squares both listen to rotation gestures. The two Two nested squares both listen to ``tap'' gestures. The two figures
figures both show a touch object triggering an event, which is both show a touch object triggering an event, represented by a
delegated through the event area tree in the order indicated by the black dot. The event is delegated through the event area tree in
numbered arrow labels. Dotted arrows represent a flow of gestures, the order indicated by the numbered arrow labels. Dotted arrows
regular arrows represent events. represent a flow of gestures, regular arrows represent events.
} }
\label{fig:eventpropagation} \label{fig:eventpropagation}
\end{figure} \end{figure}
......
...@@ -378,11 +378,11 @@ detection for every new gesture-based application. ...@@ -378,11 +378,11 @@ detection for every new gesture-based application.
ideal tool to determine the order in which an event is delegated. Event ideal tool to determine the order in which an event is delegated. Event
areas in deeper layers of the tree are positioned on top of their parent. areas in deeper layers of the tree are positioned on top of their parent.
An object touching the screen is essentially touching the deepest event An object touching the screen is essentially touching the deepest event
area in the tree that contains the triggered event. That event area should area in the tree that contains the triggered event. A gesture detection
be the first to delegate the event to its gesture detection components, and component can stop the propagation of the event by its corresponding event
then propagate the event up in the tree to its ancestors. A gesture area.
detection component can stop the propagation of the event by its
corresponding event area. \eventpropagationfigure
An additional type of event propagation is ``immediate propagation'', which An additional type of event propagation is ``immediate propagation'', which
indicates propagation of an event from one gesture detection component to indicates propagation of an event from one gesture detection component to
...@@ -393,8 +393,6 @@ detection for every new gesture-based application. ...@@ -393,8 +393,6 @@ detection for every new gesture-based application.
propagation of an event, so that the event is not passed to the next propagation of an event, so that the event is not passed to the next
gesture detection component, nor to the ancestors of the event area. gesture detection component, nor to the ancestors of the event area.
\eventpropagationfigure
The concept of an event area is based on the assumption that the set of The concept of an event area is based on the assumption that the set of
originating events that form a particular gesture, can be determined based originating events that form a particular gesture, can be determined based
exclusively on the location of the events. This is a reasonable assumption exclusively on the location of the events. This is a reasonable assumption
......
...@@ -18,7 +18,6 @@ def create_parser(): ...@@ -18,7 +18,6 @@ def create_parser():
def parse_args(parser): def parse_args(parser):
print 'here:', parser.format_usage()
args = parser.parse_args() args = parser.parse_args()
# Configure logger # Configure logger
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment