Taddeus Kroes před 13 roky
rodič
revize
21750c65f7
3 změnil soubory, kde provedl 10 přidání a 13 odebrání
  1. 5 5
      docs/data/diagrams.tex
  2. 5 7
      docs/report.tex
  3. 0 1
      tests/parse_arguments.py

+ 5 - 5
docs/data/diagrams.tex

@@ -254,11 +254,11 @@
             \end{tikzpicture}
         }
         \caption{
-            Two nested squares both listen to rotation gestures. The two
-            figures both show a touch object triggering an event, which is
-            delegated through the event area tree in the order indicated by the
-            numbered arrow labels. Dotted arrows represent a flow of gestures,
-            regular arrows represent events.
+            Two nested squares both listen to ``tap'' gestures. The two figures
+            both show a touch object triggering an event, represented by a
+            black dot. The event is delegated through the event area tree in
+            the order indicated by the numbered arrow labels. Dotted arrows
+            represent a flow of gestures, regular arrows represent events.
         }
         \label{fig:eventpropagation}
     \end{figure}

+ 5 - 7
docs/report.tex

@@ -378,11 +378,11 @@ detection for every new gesture-based application.
     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.
     An object touching the screen is essentially touching the deepest event
-    area in the tree that contains the triggered event. That event area should
-    be the first to delegate the event to its gesture detection components, and
-    then propagate the event up in the tree to its ancestors. A gesture
-    detection component can stop the propagation of the event by its
-    corresponding event area.
+    area in the tree that contains the triggered event. A gesture 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
     indicates propagation of an event from one gesture detection component to
@@ -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
     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
     originating events that form a particular gesture, can be determined based
     exclusively on the location of the events.  This is a reasonable assumption

+ 0 - 1
tests/parse_arguments.py

@@ -18,7 +18,6 @@ def create_parser():
 
 
 def parse_args(parser):
-    print 'here:', parser.format_usage()
     args = parser.parse_args()
 
     # Configure logger