diff options
author | Mataes <mataes2007@gmail.com> | 2019-10-20 19:56:00 +0300 |
---|---|---|
committer | Mataes <mataes2007@gmail.com> | 2019-10-20 19:56:00 +0300 |
commit | 07c657da00c953f58f56cc5943d9da31450b563f (patch) | |
tree | f53332c959c023300e2251ace7a5ee8d0a1d9ec0 /plugins | |
parent | f510743ac60c012e51d87092bcce605cc86ce00a (diff) |
NewStory: cleanup
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/NewStory/res/resource.rc | 28 | ||||
-rw-r--r-- | plugins/NewStory/src/options.cpp | 7 | ||||
-rw-r--r-- | plugins/NewStory/src/resource.h | 65 |
3 files changed, 32 insertions, 68 deletions
diff --git a/plugins/NewStory/res/resource.rc b/plugins/NewStory/res/resource.rc index bccc8e37d8..6acaa04917 100644 --- a/plugins/NewStory/res/resource.rc +++ b/plugins/NewStory/res/resource.rc @@ -146,13 +146,6 @@ BEGIN CONTROL "MonthCalendar1",IDC_MONTHCALENDAR1,"SysMonthCal32",MCS_NOTODAYCIRCLE | WS_TABSTOP,0,0,98,85 END -IDD_OPTIONS DIALOGEX 0, 0, 314, 240 -STYLE DS_SETFONT | WS_CHILD -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - CONTROL "Tab1",IDC_TAB,"SysTabControl32",0x0,0,0,314,240 -END - IDD_OPT_TEMPLATES DIALOGEX 0, 0, 307, 223 STYLE DS_SETFONT | WS_CHILD FONT 8, "MS Shell Dlg", 0, 0, 0x1 @@ -170,13 +163,6 @@ BEGIN CONTROL "",IDC_UPDATEPREVIEW,"MButtonClass",WS_TABSTOP,268,202,16,14 END -IDD_OPT_GENERAL DIALOGEX 0, 0, 307, 223 -STYLE DS_SETFONT | WS_CHILD -FONT 8, "MS Shell Dlg", 0, 0, 0x1 -BEGIN - CTEXT "Coming soon...",IDC_STATIC,7,7,293,209,SS_CENTERIMAGE -END - IDD_FILTERMODE DIALOGEX 0, 0, 219, 171 STYLE DS_SETFONT | DS_MODALFRAME | DS_CENTER | WS_POPUP | WS_CAPTION | WS_SYSMENU EXSTYLE WS_EX_NOPARENTNOTIFY @@ -260,12 +246,6 @@ BEGIN BEGIN END - IDD_OPTIONS, DIALOG - BEGIN - RIGHTMARGIN, 235 - BOTTOMMARGIN, 156 - END - IDD_OPT_TEMPLATES, DIALOG BEGIN LEFTMARGIN, 7 @@ -293,14 +273,6 @@ BEGIN HORZGUIDE, 202 END - IDD_OPT_GENERAL, DIALOG - BEGIN - LEFTMARGIN, 7 - RIGHTMARGIN, 300 - TOPMARGIN, 7 - BOTTOMMARGIN, 216 - END - IDD_FILTERMODE, DIALOG BEGIN LEFTMARGIN, 7 diff --git a/plugins/NewStory/src/options.cpp b/plugins/NewStory/src/options.cpp index b5c7861f4c..65f6549966 100644 --- a/plugins/NewStory/src/options.cpp +++ b/plugins/NewStory/src/options.cpp @@ -6,15 +6,10 @@ static int OptionsInitialize(WPARAM wParam, LPARAM) { OPTIONSDIALOGPAGE odp = { 0 }; odp.position = 100000000; - odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPTIONS); + odp.szGroup.w = LPGENW("History"); odp.szTitle.w = LPGENW("Newstory"); odp.flags = ODPF_BOLDGROUPS | ODPF_UNICODE; - // odp.szTab.w = LPGENW("General"); - // odp.pfnDlgProc = 0; - // odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_GENERAL); - // g_plugin.addOptions(wParam, &odp); - odp.szTab.w = LPGENW("Templates"); odp.pfnDlgProc = OptTemplatesDlgProc; odp.pszTemplate = MAKEINTRESOURCEA(IDD_OPT_TEMPLATES); diff --git a/plugins/NewStory/src/resource.h b/plugins/NewStory/src/resource.h index 331efb3126..4109bd4e65 100644 --- a/plugins/NewStory/src/resource.h +++ b/plugins/NewStory/src/resource.h @@ -4,14 +4,12 @@ // #define IDD_HISTORY 101 #define IDD_SEARCH 105 -#define IDD_OPTIONS 107 -#define IDD_MESSAGE 112 //!!! +#define IDD_MESSAGE 112 //!!! #define IDR_POPUPS 113 -#define IDR_ACCEL 114 //!!! +#define IDR_ACCEL 114 //!!! #define IDD_CALENDARTOOL 118 #define IDD_OPT_TEMPLATES 121 -#define IDD_FILTERMODE 123 //!!! -#define IDD_OPT_GENERAL 124 +#define IDD_FILTERMODE 123 //!!! #define ICO_NEWSTORY 127 #define ICO_USERINFO 128 #define ICO_USERMENU 129 @@ -36,18 +34,15 @@ #define ICO_PREVIEW 150 #define ICO_VARHELP 151 #define IDC_GPREVIEW 1000 -#define IDC_LIST 1000 -#define IDC_ITEMS2 1000 -#define IDC_PROGRESS 1002 -#define IDC_EDIT1 1003 -#define IDC_SEARCHTEXT 1003 +#define IDC_ITEMS2 1001 +#define IDC_PROGRESS 1002 //!!! +#define IDC_EDIT1 1003 //!!! +#define IDC_SEARCHTEXT 1004 #define IDC_CLOSE 1009 #define IDC_MESSAGE 1010 #define IDC_USERINFO 1011 #define IDC_USERMENU 1012 -#define IDC_TEXT 1012 //!!! #define IDC_SEARCH 1013 -#define IDC_USERNICK 1013 //!!! #define IDC_EXPORT 1014 #define IDC_COPY 1015 #define IDC_FILTER 1016 @@ -55,18 +50,20 @@ #define IDC_LOGOPTIONS 1018 #define IDC_FINDPREV 1019 #define IDC_SEARCHICON 1020 -#define IDC_MSGICON 1022 //!!! -#define IDC_DATEPOPUP 1022 -#define IDC_ICO_MESSAGES_IN 1023 -#define IDC_ICO_MESSAGES_OUT 1024 -#define IDC_ICO_FILES_IN 1025 -#define IDC_ICO_FILES_OUT 1026 -#define IDC_ICO_TOTAL_IN 1027 -#define IDC_PREVIEW 1028 -#define IDC_ICO_TOTAL_OUT 1028 -#define IDC_ICO_URLS_IN 1029 -#define IDC_ICO_URLS_OUT 1030 -#define IDC_TAB 1032 +#define IDC_TEXT 1021 //!!! +#define IDC_USERNICK 1022 //!!! +#define IDC_MSGICON 1023 //!!! +#define IDC_DATEPOPUP 1024 +#define IDC_ICO_MESSAGES_IN 1025 +#define IDC_ICO_MESSAGES_OUT 1026 +#define IDC_ICO_FILES_IN 1027 +#define IDC_ICO_FILES_OUT 1028 +#define IDC_ICO_TOTAL_IN 1029 +#define IDC_ICO_TOTAL_OUT 1030 +#define IDC_ICO_URLS_IN 1031 +#define IDC_ICO_URLS_OUT 1032 +#define IDC_PREVIEW 1033 +#define IDC_TAB 1034 #define IDC_TIMETREE 1035 #define IDC_PROGRESS1 1037 //!!! #define IDC_COMBO1 1038 //!!! @@ -77,17 +74,17 @@ #define IDC_VARHELP 1058 #define IDC_CHK_IN 1059 //!!! #define IDC_DISCARD 1060 -#define IDC_CHK_FILE 1060 //!!! -#define IDC_CHK_URL 1061 //!!! #define IDC_UPDATEPREVIEW 1061 -#define IDC_CHK_STATUS 1062 //!!! -#define IDC_CHK_OTHER 1063 //!!! -#define IDC_CHK_AUTOFILTER 1064 //!!! -#define IDC_DATETIMEPICKER1 1065 //!!! -#define IDC_DATETIMEPICKER2 1066 //!!! -#define IDC_CHK_OUT 1067 //!!! -#define IDC_CHK_MESSAGES 1068 //!!! -#define IDC_EDITTEMPLATE 1069 +#define IDC_CHK_FILE 1062 //!!! +#define IDC_CHK_URL 1063 //!!! +#define IDC_CHK_STATUS 1064 //!!! +#define IDC_CHK_OTHER 1065 //!!! +#define IDC_CHK_AUTOFILTER 1066 //!!! +#define IDC_DATETIMEPICKER1 1067 //!!! +#define IDC_DATETIMEPICKER2 1068 //!!! +#define IDC_CHK_OUT 1069 //!!! +#define IDC_CHK_MESSAGES 1070 //!!! +#define IDC_EDITTEMPLATE 1071 #define IDC_ICO_MESSAGES 1078 #define IDC_ICO_FILES 1079 #define IDC_ICO_URLS 1080 |