<?xml version="1.0" encoding="utf-8"?>
<Application>
	<AppTitle>Belote</AppTitle>
	<AppShortName>Belote</AppShortName>
	<Author>Philippe Alary</Author>
	<Version>1.1</Version>
	<Description>Comptage des points de Belote</Description>
	<Variables>[BeloteE],[BeloteN],[cumulEux],[cumulNous],[Ecran],[fin],[nAdversaire],[Navigateur],[nbGagneE],[nbGagneN],[nEux],[nManche],[nNous],[nPoint],[OldEux],[OldNous],[OldReserve],[Orientation],[OS],[pwaInstall],[readyToInstall],[reserve],[tableau],[TotE([nManche])],[TotE],[TotN([nManche])],[TotN],[Visible]</Variables>
	<VariablesScanned>True</VariablesScanned>
	<PageWidth>320</PageWidth>
	<PageHeight>600</PageHeight>
	<AutoSizeWidth>False</AutoSizeWidth>
	<AutoSizeHeight>False</AutoSizeHeight>
	<HideScrollbars>False</HideScrollbars>
	<ResponsiveSize>False</ResponsiveSize>
	<PublishPlatform>WebApp</PublishPlatform>
	<EmptyBuildFolder>False</EmptyBuildFolder>
	<AppIcon>E:\Philippe\Documents\VisualNeoWeb\Projets\Ressources\cards_poker_256.png</AppIcon>
	<CustomCSS>table, th, td {
  border: 1px solid black;
  border-collapse: collapse;
  text-align: center;
}

table {
  width: 100%
}

td:nth-child(even), th:nth-child(even) {
  background-color: #D6EEEE;
}

.btn {
  padding-left: 5px;
}

.btnfin {
  padding-right: 2px;
}

.cfix {
  position: absolute;
}
</CustomCSS>
	<LanguageCode>fr</LanguageCode>
	<IsPWA>True</IsPWA>
	<DisplayMode>standalone</DisplayMode>
	<ServiceWorker>Offline page</ServiceWorker>
	<ThemeColor>#AA0027</ThemeColor>
	<PwaScope>/belote/</PwaScope>
	<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>
	<MaxWidth>400</MaxWidth>
	<MaxHeight>600</MaxHeight>
	<ChromeKioskMode>False</ChromeKioskMode>
	<startup>neoDeviceGetInfo [Ecran] [OS] [Orientation] [Navigateur]

If [Ecran] == &quot;Mobile&quot;
   FitAppToScreen false &quot;top&quot; &quot;center&quot;
   .slScaleAppFitWidth 330 600
   SetVar [h] [NAB.ClientHeight]
   SetVar [w] [NAB.ClientWidth]
   TopCenterApp
   SizeObject &quot;[NAB.PageID]&quot; [w] [h]
   SizeObject &quot;forminvio&quot; [w] [h]
Endif

IsInstalled [pwaInstall]

If [pwaInstall] == true
   HideObject &quot;Headline4&quot; &quot;none&quot; 0
   If [Ecran] != &quot;Mobile&quot;
      ResizeDesktopWindow 350 600
   Endif
Else
   PreventInstallPrompt [readyToInstall]
    .Detect any change on [readyToInstall]
   Watch [readyToInstall] &quot;customInstall&quot;
Endif


.We also call the subroutine after 8 seconds as some web browsers need it
.SetTimeOut 8000 &quot;customInstall&quot; [myTimeInput]
SetVar [nManche] 1
SetVar [nbGagneE] 0
SetVar [nbGagneN] 0

CreateArray [TotE] 0,0,0,0,0,0,0,0,0,0,0
CreateArray [TotN] 0,0,0,0,0,0,0,0,0,0,0</startup>
	<Components>
		<FunctionList name="Subroutines">
			<Components>
				<Function name="Calcul">
					<Code>If [nPoint] == 0
   SetVar [nAdversaire] 252
.ElseIf  [nPoint] == 252
.   SetVar [nAdversaire] 0
Else
   Math &quot;162 - [nPoint]&quot; 0 [nAdversaire]
Endif
If [qui] == &quot;E&quot;
   SetVar [nEux] [nPoint]
   SetVar [nNous] [nAdversaire]
Else
   SetVar [nEux] [nAdversaire]
   SetVar [nNous] [nPoint]
EndIf
If [BeloteE] == 1
   Math &quot;[nEux]+20&quot; 0 [nEux]
