<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Untitled Application</AppTitle>
	<DesignDeviceName>Samsung Galaxy Tab 7</DesignDeviceName>
	<VariablesScanned>False</VariablesScanned>
	<PageWidth>1024</PageWidth>
	<PageHeight>600</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<LanguageCode>en</LanguageCode>
	<MobileOSTypes>[AndroidOS,iOS,WindowsPhoneOS]</MobileOSTypes>
	<WindowState>normal</WindowState>
	<TitleBar>True</TitleBar>
	<Sizeable>True</Sizeable>
	<MaximizeBtn>False</MaximizeBtn>
	<MinimizeBtn>True</MinimizeBtn>
	<SystemMenu>True</SystemMenu>
	<ContextMenu>False</ContextMenu>
	<AlwaysOnTop>False</AlwaysOnTop>
	<ShowInTaskbar>True</ShowInTaskbar>
	<SingleInstance>False</SingleInstance>
	<ChromeKioskMode>False</ChromeKioskMode>
	<Components>
		<FunctionList name="Subroutines">
			<Components>
				<Function name="handleImageFile">
					<Code>var files = evt.target.files; // FileList object
for (var i = 0, f; f = files[i]; i++){
      var reader = new FileReader();
      reader.onload = (function(theFile){
          return function(e){
             var texto=e.target.result;
             fabLoadImage(&quot;Container1&quot;,&quot;&quot;,texto,20,20);
          };
      })(f);
      reader.readAsDataURL(f);
}</Code>
					<Params>evt|MIXED|event</Params>
					<ScriptLanguage>JavaScript</ScriptLanguage>
				</Function>
			</Components>
		</FunctionList>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="NewPage">
					<style>background-color:#707070</style>
					<pageenter>setVar [thecolor] &quot;#00307E&quot;
AppBackgroundColor &quot;#000000&quot;
fabInitialize &quot;Container1&quot;
fabDrawingMode &quot;Container1&quot; true [thecolor] 4</pageenter>
					<Components>
						<Container id="Container1">
							<left>63px</left>
							<top>61px</top>
							<width>952px</width>
							<height>531px</height>
							<style>background-color:#FFFFFF;border-style:solid;border-width:1px</style>
						</Container>
						<PushButton id="PushButton1">
							<left>7px</left>
							<top>3px</top>
							<width>59px</width>
							<height>44px</height>
							<style>font-size:24pt</style>
							<icon>glyphicon-folder-open</icon>
							<kind>primary</kind>
							<click>ClickObject &quot;MyInputFile&quot;</click>
						</PushButton>
						<PushButton id="PushButton2">
							<left>77px</left>
							<top>5px</top>
							<width>58px</width>
							<height>43px</height>
							<style>font-size:24pt</style>
							<icon>glyphicon-floppy-disk</icon>
							<kind>primary</kind>
							<click>BeginJS
    containername=&quot;Container1&quot;;
    var mycanvas = document.getElementById(containername+&quot;Canvas&quot;);
    mycanvas.toBlob(function(blob) {
        saveAs(blob, &quot;miimagen.png&quot;);
    });
EndJS</click>
						</PushButton>
						<Container id="Container3">
							<left>-154px</left>
							<top>0px</top>
							<width>144px</width>
							<height>80px</height>
							<style>background-color:#FABC02;border-style:solid;border-width:1px;padding-bottom:10px;padding-left:10px;padding-right:10px;padding-top:10px</style>
							<visible>False</visible>
							<html>Look at this hidden Container HTML content&lt;br&gt;&lt;br&gt;&lt;br&gt;
&lt;input type=&quot;file&quot; id=&quot;MyInputFile&quot; name=&quot;InputFile3&quot; class=&quot;file&quot;  data-browse-class=&quot;btn btn-primary btn-block&quot; data-browse-label=&quot;&quot; data-show-upload=&quot;false&quot; data-show-preview=&quot;false&quot; data-show-caption=&quot;false&quot;&gt;
&lt;script&gt;
funciones = angular.element(document.getElementById(&quot;ng-view&quot;)).scope();
document.getElementById(&apos;MyInputFile&apos;).addEventListener(&apos;change&apos;, funciones.handleImageFile, false);
&lt;/script&gt;</html>
						</Container>
						<PushButton id="PushButton3">
							<left>144px</left>
							<top>5px</top>
							<width>57px</width>
							<height>45px</height>
							<style>font-size:24pt</style>
							<icon>glyphicon-pencil</icon>
							<kind>primary</kind>
							<click>fabDrawingMode &quot;Container1&quot; true [thecolor] 4</click>
						</PushButton>
						<PushButton id="PushButton4">
							<left>209px</left>
							<top>5px</top>
							<width>57px</width>
							<height>45px</height>
							<style>font-size:24pt</style>
							<icon>glyphicon-remove</icon>
							<kind>primary</kind>
							<click>fabClear &quot;Container1&quot;</click>
						</PushButton>
						<ColorInput id="ColorInput1">
							<left>272px</left>
							<top>7px</top>
							<width>55px</width>
							<height>43px</height>
							<style>padding-bottom:2px;padding-left:2px;padding-right:2px;padding-top:2px</style>
							<variable>[thecolor]</variable>
							<change>fabDrawingMode &quot;Container1&quot; true [thecolor] 4</change>
						</ColorInput>
					</Components>
				</Page>
			</Components>
		</PageList>
		<PageList name="Master">
			<Components>
				<Page id="MasterPage"/>
			</Components>
		</PageList>
		<PageList name="Dialog">
			<Components>
				<Page id="NewDialog">
					<Components>
						<DialogContainer id="DialogContainer1">
							<left>0px</left>
							<top>0px</top>
							<width>736px</width>
							<height>414px</height>
							<close_button>False</close_button>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
