aboutsummaryrefslogtreecommitdiffstats
path: root/doc/parts/on_screen_message.svg
diff options
context:
space:
mode:
Diffstat (limited to 'doc/parts/on_screen_message.svg')
-rw-r--r--doc/parts/on_screen_message.svg24
1 files changed, 20 insertions, 4 deletions
diff --git a/doc/parts/on_screen_message.svg b/doc/parts/on_screen_message.svg
index b7a82bd..66ceed3 100644
--- a/doc/parts/on_screen_message.svg
+++ b/doc/parts/on_screen_message.svg
@@ -1,14 +1,30 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="217px" preserveAspectRatio="none" style="width:585px;height:217px;" version="1.1" viewBox="0 0 585 217" width="585px" zoomAndPan="magnify"><defs><filter height="300%" id="f1tu3ie33v7cnu" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="361" x="113.25" y="22.9951">Application Callback Event TapShortcut phase</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="24" x2="24" y1="81.5938" y2="159.8594"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="286" x2="286" y1="81.5938" y2="159.8594"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="519.5" x2="519.5" y1="81.5938" y2="159.8594"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="27" x="8" y="78.292">App</text><ellipse cx="24.5" cy="49.2969" fill="#FEFECE" filter="url(#f1tu3ie33v7cnu)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="12.5" x2="36.5" y1="63.2969" y2="63.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="27" x="8" y="171.8545">App</text><ellipse cx="24.5" cy="191.1563" fill="#FEFECE" filter="url(#f1tu3ie33v7cnu)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="12.5" x2="36.5" y1="205.1563" y2="205.1563"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="135" x="216" y="78.292">HomeScreenBinder</text><ellipse cx="286.5" cy="49.2969" fill="#FEFECE" filter="url(#f1tu3ie33v7cnu)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="274.5" x2="298.5" y1="63.2969" y2="63.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="135" x="216" y="171.8545">HomeScreenBinder</text><ellipse cx="286.5" cy="191.1563" fill="#FEFECE" filter="url(#f1tu3ie33v7cnu)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="274.5" x2="298.5" y1="205.1563" y2="205.1563"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="114" x="459.5" y="78.292">HomeScreenGUI</text><ellipse cx="519.5" cy="49.2969" fill="#FEFECE" filter="url(#f1tu3ie33v7cnu)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="507.5" x2="531.5" y1="63.2969" y2="63.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="114" x="459.5" y="171.8545">HomeScreenGUI</text><ellipse cx="519.5" cy="191.1563" fill="#FEFECE" filter="url(#f1tu3ie33v7cnu)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="507.5" x2="531.5" y1="205.1563" y2="205.1563"/><polygon fill="#A80036" points="274.5,108.5938,284.5,112.5938,274.5,116.5938,278.5,112.5938" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="24.5" x2="280.5" y1="112.5938" y2="112.5938"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="238" x="31.5" y="107.6606">onScreenMessage(display_message)</text><polygon fill="#A80036" points="507.5,137.7266,517.5,141.7266,507.5,145.7266,511.5,141.7266" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="286.5" x2="513.5" y1="141.7266" y2="141.7266"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="209" x="293.5" y="136.7935">eventCallback(display_message)</text><!--
+<?xml version="1.0" encoding="UTF-8" standalone="no"?><svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" contentScriptType="application/ecmascript" contentStyleType="text/css" height="411px" preserveAspectRatio="none" style="width:799px;height:411px;" version="1.1" viewBox="0 0 799 411" width="799px" zoomAndPan="magnify"><defs><filter height="300%" id="f4ukdfhh6ocv4" width="300%" x="-1" y="-1"><feGaussianBlur result="blurOut" stdDeviation="2.0"/><feColorMatrix in="blurOut" result="blurOut2" type="matrix" values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 .4 0"/><feOffset dx="4.0" dy="4.0" in="blurOut2" result="blurOut3"/><feBlend in="SourceGraphic" in2="blurOut3" mode="normal"/></filter></defs><g><text fill="#000000" font-family="sans-serif" font-size="14" font-weight="bold" lengthAdjust="spacingAndGlyphs" textLength="480" x="159.5" y="22.9951">Application Callback Event On Screen Message / Reply phase</text><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="145" x2="145" y1="81.5938" y2="354.6563"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="407" x2="407" y1="81.5938" y2="354.6563"/><line style="stroke: #A80036; stroke-width: 1.0; stroke-dasharray: 5.0,5.0;" x1="642.5" x2="642.5" y1="81.5938" y2="354.6563"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="27" x="129" y="78.292">App</text><ellipse cx="145.5" cy="49.2969" fill="#FEFECE" filter="url(#f4ukdfhh6ocv4)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="133.5" x2="157.5" y1="63.2969" y2="63.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="27" x="129" y="366.6514">App</text><ellipse cx="145.5" cy="385.9531" fill="#FEFECE" filter="url(#f4ukdfhh6ocv4)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="133.5" x2="157.5" y1="399.9531" y2="399.9531"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="135" x="337" y="78.292">HomeScreenBinder</text><ellipse cx="407.5" cy="49.2969" fill="#FEFECE" filter="url(#f4ukdfhh6ocv4)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="395.5" x2="419.5" y1="63.2969" y2="63.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="135" x="337" y="366.6514">HomeScreenBinder</text><ellipse cx="407.5" cy="385.9531" fill="#FEFECE" filter="url(#f4ukdfhh6ocv4)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="395.5" x2="419.5" y1="399.9531" y2="399.9531"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="114" x="582.5" y="78.292">HomeScreenGUI</text><ellipse cx="642.5" cy="49.2969" fill="#FEFECE" filter="url(#f4ukdfhh6ocv4)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="630.5" x2="654.5" y1="63.2969" y2="63.2969"/><text fill="#000000" font-family="sans-serif" font-size="14" lengthAdjust="spacingAndGlyphs" textLength="114" x="582.5" y="366.6514">HomeScreenGUI</text><ellipse cx="642.5" cy="385.9531" fill="#FEFECE" filter="url(#f4ukdfhh6ocv4)" rx="12" ry="12" style="stroke: #A80036; stroke-width: 2.0;"/><line style="stroke: #A80036; stroke-width: 2.0;" x1="630.5" x2="654.5" y1="399.9531" y2="399.9531"/><polygon fill="#A80036" points="418.5,108.5938,408.5,112.5938,418.5,116.5938,414.5,112.5938" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="412.5" x2="641.5" y1="112.5938" y2="112.5938"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="128" x="424.5" y="107.6606">set_event_handler()</text><polygon fill="#FBFB77" filter="url(#f4ukdfhh6ocv4)" points="493,125.7266,493,150.7266,787,150.7266,787,135.7266,777,125.7266,493,125.7266" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="777" x2="777" y1="125.7266" y2="135.7266"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="787" x2="777" y1="135.7266" y2="135.7266"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="273" x="499" y="142.7935">LibHomeScreen::Event_OnScreenMessage</text><polygon fill="#A80036" points="395.5,176.8594,405.5,180.8594,395.5,184.8594,399.5,180.8594" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="145.5" x2="401.5" y1="180.8594" y2="180.8594"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="128" x="152.5" y="175.9263">set_event_handler()</text><polygon fill="#FBFB77" filter="url(#f4ukdfhh6ocv4)" points="8,193.9922,8,218.9922,279,218.9922,279,203.9922,269,193.9922,8,193.9922" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="269" x2="269" y1="193.9922" y2="203.9922"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="279" x2="269" y1="203.9922" y2="203.9922"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="250" x="14" y="211.0591">LibHomeScreen::Event_OnScreenReply</text><polygon fill="#A80036" points="395.5,245.125,405.5,249.125,395.5,253.125,399.5,249.125" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="145.5" x2="401.5" y1="249.125" y2="249.125"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="238" x="152.5" y="244.1919">onScreenMessage(display_message)</text><polygon fill="#A80036" points="630.5,274.2578,640.5,278.2578,630.5,282.2578,634.5,278.2578" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="407.5" x2="636.5" y1="278.2578" y2="278.2578"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="211" x="414.5" y="273.3247">event_handler(display_message)</text><polygon fill="#A80036" points="418.5,303.3906,408.5,307.3906,418.5,311.3906,414.5,307.3906" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="412.5" x2="641.5" y1="307.3906" y2="307.3906"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="202" x="424.5" y="302.4575">onScreenReply(reply_message)</text><polygon fill="#A80036" points="156.5,332.5234,146.5,336.5234,156.5,340.5234,152.5,336.5234" style="stroke: #A80036; stroke-width: 1.0;"/><line style="stroke: #A80036; stroke-width: 1.0;" x1="150.5" x2="406.5" y1="336.5234" y2="336.5234"/><text fill="#000000" font-family="sans-serif" font-size="13" lengthAdjust="spacingAndGlyphs" textLength="198" x="162.5" y="331.5903">event_handler(reply_message)</text><!--
@startuml
-title Application Callback Event TapShortcut phase
+title Application Callback Event On Screen Message / Reply phase
entity App
entity HomeScreenBinder
entity HomeScreenGUI
+
+HomeScreenGUI->HomeScreenBinder: set_event_handler()
+
+note over HomeScreenGUI
+ LibHomeScreen::Event_OnScreenMessage
+end note
+
+
+App->HomeScreenBinder: set_event_handler()
+
+note over App
+ LibHomeScreen::Event_OnScreenReply
+end note
+
App->HomeScreenBinder: onScreenMessage(display_message)
-HomeScreenBinder->HomeScreenGUI: eventCallback(display_message)
+HomeScreenBinder->HomeScreenGUI: event_handler(display_message)
+HomeScreenGUI->HomeScreenBinder: onScreenReply(reply_message)
+HomeScreenBinder->App: event_handler(reply_message)
@enduml
-PlantUML version 1.2017.18beta10(Unknown compile time)
+PlantUML version 1.2017.18(Fri Oct 06 16:56:32 UTC 2017)
(GPL source distribution)
Java Runtime: Java(TM) SE Runtime Environment
JVM: Java HotSpot(TM) 64-Bit Server VM