Endif
If [BeloteN] == 1
   Math &quot;[nNous]+20&quot; 0 [nNous]
Endif
SetVar [OldReserve] [reserve]
If [nNous] == [nEux]
   Math &quot;[reserve]+[nEux]&quot; 0 [reserve]
   If [qui] == &quot;E&quot;
      SetVar [nNous] 0
      If [BeloteN] == 1
         Math &quot;[reserve]-20&quot; 0 [reserve]
         SetVar [nNous] 20
      Endif
   Else
      SetVar [nEux] 0
      If [BeloteE] == 1
         Math &quot;[reserve]-20&quot; 0 [reserve]
         SetVar [nEux] 20
      Endif
   Endif
Elseif [nNous] &gt; [nEux]
   Math &quot;[nNous]+[reserve]&quot; 0 [nNous]
   SetVar [reserve] 0
Else
   Math &quot;[nEux]+[reserve]&quot; 0 [nEux]
   SetVar [reserve] 0
Endif
Math &quot;[cumulEux] + [nEux]&quot; 0 [cumulEux]
Math &quot;[cumulNous] + [nNous]&quot; 0 [cumulNous]
SetVar [OldEux] [nEux]
SetVar [OldNous] [nNous]
.affichage
SetVar [tableau] &quot;[tableau]&lt;tr&gt;&lt;td&gt;[nEux]&lt;/td&gt;&lt;td&gt;[cumulEux]&lt;/td&gt;&lt;td&gt;[nNous]&lt;/td&gt;&lt;td&gt;[cumulNous]&lt;/td&gt;&lt;/tr&gt;&quot;
SetObjectHTML &quot;Detail&quot; &quot;[tableau][fin]&quot;
ShowObject &quot;Detail&quot; &quot;none&quot; 0
ShowObject &quot;CumEux&quot; &quot;none&quot; 0
ShowObject &quot;CumNous&quot; &quot;none&quot; 0
FocusObject &quot;TextInput1&quot;
.remise à 0
SetVar [nPoint] &quot;&quot;
SetVar [BeloteE] 0
SetVar [BeloteN] 0
.fin
IfEx ([cumulEux] &gt; 999 or [cumulNous] &gt; 999) and [cumulEux] != [cumulNous]
   PlaySound &quot;E:\Philippe\Documents\VisualNeoWeb\Projets\Ressources\SF-bravo.mp3&quot; false
   ShowObject &quot;pbFin&quot; &quot;flash&quot; 50
   ShowObject &quot;Container1&quot; &quot;none&quot; 0
Endif</Code>
					<Params>[qui]|STRING|origine des points</Params>
				</Function>
				<Function name="customInstall">
					<Code>If [readyToInstall] == true
  OpenDialog &quot;Install&quot;
  CancelWatch [readyToInstall]
EndIf</Code>
				</Function>
				<Function name="Effacer">
					<Code>If [nBouton] = 1
   Math &quot;[cumulEux] - [OldEux]&quot; 0 [cumulEux]
   Math &quot;[cumulNous] - [OldNous]&quot; 0 [cumulNous]
   SetVar [tableau] &quot;[tableau]&lt;tr&gt;&lt;td&gt;-[OldEux]&lt;/td&gt;&lt;td&gt;[cumulEux]&lt;/td&gt;&lt;td&gt;-[OldNous]&lt;/td&gt;&lt;td&gt;[cumulNous]&lt;/td&gt;&lt;/tr&gt;&quot;
   SetObjectHTML &quot;Detail&quot; &quot;[tableau][fin]&quot;
   SetVar [OldEux] 0
   SetVar [OldNous] 0
Endif</Code>
					<Params>[nBouton]|INTEGER|Bonton selectionné</Params>
				</Function>
			</Components>
		</FunctionList>
		<LibraryList name="Libraries"/>
		<PageList name="Main">
			<Components>
				<Page id="Parties">
					<background_masterpage>MasterPage</background_masterpage>
					<pageenter>If [Ecran] == &quot;Mobile&quot;
   SizeObject &quot;[NAB.PageID]&quot; [w] [h]
Endif


