summaryrefslogtreecommitdiff
path: root/plugins/SplashScreen
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-09-01 18:35:17 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-09-01 18:35:17 +0000
commit856648d8c6f14c7d57aba610588f52c79ec18987 (patch)
tree81e54ca4bab2b5d151c4de478a437c7347e2e3e9 /plugins/SplashScreen
parent3309aba98dfae9c24313021a373c33cbf0c2cad1 (diff)
removed not used options
git-svn-id: http://svn.miranda-ng.org/main/trunk@5896 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/SplashScreen')
-rw-r--r--plugins/SplashScreen/res/splash.rc2
-rw-r--r--plugins/SplashScreen/src/headers.h5
-rw-r--r--plugins/SplashScreen/src/main.cpp6
-rw-r--r--plugins/SplashScreen/src/options.cpp1
4 files changed, 1 insertions, 13 deletions
diff --git a/plugins/SplashScreen/res/splash.rc b/plugins/SplashScreen/res/splash.rc
index e14c3da3f3..1a4ced4791 100644
--- a/plugins/SplashScreen/res/splash.rc
+++ b/plugins/SplashScreen/res/splash.rc
@@ -55,8 +55,6 @@ BEGIN
PUSHBUTTON "...",IDC_CHOOSESPLASH,222,40,22,11
CONTROL "Play sound",IDC_PLAYSND,"Button",BS_AUTO3STATE |
WS_TABSTOP,58,55,64,10
- CONTROL "Loop sound",IDC_LOOPSOUND,"Button",BS_AUTOCHECKBOX |
- WS_TABSTOP,130,55,137,10
EDITTEXT IDC_SNDPATH,69,67,145,13,ES_AUTOHSCROLL
PUSHBUTTON "...",IDC_CHOOSESND,222,68,22,11
GROUPBOX "Show Miranda Version",IDC_STATIC,20,90,275,42
diff --git a/plugins/SplashScreen/src/headers.h b/plugins/SplashScreen/src/headers.h
index 127635df8b..b080917889 100644
--- a/plugins/SplashScreen/src/headers.h
+++ b/plugins/SplashScreen/src/headers.h
@@ -61,14 +61,11 @@ struct SPLASHOPTS
{
byte active;
byte playsnd;
- byte loopsnd;
- byte runonce;
byte fadein;
byte fadeout;
- byte inheritGS;
+ byte inheritGS; //???
byte random;
byte showversion;
- byte fontsize;
int showtime;
int fosteps;
int fisteps;
diff --git a/plugins/SplashScreen/src/main.cpp b/plugins/SplashScreen/src/main.cpp
index f84164153e..72a827901f 100644
--- a/plugins/SplashScreen/src/main.cpp
+++ b/plugins/SplashScreen/src/main.cpp
@@ -87,12 +87,6 @@ void SplashMain()
if (bstartup & (options.active == 1))
{
- if (options.runonce)
- {
- db_set_b(NULL, MODNAME, "Active", 0);
- db_set_b(NULL, MODNAME, "DisableAfterStartup", 0);
- }
-
if (hAdvaimg == NULL)
{
hAdvaimg = LoadLibrary(szhAdvaimgPath);
diff --git a/plugins/SplashScreen/src/options.cpp b/plugins/SplashScreen/src/options.cpp
index df819697aa..ded6acd23a 100644
--- a/plugins/SplashScreen/src/options.cpp
+++ b/plugins/SplashScreen/src/options.cpp
@@ -34,7 +34,6 @@ void ReadDbConfig()
options.inheritGS = db_get_b(NULL, MODNAME, "InheritGlobalSound", 1);
options.showversion = db_get_b(NULL, MODNAME, "ShowVersion", 0);
options.random = db_get_b(NULL, MODNAME, "Random", 0);
- options.runonce = db_get_b(NULL, MODNAME, "DisableAfterStartup", 0);
}
BOOL Exists(LPCTSTR strName)