summaryrefslogtreecommitdiff
path: root/plugins/StartPosition/src
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/StartPosition/src')
-rw-r--r--plugins/StartPosition/src/main.cpp2
-rw-r--r--plugins/StartPosition/src/options.h186
-rw-r--r--plugins/StartPosition/src/startposition.h68
-rw-r--r--plugins/StartPosition/src/stdafx.cxx2
-rw-r--r--plugins/StartPosition/src/stdafx.h2
-rw-r--r--plugins/StartPosition/src/version.h2
6 files changed, 131 insertions, 131 deletions
diff --git a/plugins/StartPosition/src/main.cpp b/plugins/StartPosition/src/main.cpp
index f6a3eddb6b..d9c5014c36 100644
--- a/plugins/StartPosition/src/main.cpp
+++ b/plugins/StartPosition/src/main.cpp
@@ -5,7 +5,7 @@ Copyright (C) 2005-2008 Felipe Brahm - souFrag
ICQ#50566818
http://www.soufrag.cl
-Copyright (C) 2012-22 Miranda NG team (https://miranda-ng.org)
+Copyright (C) 2012-23 Miranda NG team (https://miranda-ng.org)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
diff --git a/plugins/StartPosition/src/options.h b/plugins/StartPosition/src/options.h
index c8b85af8fe..e9311851df 100644
--- a/plugins/StartPosition/src/options.h
+++ b/plugins/StartPosition/src/options.h
@@ -1,93 +1,93 @@
-/*
-Copyright (C) 2012-22 Miranda NG team (https://miranda-ng.org)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation version 2
-of the License.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-#include "stdafx.h"
-
-enum ClistAlign : uint8_t
-{
- left,
- right
-};
-
-enum ClistState : uint8_t
-{
- hidden,
- minimized,
- normal
-};
-
-struct ClistOptions
-{
- CMOption<uint8_t> isDocked;
- CMOption<uint8_t> state;
-
- CMOption<uint32_t> x;
- CMOption<uint32_t> y;
- CMOption<uint32_t> width;
- CMOption<uint32_t> height;
-
- ClistOptions() :
- isDocked(CLIST_MODULE_NAME, "Docked", 0),
- state(CLIST_MODULE_NAME, "State", ClistState::normal),
- x(CLIST_MODULE_NAME, "x", 0),
- y(CLIST_MODULE_NAME, "y", 0),
- width(CLIST_MODULE_NAME, "Width", 150),
- height(CLIST_MODULE_NAME, "Height", 350)
- { }
-};
-
-struct StartPositionOptions
-{
- CMOption<uint8_t> setTopPosition;
- CMOption<uint8_t> setBottomPosition;
- CMOption<uint8_t> setSidePosition;
- CMOption<uint8_t> clistAlign;
- CMOption<uint8_t> setClistWidth;
- CMOption<uint8_t> setClistStartState;
- CMOption<uint8_t> clistState;
-
- CMOption<uint32_t> pixelsFromTop;
- CMOption<uint32_t> pixelsFromBottom;
- CMOption<uint32_t> pixelsFromSide;
- CMOption<uint32_t> clistWidth;
-
- StartPositionOptions();
-};
-
-class COptionsDlg : public CDlgBase
-{
- CCtrlCheck chkPositionTop, chkPositionBottom, chkPositionSide, chkFromLeft, chkFromRight, chkWidth;
- CCtrlEdit edtPositionTop, edtPositionBottom, edtPositionSide, edtWidth;
- CCtrlCheck chkStartState, chkStartHidden, chkStartNormal;
-
-public:
- COptionsDlg();
-
- bool OnInitDialog() override;
- bool OnApply() override;
-
-private:
- void removeOldSettings();
-
- void onCheck_PositionTop(CCtrlCheck*);
- void onCheck_PositionBottom(CCtrlCheck*);
- void onCheck_PositionSide(CCtrlCheck*);
- void onCheck_Width(CCtrlCheck*);
- void onCheck_StartState(CCtrlCheck*);
-};
+/*
+Copyright (C) 2012-23 Miranda NG team (https://miranda-ng.org)
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation version 2
+of the License.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#pragma once
+
+#include "stdafx.h"
+
+enum ClistAlign : uint8_t
+{
+ left,
+ right
+};
+
+enum ClistState : uint8_t
+{
+ hidden,
+ minimized,
+ normal
+};
+
+struct ClistOptions
+{
+ CMOption<uint8_t> isDocked;
+ CMOption<uint8_t> state;
+
+ CMOption<uint32_t> x;
+ CMOption<uint32_t> y;
+ CMOption<uint32_t> width;
+ CMOption<uint32_t> height;
+
+ ClistOptions() :
+ isDocked(CLIST_MODULE_NAME, "Docked", 0),
+ state(CLIST_MODULE_NAME, "State", ClistState::normal),
+ x(CLIST_MODULE_NAME, "x", 0),
+ y(CLIST_MODULE_NAME, "y", 0),
+ width(CLIST_MODULE_NAME, "Width", 150),
+ height(CLIST_MODULE_NAME, "Height", 350)
+ { }
+};
+
+struct StartPositionOptions
+{
+ CMOption<uint8_t> setTopPosition;
+ CMOption<uint8_t> setBottomPosition;
+ CMOption<uint8_t> setSidePosition;
+ CMOption<uint8_t> clistAlign;
+ CMOption<uint8_t> setClistWidth;
+ CMOption<uint8_t> setClistStartState;
+ CMOption<uint8_t> clistState;
+
+ CMOption<uint32_t> pixelsFromTop;
+ CMOption<uint32_t> pixelsFromBottom;
+ CMOption<uint32_t> pixelsFromSide;
+ CMOption<uint32_t> clistWidth;
+
+ StartPositionOptions();
+};
+
+class COptionsDlg : public CDlgBase
+{
+ CCtrlCheck chkPositionTop, chkPositionBottom, chkPositionSide, chkFromLeft, chkFromRight, chkWidth;
+ CCtrlEdit edtPositionTop, edtPositionBottom, edtPositionSide, edtWidth;
+ CCtrlCheck chkStartState, chkStartHidden, chkStartNormal;
+
+public:
+ COptionsDlg();
+
+ bool OnInitDialog() override;
+ bool OnApply() override;
+
+private:
+ void removeOldSettings();
+
+ void onCheck_PositionTop(CCtrlCheck*);
+ void onCheck_PositionBottom(CCtrlCheck*);
+ void onCheck_PositionSide(CCtrlCheck*);
+ void onCheck_Width(CCtrlCheck*);
+ void onCheck_StartState(CCtrlCheck*);
+};
diff --git a/plugins/StartPosition/src/startposition.h b/plugins/StartPosition/src/startposition.h
index 09e652aa5c..75c159e972 100644
--- a/plugins/StartPosition/src/startposition.h
+++ b/plugins/StartPosition/src/startposition.h
@@ -1,34 +1,34 @@
-/*
-Copyright (C) 2012-22 Miranda NG team (https://miranda-ng.org)
-
-This program is free software; you can redistribute it and/or
-modify it under the terms of the GNU General Public License
-as published by the Free Software Foundation version 2
-of the License.
-
-This program is distributed in the hope that it will be useful,
-but WITHOUT ANY WARRANTY; without even the implied warranty of
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
-GNU General Public License for more details.
-
-You should have received a copy of the GNU General Public License
-along with this program. If not, see <http://www.gnu.org/licenses/>.
-*/
-
-#pragma once
-
-#include "stdafx.h"
-
-struct CMPlugin : public PLUGIN<CMPlugin>
-{
- CMPlugin();
-
- int Load() override;
-
- void Init();
-
- int __cdecl OnOptionsInit(WPARAM, LPARAM);
- void positionClist();
-
- StartPositionOptions spOptions;
-};
+/*
+Copyright (C) 2012-23 Miranda NG team (https://miranda-ng.org)
+
+This program is free software; you can redistribute it and/or
+modify it under the terms of the GNU General Public License
+as published by the Free Software Foundation version 2
+of the License.
+
+This program is distributed in the hope that it will be useful,
+but WITHOUT ANY WARRANTY; without even the implied warranty of
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+GNU General Public License for more details.
+
+You should have received a copy of the GNU General Public License
+along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#pragma once
+
+#include "stdafx.h"
+
+struct CMPlugin : public PLUGIN<CMPlugin>
+{
+ CMPlugin();
+
+ int Load() override;
+
+ void Init();
+
+ int __cdecl OnOptionsInit(WPARAM, LPARAM);
+ void positionClist();
+
+ StartPositionOptions spOptions;
+};
diff --git a/plugins/StartPosition/src/stdafx.cxx b/plugins/StartPosition/src/stdafx.cxx
index 564f422ca2..8c570f6949 100644
--- a/plugins/StartPosition/src/stdafx.cxx
+++ b/plugins/StartPosition/src/stdafx.cxx
@@ -1,5 +1,5 @@
/*
-Copyright (C) 2012-22 Miranda NG team (https://miranda-ng.org)
+Copyright (C) 2012-23 Miranda NG team (https://miranda-ng.org)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
diff --git a/plugins/StartPosition/src/stdafx.h b/plugins/StartPosition/src/stdafx.h
index 5c7e573b7f..6dbc8d5f9a 100644
--- a/plugins/StartPosition/src/stdafx.h
+++ b/plugins/StartPosition/src/stdafx.h
@@ -5,7 +5,7 @@ Copyright (C) 2005-2008 Felipe Brahm - souFrag
ICQ#50566818
http://www.soufrag.cl
-Copyright (C) 2012-22 Miranda NG team (https://miranda-ng.org)
+Copyright (C) 2012-23 Miranda NG team (https://miranda-ng.org)
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
diff --git a/plugins/StartPosition/src/version.h b/plugins/StartPosition/src/version.h
index c1b334483d..7eb14073ef 100644
--- a/plugins/StartPosition/src/version.h
+++ b/plugins/StartPosition/src/version.h
@@ -10,4 +10,4 @@
#define __DESCRIPTION "Plugin supports starting position of Contact List relative to the taskbar and screen side."
#define __AUTHOR "Felipe Brahm - souFrag"
#define __AUTHORWEB "https://miranda-ng.org/p/StartPosition"
-#define __COPYRIGHT "© 2005-2008 Felipe Brahm - souFrag, © 2012-22 Miranda NG team"
+#define __COPYRIGHT "© 2005-2008 Felipe Brahm - souFrag, © 2012-23 Miranda NG team"