ShowObject &quot;PushButton1&quot; &quot;swapIn&quot; 30
</pageenter>
					<Components>
						<PushButton id="PushButton1">
							<left>107px</left>
							<top>112px</top>
							<width>106px</width>
							<height>34px</height>
							<style>background-color:#FF7F50;border-radius:15px;box-shadow:5px 5px 10px black</style>
							<visible>False</visible>
							<caption>[nManche]° Manche</caption>
							<kind>danger</kind>
							<click>If [nManche] &gt; 10
   sweetAlert &quot;Attention&quot; &quot;Vous avez atteint le maximum de parties!&quot; &quot;warning&quot; &quot;OK&quot; &quot;Relancez l&apos;application pour continuer&quot;
Else
    GotoPage &quot;Score&quot;
Endif</click>
						</PushButton>
						<Headline id="Headline3">
							<left>28px</left>
							<top>161px</top>
							<width>71px</width>
							<height>19px</height>
							<visible>False</visible>
							<text>Manche</text>
							<kind>h4</kind>
						</Headline>
						<Headline id="Headline4">
							<left>142px</left>
							<top>161px</top>
							<width>50px</width>
							<height>19px</height>
							<visible>False</visible>
							<text>Eux</text>
							<kind>h4</kind>
						</Headline>
						<Headline id="Headline5">
							<left>223px</left>
							<top>161px</top>
							<width>52px</width>
							<height>19px</height>
							<visible>False</visible>
							<text>Nous</text>
							<kind>h4</kind>
						</Headline>
						<Container id="cManche1">
							<left>43px</left>
							<top>186px</top>
							<width>30px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#FF7F50;border-radius:15px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>1</html>
						</Container>
						<Container id="cEux1">
							<left>129px</left>
							<top>186px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#3CB371;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotE|element:1]</html>
						</Container>
						<Container id="cNous1">
							<left>215px</left>
							<top>186px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#0000FF;border-radius:12px;border-style:solid;border-width:1px</style>
							<margin_top>4px</margin_top>
							<visible>False</visible>
							<html>[TotN|element:1]</html>
						</Container>
						<Container id="cManche2">
							<left>43px</left>
							<top>220px</top>
							<width>30px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#FF7F50;border-radius:15px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>2</html>
						</Container>
						<Container id="cEux2">
							<left>129px</left>
							<top>220px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#3CB371;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotE|element:2]</html>
						</Container>
						<Container id="cNous2">
							<left>215px</left>
							<top>220px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#0000FF;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotN|element:2]</html>
						</Container>
						<Container id="cManche3">
							<left>43px</left>
							<top>254px</top>
							<width>30px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#FF7F50;border-radius:15px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>3</html>
						</Container>
						<Container id="cEux3">
							<left>129px</left>
							<top>254px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#3CB371;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotE|element:3]</html>
						</Container>
						<Container id="cNous3">
							<left>215px</left>
							<top>254px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#0000FF;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotN|element:3]</html>
						</Container>
						<Container id="cManche4">
							<left>43px</left>
							<top>287px</top>
							<width>30px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#FF7F50;border-radius:15px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>4</html>
						</Container>
						<Container id="cEux4">
							<left>129px</left>
							<top>287px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#3CB371;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotE|element:4]</html>
						</Container>
						<Container id="cNous4">
							<left>215px</left>
							<top>287px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#0000FF;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotN|element:4]</html>
						</Container>
						<Container id="cManche5">
							<left>43px</left>
							<top>320px</top>
							<width>30px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#FF7F50;border-radius:15px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>5</html>
						</Container>
						<Container id="cEux5">
							<left>129px</left>
							<top>320px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#3CB371;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotE|element:5]</html>
						</Container>
						<Container id="cNous5">
							<left>215px</left>
							<top>320px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#0000FF;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotN|element:5]</html>
						</Container>
						<Container id="cManche6">
							<left>43px</left>
							<top>353px</top>
							<width>30px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#FF7F50;border-radius:15px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>6</html>
						</Container>
						<Container id="cEux6">
							<left>129px</left>
							<top>353px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#3CB371;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotE|element:16]</html>
						</Container>
						<Container id="cNous6">
							<left>215px</left>
							<top>353px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#0000FF;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotN|element:6]</html>
						</Container>
						<Container id="cManche7">
							<left>43px</left>
							<top>386px</top>
							<width>30px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#FF7F50;border-radius:15px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>7</html>
						</Container>
						<Container id="cEux7">
							<left>129px</left>
							<top>386px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#3CB371;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotE|element:7]</html>
						</Container>
						<Container id="cNous7">
							<left>215px</left>
							<top>386px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#0000FF;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotN|element:7]</html>
						</Container>
						<Container id="cManche8">
							<left>43px</left>
							<top>419px</top>
							<width>30px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#FF7F50;border-radius:15px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>8</html>
						</Container>
						<Container id="cEux8">
							<left>129px</left>
							<top>419px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#3CB371;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotE|element:8]</html>
						</Container>
						<Container id="cNous8">
							<left>215px</left>
							<top>419px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#0000FF;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotN|element:8]</html>
						</Container>
						<Container id="cManche9">
							<left>43px</left>
							<top>452px</top>
							<width>30px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#FF7F50;border-radius:15px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>9</html>
						</Container>
						<Container id="cEux9">
							<left>129px</left>
							<top>452px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#3CB371;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotE|element:9]</html>
						</Container>
						<Container id="cNous9">
							<left>215px</left>
							<top>452px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#0000FF;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotN|element:9]</html>
						</Container>
						<Container id="cManche10">
							<left>43px</left>
							<top>485px</top>
							<width>30px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#FF7F50;border-radius:15px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>10</html>
						</Container>
						<Container id="cEux10">
							<left>129px</left>
							<top>485px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#3CB371;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotE|element:10]</html>
						</Container>
						<Container id="cNous10">
							<left>215px</left>
							<top>485px</top>
							<width>57px</width>
							<height>30px</height>
							<style>color:#FFFFFF;font-size:14pt;text-align:center;background-color:#0000FF;border-radius:12px;border-style:solid;border-width:1px</style>
							<visible>False</visible>
							<html>[TotN|element:10]</html>
						</Container>
						<Image id="Image1">
							<left>75px</left>
							<top>9px</top>
							<width>168px</width>
							<height>94px</height>
							<source>E:\Philippe\Documents\VisualNeoWeb\Projets\Ressources\Logo-Belote1.png</source>
						</Image>
						<Image id="imVE">
							<left>100px</left>
							<top>153px</top>
							<width>42px</width>
							<height>36px</height>
							<style>animation-duration:3s;animation-name:flash</style>
							<visible>False</visible>
							<source>E:\Philippe\Documents\VisualNeoWeb\Projets\Ressources\award.png</source>
						</Image>
						<Image id="imVN">
							<left>270px</left>
							<top>153px</top>
							<width>42px</width>
							<height>36px</height>
							<style>animation-duration:3s;animation-name:flash</style>
							<visible>False</visible>
							<source>E:\Philippe\Documents\VisualNeoWeb\Projets\Ressources\award.png</source>
						</Image>
					</Components>
				</Page>
				<Page id="Score">
					<background_masterpage>MasterPage</background_masterpage>
					<enter_effect>flopInLeft</enter_effect>
					<exit_effect>fadeOutLeft</exit_effect>
					<pageenter>If [Ecran] == &quot;Mobile&quot;
   SizeObject &quot;[NAB.PageID]&quot; [w] [h]
