Commit 4e493e3c authored by Taddeüs Kroes's avatar Taddeüs Kroes

Clarified some sections.

parent b3dd89c3
...@@ -309,39 +309,42 @@ ...@@ -309,39 +309,42 @@
\begin{figure}[h!] \begin{figure}[h!]
\center \center
\architecture{ \architecture{
\tikzstyle{area} = [block, fill=gray!15];
\tikzstyle{tracker} = [block, draw=gray!50];
\node[block, below of=driver] (eventdriver) {Event driver} \node[block, below of=driver] (eventdriver) {Event driver}
edge[linefrom] node[right, near end] {device-specific messages} (driver); edge[linefrom] node[right, near end] {device-specific messages} (driver);
\node[block, below of=eventdriver] (rootarea) {Screen area} \node[area, below of=eventdriver] (rootarea) {Screen area}
edge[linefrom] (eventdriver); edge[linefrom] (eventdriver);
\node[block, below of=rootarea, xshift=-5em] (appwindow) {Application window area} \node[area, below of=rootarea, xshift=-5em] (appwindow) {Application window area}
edge[lineto, <->] (rootarea); edge[lineto, <->] (rootarea);
\node[block, left of=appwindow, xshift=-4em, text width=7em] {Transformation tracker} \node[tracker, left of=appwindow, xshift=-4em, text width=7em] {Transformation tracker}
edge[lineto, dotted, bend right=10] (appwindow) edge[lineto, dotted, bend right=10] (appwindow)
edge[linefrom, bend left=10] (appwindow); edge[linefrom, bend left=10] (appwindow);
\node[block, below of=rootarea, xshift=5em] (overlay) {Overlay area} \node[area, below of=rootarea, xshift=5em] (overlay) {Overlay area}
edge[lineto, <->] (rootarea); edge[lineto, <->] (rootarea);
\node[block, right of=overlay, xshift=4em] (tracker) {Hand tracker} \node[tracker, right of=overlay, xshift=4em] (tracker) {Hand tracker}
edge[lineto, dotted, bend left=10] (overlay) edge[lineto, dotted, bend left=10] (overlay)
edge[linefrom, bend right=10] (overlay); edge[linefrom, bend right=10] (overlay);
\node[block, below of=appwindow, xshift=-5em] (rectangle) {Rectangle area} \node[area, below of=appwindow, xshift=-5em] (rectangle) {Rectangle area}
edge[lineto, <->] (appwindow); edge[lineto, <->] (appwindow);
\node[block, left of=rectangle, xshift=-4em, yshift=2em, text width=7em] (recttracker) {Transformation tracker} \node[tracker, left of=rectangle, xshift=-4em, yshift=2em, text width=7em] (recttracker) {Transformation tracker}
edge[lineto, dotted, bend left=10] (rectangle) edge[lineto, dotted, bend left=10] (rectangle)
edge[linefrom, bend right=10] (rectangle); edge[linefrom, bend right=10] (rectangle);
\node[block, left of=rectangle, xshift=-4em, yshift=-2em, text width=7em] {Tap tracker} \node[tracker, left of=rectangle, xshift=-4em, yshift=-2em, text width=7em] {Tap tracker}
edge[lineto, dotted, bend right=10] (rectangle) edge[lineto, dotted, bend right=10] (rectangle)
edge[linefrom, bend left=10] (rectangle); edge[linefrom, bend left=10] (rectangle);
\node[block, below of=appwindow, xshift=5em] (triangle) {Triangle area} \node[area, below of=appwindow, xshift=5em] (triangle) {Triangle area}
edge[lineto, <->] (appwindow); edge[lineto, <->] (appwindow);
\node[block, right of=triangle, xshift=4em, yshift=2em, text width=7em] {Transformation tracker} \node[tracker, right of=triangle, xshift=4em, yshift=2em, text width=7em] {Transformation tracker}
edge[lineto, dotted, bend right=10] (triangle) edge[lineto, dotted, bend right=10] (triangle)
edge[linefrom, bend left=10] (triangle); edge[linefrom, bend left=10] (triangle);
\node[block, right of=triangle, xshift=4em, yshift=-2em, text width=7em] (taptracker) {Tap tracker} \node[tracker, right of=triangle, xshift=4em, yshift=-2em, text width=7em] (taptracker) {Tap tracker}
edge[lineto, dotted, bend left=10] (triangle) edge[lineto, dotted, bend left=10] (triangle)
edge[linefrom, bend right=10] (triangle); edge[linefrom, bend right=10] (triangle);
...@@ -353,14 +356,16 @@ ...@@ -353,14 +356,16 @@
\group{recttracker}{eventdriver}{tracker}{taptracker}{Architecture} \group{recttracker}{eventdriver}{tracker}{taptracker}{Architecture}
} }
\caption{Diagram representation of the second test application. A full \caption{
screen event area contains an application window and a full screen Diagram representation of the second test application. A full
overlay. The application window contains a rectangle and a triangle. screen event area contains an application window and a full screen
the application window and its children can be transformed, and thus overlay. The application window contains a rectangle and a
each have ``transformation tracker''. The rectangle and triangle also triangle. the application window and its children can be
have a ``tap tracker'' that detects double tap gestures. Dotted arrows transformed, and thus each have ``transformation tracker''. The
represent a flow of gestures, regular arrows represent events (unless rectangle and triangle also have a ``tap tracker'' that detects
labeled otherwise).} double tap gestures. Dotted arrows represent a flow of gestures,
regular arrows represent events (unless labeled otherwise).
}
\label{fig:testappdiagram} \label{fig:testappdiagram}
\end{figure} \end{figure}
} }
This diff is collapsed.
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