NBW Publication Source File
(C)2021 SinLios
Title=Overlay Example
Language=US
NeoBookVer=5.80
ScreenColors=16777216
ScreenWidth=1275
ScreenHeight=715
BkndColor=0
ScreenAutoSize=Yes
LinkColor=16711680
WindowStyle=0
WindowOrder=0
WindowPos=0
WindowProps=29
HideFromTaskbar=No
BiDiMode=0
AllowPageUpDn=No
UseUpdateTimer=Yes
ReturnTime=60
StartupAction=.if you haven't done so already, install the Titlebar plugin to view the styled titlebar...¶xtbTitleBar_ApplyTheme "1" ""¶xtbTitleBar_SetGlobalTheme "1"¶xtbTitleBar_EnableAutoStyle
ShapeTransColor=536870912
NoMultiInst=Yes
SplashProps=3
CompressUPX=No
CompiledName=.exe
CompileType=0
MediaType=0
FilesIncluded=1
FontsIncluded=2
FontsToCompile=|
CopyExternalFiles=No
RenameExternalFiles=No
SetupMedia=3
SetupInstDir=C:\MyProgram
SetupTitle=Setup
SetupColors=16711680|0|65535
Variables=[CheckBox1]¶[CheckBox2]¶[CheckBox3]¶[ImagePath_0]¶[ImagePath_1]¶[ImagePath_2]¶
VersionMajor=1
VersionMinor=0
VersionRelease=0
VersionBuild=0
ReqExLevel=1
CustomFontName=Arial
CustomFontSize=9
CustomFontStyle=0
CustomCharset=1
CacheSize=30
ExtractOp=132
L_OK=OK
L_CANCEL=Cancel
L_YES=Yes
L_NO=No
L_CLOSE=Close
L_ERRORTITLE=Error
L_FINDTITLE=Find
L_FINDPROMPT=Find &What
L_FINDFIRST=&Find First
L_FINDNEXT=Find &Next
L_FINDERROR=Search text not found.
L_PWORDTITLE=Password required
L_PWORDMSG=Before continuing, you must first|enter the correct password.
L_PWORDPROMPT=&Password:
L_PWORDERROR=That's not the right password!
L_MEDIAERROR=In order to play this type of file you must install|the appropriate multimedia hardware and/or|software.
L_INTERNETERROR=Unable to locate Internet Browser software.
L_ABORTFUNCTION=Do you want to cancel this function?
L_EXTRACTERROR=This file could not be extracted and cannot be played.
L_INSTDIRPROMPT=Please enter the drive and directory where you would like this program to be installed. To accept the default drive and directory, simply press Enter.
L_INSTFOLDERPROMPT=Do you wish to create a program folder?
L_INSTRUNPROMPT=Do you want to run
L_INSTDISKPROMPT=Please insert disk #
L_INSTDISKERROR=That's not the correct disk, try again.
L_INSTGENERROR=The installation has terminated.
L_INSTEXITPROMPT=Do you really want to cancel the installation?
L_INSTWINTITLE=Setup
L_INSTPROGTITLE=Extracting Files...
L_SENDEMAIL=Sending Mail...
L_MAILSERVER=Please enter the name of your outgoing email server:
L_COPY=Copy to Clipboard
L_SELECTALL=Select All
L_DONWLOADFILE=Downloading: %s
L_PLEASEWAIT=Please wait...
TrayMenuBegin
MenuName=TrayOpen
MenuText=Open
MenuState=3
MenuKey=0
MenuAction=SetVar "[WindowState]" "Normal"
MenuName=TrayExit
MenuText=Exit
MenuState=3
MenuKey=0
MenuAction=Exit "" ""
MenuEnd
MasterPage
NewPage=New Page
PageStyle=0
PageColor=0
PageGradient1=16711680
PageGradient2=255
PageGradientDir=1
WallpaperStyle=0
EffectSpeed=0
PgEnterAction=.create background image... ¶NeoOverlay_LayerCreate "BGImageRec" "[PubDir]Background.png" "Fill" "0" "0" "255" "No Tint"
PgExitAction=.destroy all overlays... good housekeeping...¶NeoOverlay_LayerDestroy "BGImageRec"¶NeoOverlay_LayerDestroy "FogRec"¶NeoOverlay_BlendUnlink "FogRec"¶NeoOverlay_LayerDestroy "StarsRec"¶NeoOverlay_LayerDestroy "MoonRec"¶NeoOverlay_LayerDestroy "MoonBeamRec"¶NeoOverlay_LayerDestroy "SailboatRec"¶NeoOverlay_LayerDestroy "CloudsRec"
ObjectType=21
Name=BottomCon
X=0
Y=675
W=1275
H=40
Anchor=2
LineColor=16777215
LineWidth=0
LineStyle=0
FillColor=0
FillPattern=0
TabOrder=4
HMargin=0
VMargin=0
ContainerBegin
ObjectType=12
Name=CheckBox2
X=611
Y=5
W=96
H=32
Anchor=0
Text=Sailboat
Align=1
VarName=[CheckBox2]
InitState=0
ObjAction=If "[CheckBox2]" "=" "Checked"¶   NeoOverlay_LayerCreate "SailboatRec" "[PubDir]Sailboat.png" "Fill" "80" "0" "175" "Warm Sunset"¶Else¶    NeoOverlay_LayerShowHide "SailboatRec" "0"¶EndIf
LineColor=16777215
LineWidth=0
LineStyle=0
FillColor=0
FillPattern=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=16777215
TabOrder=1
ObjectType=12
Name=CheckBox3
X=122
Y=5
W=80
H=32
Anchor=0
Text=Stars
Align=1
VarName=[CheckBox3]
InitState=0
ObjAction=If "[CheckBox3]" "=" "Checked"¶   NeoOverlay_LayerCreate "StarsRec" "[PubDir]Stars.png" "Fill" "-30" "-30" "255" "Cool Night"¶Else¶    NeoOverlay_LayerShowHide "StarsRec" "0"¶EndIf
LineColor=16777215
LineWidth=0
LineStyle=0
FillColor=0
FillPattern=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=16777215
TabOrder=3
ObjectType=12
Name=CheckBox1
X=349
Y=5
W=80
H=32
Anchor=0
Text=Moon
Align=1
VarName=[CheckBox1]
InitState=0
ObjAction=if "[CheckBox1]" "=" "Checked"¶   NeoOverlay_LayerCreate "MoonRec" "[PubDir]Moon.png" "Fit" "0" "0" "210" "Warm Sunset"¶Else¶    NeoOverlay_LayerShowHide "MoonRec" "0"¶EndIf
LineColor=16777215
LineWidth=0
LineStyle=0
FillColor=0
FillPattern=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=16777215
TabOrder=5
ObjectType=12
Name=CheckBox4
X=18
Y=5
W=96
H=32
Anchor=0
Text=Fog
Align=1
VarName=[CheckBox4]
InitState=0
ObjAction=If "[CheckBox4]" "=" "Checked"¶   .use (offsetY) to push the fog further down the screen, and set opacity to 0 to aviod image flicker...¶   NeoOverlay_LayerCreate "FogRec" "[PubDir]Fog.png" "Fill" "0" "350" "0" "Warm Sunset"¶    .set blending option for the fog layer... and blend layer opacity..¶   NeoOverlay_BlendLink "BGImageRec" "Screen" "FogRec" "255"¶   .set the layer opacity...¶   NeoOverlay_LayerSetOpacity "FogRec" "200"¶Else¶    .remove layer and blend option...¶    NeoOverlay_LayerShowHide "FogRec" "0"¶    NeoOverlay_BlendUnlink "FogRec"¶EndIf
LineColor=16777215
LineWidth=0
LineStyle=0
FillColor=0
FillPattern=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=16777215
TabOrder=0
ObjectType=12
Name=CheckBox5
X=458
Y=5
W=113
H=32
Anchor=0
Text=Moon Beam
Align=1
VarName=[CheckBox5]
InitState=0
ObjAction=If "[CheckBox5]" "=" "Checked"¶   .use (offsetY) to push the moon beam further down the screen...¶   NeoOverlay_LayerCreate "MoonBeamRec" "[PubDir]Moon-Beam.png" "Stretch" "0" "0" "200" "Warm Sunset"¶   .convert black pixels to transparent...¶   NeoOverlay_LayerScreenKey "MoonBeamRec"¶Else¶    NeoOverlay_LayerShowHide "MoonBeamRec" "0"¶EndIf
LineColor=16777215
LineWidth=0
LineStyle=0
FillColor=0
FillPattern=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=16777215
TabOrder=4
ObjectType=12
Name=CheckBox6
X=229
Y=5
W=80
H=32
Anchor=0
Text=Clouds
Align=1
VarName=[CheckBox6]
InitState=0
ObjAction=If "[CheckBox6]" "=" "Checked"¶   .set opacity to 0 to minimize screen flicker...¶   NeoOverlay_LayerCreate "CloudsRec" "[PubDir]Clouds.png" "Stretch" "0" "0" "0" "No Tint"¶   NeoOverlay_LayerSetTint "CloudsRec" "Custom" "180" "30" "0" "220"¶   NeoOverlay_LayerSetOpacity "CloudsRec" "180"¶   NeoOverlay_LayerScreenKey "CloudsRec"¶Else¶   NeoOverlay_LayerShowHide "CloudsRec" "0"¶EndIf
LineColor=16777215
LineWidth=0
LineStyle=0
FillColor=0
FillPattern=0
Font=Arial
FontSize=12
FontStyle=0
FontCharset=1
TextColor=16777215
TabOrder=2
ContainerEnd
ObjectType=5
Name=BGImageRec
X=0
Y=0
W=1275
H=675
Anchor=5
LineColor=16777215
LineWidth=0
LineStyle=0
FillColor=0
FillPattern=0
TabOrder=0
ObjectType=5
Name=FogRec
X=0
Y=0
W=1275
H=675
Anchor=5
LineColor=16777215
LineWidth=0
LineStyle=0
FillColor=0
FillPattern=0
TabOrder=6
ObjectType=5
Name=StarsRec
X=0
Y=0
W=1272
H=208
Anchor=0
LineColor=16777215
LineWidth=0
LineStyle=0
FillColor=0
FillPattern=0
TabOrder=1
ObjectType=5
Name=CloudsRec
X=0
Y=96
W=448
H=192
Anchor=0
LineColor=16777215
LineWidth=0
LineStyle=0
FillColor=0
FillPattern=0
TabOrder=8
ObjectType=5
Name=MoonRec
X=896
Y=19
W=120
H=112
Anchor=0
LineColor=16777215
LineWidth=0
LineStyle=0
FillColor=0
FillPattern=0
TabOrder=3
ObjectType=5
Name=MoonBeamRec
X=684
Y=488
W=539
H=192
Anchor=0
LineColor=16777215
LineWidth=0
LineStyle=0
FillColor=0
FillPattern=0
TabOrder=5
ObjectType=5
Name=SailboatRec
X=899
Y=440
W=344
H=176
Anchor=0
LineColor=16777215
LineWidth=0
LineStyle=0
FillColor=0
FillPattern=0
TabOrder=7