Endif
HideObject &quot;Detail&quot; &quot;none&quot; 0
HideObject &quot;CumEux&quot; &quot;none&quot; 0
HideObject &quot;CumNous&quot; &quot;none&quot; 0
HideObject &quot;Container1&quot; &quot;none&quot; 0
FocusObject &quot;TextInput1&quot;

SetVar [tableau] &apos;&lt;table&gt;&lt;thead&gt;&lt;tr&gt;&lt;th colspan=&quot;2&quot;&gt;Eux&lt;/th&gt;&lt;th colspan=&quot;2&quot;&gt;Nous&lt;/th&gt;&lt;/tr&gt;&lt;tr&gt;&lt;th&gt;Points&lt;/th&gt;&lt;th&gt;Cumul&lt;/th&gt;&lt;th&gt;Points&lt;/th&gt;&lt;th&gt;Cumul&lt;/th&gt;&lt;/tr&gt;&lt;/thead&gt;&lt;tbody&gt;&apos;
SetVar [fin] &quot;&lt;/tbody&gt;&lt;/table&gt;&quot;
neoInputMask &quot;TextInput1&quot; &quot;000&quot;
SetVar [cumulEux] 0
SetVar [cumulNous] 0
SetVar [reserve] 0

SetKeyboard &quot;TextInput1&quot; &quot;numeric&quot;</pageenter>
					<pageexit>neoInputMaskRemove &quot;TextInput1&quot;
