summaryrefslogtreecommitdiff
path: root/plugins/Watrack/popup/pop_opt.inc
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Watrack/popup/pop_opt.inc')
-rw-r--r--plugins/Watrack/popup/pop_opt.inc48
1 files changed, 24 insertions, 24 deletions
diff --git a/plugins/Watrack/popup/pop_opt.inc b/plugins/Watrack/popup/pop_opt.inc
index 591063923e..0c01d097eb 100644
--- a/plugins/Watrack/popup/pop_opt.inc
+++ b/plugins/Watrack/popup/pop_opt.inc
@@ -8,17 +8,17 @@ const
const
opt_ModStatus :PAnsiChar = 'module/popups';
- opt_PopUpFile :PAnsiChar = 'popup/file';
- opt_PopUpAction :PAnsiChar = 'popup/action';
- opt_PopUpFore :PAnsiChar = 'popup/fore';
- opt_PopUpBack :PAnsiChar = 'popup/back';
- opt_PopUpPause :PAnsiChar = 'popup/time';
- opt_PopUpDelay :PAnsiChar = 'popup/delay';
- opt_PopUpColor :PAnsiChar = 'popup/color';
+ opt_PopupFile :PAnsiChar = 'popup/file';
+ opt_PopupAction :PAnsiChar = 'popup/action';
+ opt_PopupFore :PAnsiChar = 'popup/fore';
+ opt_PopupBack :PAnsiChar = 'popup/back';
+ opt_PopupPause :PAnsiChar = 'popup/time';
+ opt_PopupDelay :PAnsiChar = 'popup/delay';
+ opt_PopupColor :PAnsiChar = 'popup/color';
opt_ByRequest :PAnsiChar = 'popup/byrequest';
opt_PopTitle :PAnsiChar = 'popup/poptitle';
opt_PopText :PAnsiChar = 'popup/poptext';
- opt_PopUpButtons:PAnsiChar = 'popup/usebuttons';
+ opt_PopupButtons:PAnsiChar = 'popup/usebuttons';
spref = 'strings/';
@@ -36,14 +36,14 @@ procedure loadpopup;
var
def1,def2:pWideChar;
begin
- PopUpButtons:=DBReadByte (0,PluginShort,opt_PopUpButtons,BST_CHECKED);
- PopUpFile :=DBReadByte (0,PluginShort,opt_PopUpFile ,BST_CHECKED);
- PopUpPause :=DBReadByte (0,PluginShort,opt_PopUpPause ,0);
- PopUpDelay :=DBReadByte (0,PluginShort,opt_PopUpDelay ,0);
- PopUpAction :=DBReadWord (0,PluginShort,opt_PopUpAction ,0);
- PopUpColor :=DBReadByte (0,PluginShort,opt_PopUpColor ,0);
- PopUpFore :=DBReadDWord(0,PluginShort,opt_PopUpFore ,GetSysColor(COLOR_BTNTEXT));
- PopUpBack :=DBReadDWord(0,PluginShort,opt_PopUpBack ,GetSysColor(COLOR_BTNFACE));
+ PopupButtons:=DBReadByte (0,PluginShort,opt_PopupButtons,BST_CHECKED);
+ PopupFile :=DBReadByte (0,PluginShort,opt_PopupFile ,BST_CHECKED);
+ PopupPause :=DBReadByte (0,PluginShort,opt_PopupPause ,0);
+ PopupDelay :=DBReadByte (0,PluginShort,opt_PopupDelay ,0);
+ PopupAction :=DBReadWord (0,PluginShort,opt_PopupAction ,0);
+ PopupColor :=DBReadByte (0,PluginShort,opt_PopupColor ,0);
+ PopupFore :=DBReadDWord(0,PluginShort,opt_PopupFore ,GetSysColor(COLOR_BTNTEXT));
+ PopupBack :=DBReadDWord(0,PluginShort,opt_PopupBack ,GetSysColor(COLOR_BTNFACE));
PopRequest :=DBReadByte (0,PluginShort,opt_ByRequest ,BST_UNCHECKED);
if isVarsInstalled then
begin
@@ -61,14 +61,14 @@ end;
procedure savepopup;
begin
- DBWriteByte (0,PluginShort,opt_PopUpButtons,PopUpButtons);
- DBWriteByte (0,PluginShort,opt_PopUpFile ,PopUpFile);
- DBWriteByte (0,PluginShort,opt_PopUpPause ,PopUpPause);
- DBWriteByte (0,PluginShort,opt_PopUpDelay ,PopUpDelay);
- DBWriteWord (0,PluginShort,opt_PopUpAction ,PopUpAction);
- DBWriteByte (0,PluginShort,opt_PopUpColor ,PopUpColor);
- DBWriteDWord (0,PluginShort,opt_PopUpFore ,PopUpFore);
- DBWriteDWord (0,PluginShort,opt_PopUpBack ,PopUpBack);
+ DBWriteByte (0,PluginShort,opt_PopupButtons,PopupButtons);
+ DBWriteByte (0,PluginShort,opt_PopupFile ,PopupFile);
+ DBWriteByte (0,PluginShort,opt_PopupPause ,PopupPause);
+ DBWriteByte (0,PluginShort,opt_PopupDelay ,PopupDelay);
+ DBWriteWord (0,PluginShort,opt_PopupAction ,PopupAction);
+ DBWriteByte (0,PluginShort,opt_PopupColor ,PopupColor);
+ DBWriteDWord (0,PluginShort,opt_PopupFore ,PopupFore);
+ DBWriteDWord (0,PluginShort,opt_PopupBack ,PopupBack);
DBWriteByte (0,PluginShort,opt_ByRequest ,PopRequest);
DBWriteUnicode(0,PluginShort,opt_PopTitle,PopTitle);
DBWriteUnicode(0,PluginShort,opt_PopText ,PopText);