HideObject &quot;pbFin&quot; &quot;none&quot; 0</pageexit>
					<Components>
						<Container id="Detail">
							<left>17px</left>
							<top>177px</top>
							<width>279px</width>
							<height>343px</height>
							<style>text-align:center;vertical-align:middle</style>
						</Container>
						<Line id="Line1">
							<left>0px</left>
							<top>165px</top>
							<width>320px</width>
							<height>4px</height>
							<style>stroke:black;stroke-width:2px</style>
							<x1>0</x1>
							<y1>167</y1>
							<x2>320</x2>
							<y2>167</y2>
						</Line>
						<Paragraph id="aide">
							<left>20px</left>
							<top>177px</top>
							<width>280px</width>
							<height>346px</height>
							<style>background-color:#FFEBCD</style>
							<visible>False</visible>
							<text>&lt;strong&gt;Les points :&lt;br&gt;&lt;/strong&gt;&amp;nbsp; Marquer le score entre 0 et 162 hors belote puis appuyer sur &lt;em&gt;Eux&lt;/em&gt; ou &lt;em&gt;Nous.&lt;/em&gt;&lt;br&gt;&lt;strong&gt;La belote :&lt;/strong&gt;&lt;br&gt;&amp;nbsp; Cocher la case sous &lt;em&gt;Eux&lt;/em&gt; ou &lt;em&gt;Nous.&lt;/em&gt;&lt;br&gt;&lt;strong&gt;Le capot :&lt;br&gt;&lt;/strong&gt;&amp;nbsp; Marquer &lt;em&gt;0&lt;/em&gt; puis appuyer sur &lt;em&gt;Eux&lt;/em&gt; ou &lt;em&gt;Nous&lt;/em&gt;.&lt;br&gt;&lt;strong&gt;La gomme :&lt;br&gt;&lt;/strong&gt;&amp;nbsp; Efface le dernier score et rétablit le cumul précédent.&lt;br&gt;&lt;strong&gt;Fin :&lt;br&gt;&amp;nbsp; &lt;/strong&gt;S&apos;affiche lorsque la partie est terminée&amp;nbsp;cliquer pour&amp;nbsp;retour à l&apos;acceuil.&lt;br&gt;&amp;nbsp; &lt;u&gt;&lt;em&gt;Attention&lt;/em&gt;&lt;/u&gt; ce dernier score ne peut pas être effacé.</text>
							<click>HideObject &quot;aide&quot; &quot;fadeOut&quot; 40</click>
							<dblclick>HideObject &quot;aide&quot; &quot;fadeOut&quot; 40</dblclick>
						</Paragraph>
						<Container id="Container4">
							<left>1px</left>
							<top>26px</top>
							<width>318px</width>
							<height>137px</height>
							<Components>
								<PushButton id="pbAide">
									<left>14px</left>
									<top>51px</top>
									<width>33px</width>
									<height>33px</height>
									<style>color:#FFF;background-color:#87CEEB;border-radius:30px;padding-left:2px;padding-top:5px</style>
									<css_class>btnfin</css_class>
									<neo_custom>title=&quot;Aide&quot;</neo_custom>
									<icon>glyphicon-question-sign</icon>
									<size>large</size>
									<click>GetObjectInfo &quot;aide&quot; &quot;display&quot; [Visible]
If [Visible] == &quot;block&quot;
  HideObject &quot;aide&quot; &quot;fadeOut&quot; 40
Else
  ShowObject &quot;aide&quot; &quot;fadeIn&quot; 40
Endif</click>
								</PushButton>
								<PushButton id="pbGomme">
									<left>273px</left>
									<top>51px</top>
									<width>33px</width>
									<height>33px</height>
									<style>color:#FFF;background-color:#FF4500;border-radius:30px;padding-top:5px</style>
									<css_class>btnfin</css_class>
									<neo_custom>title=&quot;Effacer dernier résultat&quot;</neo_custom>
									<icon>glyphicon-erase</icon>
									<size>large</size>
									<click>IfEx [OldEux] &gt; 0 or [OldNous] &gt; 0
     MessageBoxEx &quot;Attention&quot; &quot;Confirmer l&apos;annulation du dernier score&quot; &quot;OK|Annuler&quot; &quot;300&quot; &quot;200&quot; &quot;#FF4500&quot; &quot;Effacer&quot;
Endif</click>
								</PushButton>
								<PushButton id="pbEux">
									<left>57px</left>
									<top>62px</top>
									<width>47px</width>
									<height>33px</height>
									<style>text-align:center</style>
									<caption>Eux</caption>
									<kind>success</kind>
									<click>Calcul &quot;E&quot;</click>
								</PushButton>
								<PushButton id="pbNous">
									<left>213px</left>
									<top>62px</top>
									<width>47px</width>
									<height>33px</height>
									<style>text-align:center</style>
									<caption>Nous</caption>
									<kind>primary</kind>
									<click>Calcul &quot;N&quot;</click>
								</PushButton>
								<Headline id="Headline1">
									<left>127px</left>
									<top>28px</top>
									<width>62px</width>
									<height>20px</height>
									<style>font-weight:bold;text-align:center</style>
									<text>Points</text>
									<kind>h4</kind>
								</Headline>
								<Headline id="Headline2">
									<left>119px</left>
									<top>108px</top>
									<width>73px</width>
									<height>20px</height>
									<style>font-weight:bold;text-align:center</style>
									<text>Belote</text>
									<kind>h4</kind>
								</Headline>
								<Container id="CumEux">
									<left>57px</left>
									<top>23px</top>
									<width>47px</width>
									<height>33px</height>
									<style>font-size:14pt;font-weight:bold;text-align:center;background-color:#fff;border-style:solid;border-width:1px</style>
									<html>[cumulEux]</html>
								</Container>
								<Container id="CumNous">
									<left>213px</left>
									<top>23px</top>
									<width>47px</width>
									<height>33px</height>
									<style>font-size:14pt;font-weight:bold;text-align:center;background-color:#fff;border-style:solid;border-width:1px</style>
									<html>[cumulNous]</html>
								</Container>
								<CheckBox id="belEux">
									<left>54px</left>
									<top>98px</top>
									<width>40px</width>
									<height>40px</height>
									<css_class>neocheckbox</css_class>
									<variable>[BeloteE]</variable>
									<change>IfEx [BeloteE] == 1 and [BeloteN] == 1
     MessageBoxEx &quot;Attention&quot; &quot;Il ne peut y a voir qu&apos;une belotte&quot; &quot;OK&quot; &quot;250&quot; &quot;200&quot; &quot;#FF4500&quot; &quot;&quot;
Endif</change>
									<true_value>1</true_value>
								</CheckBox>
								<CheckBox id="belNous">
									<left>208px</left>
									<top>98px</top>
									<width>40px</width>
									<height>40px</height>
									<css_class>neocheckbox</css_class>
									<variable>[beloteN]</variable>
									<change>IfEx [BeloteE] == 1 and [BeloteN] == 1
     MessageBoxEx &quot;Attention&quot; &quot;Il ne peut y a voir qu&apos;une belotte&quot; &quot;OK&quot; &quot;250&quot; &quot;200&quot; &quot;#FF4500&quot; &quot;&quot;
Endif</change>
									<true_value>1</true_value>
								</CheckBox>
								<TextInput id="TextInput1">
									<left>129px</left>
									<top>62px</top>
									<width>59px</width>
									<height>33px</height>
									<style>font-size:14pt;font-weight:bold</style>
									<variable>nPoint</variable>
									<change>IfEx [nPoint] &lt; 0 or [nPoint] &gt; 162
     MessageBoxEx &quot;Attention&quot; &quot;erreur de score&quot; &quot;OK&quot; &quot;250&quot; &quot;200&quot; &quot;#FF4500&quot; &quot;&quot;
Endif</change>
									<keydown>FitAppToScreen false &quot;top&quot; &quot;center&quot;</keydown>
								</TextInput>
							</Components>
						</Container>
						<Container id="Container1">
							<left>1px</left>
							<top>25px</top>
							<width>318px</width>
							<height>140px</height>
							<style>background-color:rgba(168,168,168,0.59);border-style:solid;border-width:1px</style>
							<visible>False</visible>
						</Container>
						<PushButton id="pbFin">
							<left>131px</left>
							<top>186px</top>
							<width>53px</width>
							<height>53px</height>
							<style>color:#FFFFFF;background-color:#FF7F50;border-radius:30px;box-shadow:2px 2px 5px grey</style>
							<visible>False</visible>
							<css_class>btnfin</css_class>
							<caption>Fin</caption>
							<size>large</size>
							<click>SetVar [TotE([nManche])] [cumulEux]
SetVar [TotN([nManche])] [cumulNous]
If [cumulEux] &gt; [cumulNous]
  Math &quot;[nbGagneE]+1&quot; 0 [nbGagneE]
Else
  Math &quot;[nbGagneN]+1&quot; 0 [nbGagneN]
Endif
If [nbGagneE] &gt; [nbGagneN]
  ShowObject &quot;imVE&quot; &quot;none&quot; 0
  HideObject &quot;imVN&quot; &quot;none&quot; 0
ElseIf [nbGagneN] &gt; [nbGagneE]
  ShowObject &quot;imVN&quot; &quot;none&quot; 0
  HideObject &quot;imVE&quot; &quot;none&quot; 0
Else
  HideObject &quot;imVN&quot; &quot;none&quot; 0
  HideObject &quot;imVE&quot; &quot;none&quot; 0
EndIf

ShowObject &quot;cManche[nManche]&quot; &quot;none&quot; 0
ShowObject &quot;cEux[nManche]&quot; &quot;none&quot; 0
ShowObject &quot;cNous[nManche]&quot; &quot;none&quot; 0

ShowObject &quot;Headline3&quot; &quot;none&quot; 0
ShowObject &quot;Headline4&quot; &quot;none&quot; 0
ShowObject &quot;Headline5&quot; &quot;none&quot; 0
Math &quot;[nManche]+1&quot; 0 [nManche]
GotoPage &quot;Parties&quot;</click>
						</PushButton>
					</Components>
				</Page>
			</Components>
		</PageList>
		<PageList name="Master">
			<Components>
				<Page id="MasterPage">
					<Components>
						<Image id="Image4">
							<left>0px</left>
							<top>0px</top>
							<width>320px</width>
							<height>599px</height>
							<source>E:\Philippe\Documents\VisualNeoWeb\Projets\Ressources\fond_belotte.jpg</source>
						</Image>
						<Image id="Image3">
							<left>5px</left>
							<top>9px</top>
							<width>48px</width>
							<height>35px</height>
							<source>E:\Philippe\Documents\VisualNeoWeb\Projets\Ressources\Api.png</source>
						</Image>
					</Components>
				</Page>
			</Components>
		</PageList>
		<PageList name="Dialog">
			<Components>
				<Page id="Install">
					<Components>
						<DialogContainer id="DialogContainer1">
							<left>27px</left>
							<top>38px</top>
							<width>270px</width>
							<height>441px</height>
							<close_button>False</close_button>
							<kind>custom</kind>
							<Components>
								<Image id="Image2">
									<left>73px</left>
									<top>27px</top>
									<width>122px</width>
									<height>102px</height>
									<source>E:\Philippe\Documents\VisualNeoWeb\Projets\Ressources\Api.png</source>
								</Image>
								<Container id="Container2">
									<left>0px</left>
									<top>144px</top>
									<width>268px</width>
									<height>88px</height>
									<style>color:#707070;font-size:18pt;text-align:center;border-width:1px</style>
									<html>Ajouter cette application&lt;br&gt;
sur votre bureau ?</html>
								</Container>
								<Container id="Container3">
									<left>15px</left>
									<top>224px</top>
									<width>240px</width>
									<height>64px</height>
									<style>color:#707070;font-size:12pt;text-align:center;border-width:1px</style>
									<html>Revenez-y rapidement et facilement en l&apos;ajoutant à votre écran d&apos;accueil.</html>
								</Container>
								<PushButton id="PushButton2">
									<left>24px</left>
									<top>316px</top>
									<width>220px</width>
									<height>40px</height>
									<style>border-radius:0px;border-width:0px</style>
									<caption>Ajouter à l&apos;écran d&apos;accueil</caption>
									<kind>primary</kind>
									<click>ShowInstallPrompt
HideObject &quot;Headline4&quot; &quot;none&quot; 0
CloseDialog</click>
								</PushButton>
								<PushButton id="PushButton3">
									<left>24px</left>
									<top>370px</top>
									<width>220px</width>
									<height>40px</height>
									<style>border-radius:0px</style>
									<caption>Annuler</caption>
									<click>CloseDialog</click>
								</PushButton>
							</Components>
						</DialogContainer>
					</Components>
				</Page>
			</Components>
		</PageList>
	</Components>
</Application>
