summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2013-07-17 19:07:22 +0000
committerKirill Volinsky <mataes2007@gmail.com>2013-07-17 19:07:22 +0000
commit3fda20c00f0d7e8a266970475719717cfbcf00c9 (patch)
tree0341f47f0045e4d1a6acb8d6f821d73536fadffc
parent955305b73ea680d0f7c184eac2c56986da8a6b37 (diff)
added dialogs for future
git-svn-id: http://svn.miranda-ng.org/main/trunk@5401 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/NewsAggregator/NewsAggregator_11.vcxproj9
-rw-r--r--plugins/NewsAggregator/NewsAggregator_11.vcxproj.filters26
-rw-r--r--plugins/NewsAggregator/Res/Resource.rc56
-rw-r--r--plugins/NewsAggregator/Src/resource.h16
4 files changed, 107 insertions, 0 deletions
diff --git a/plugins/NewsAggregator/NewsAggregator_11.vcxproj b/plugins/NewsAggregator/NewsAggregator_11.vcxproj
index c77219aea5..976ce24f74 100644
--- a/plugins/NewsAggregator/NewsAggregator_11.vcxproj
+++ b/plugins/NewsAggregator/NewsAggregator_11.vcxproj
@@ -200,6 +200,15 @@
<ClCompile Include="Src\Update.cpp" />
<ClCompile Include="Src\Utils.cpp" />
</ItemGroup>
+ <ItemGroup>
+ <Image Include="res\AddFeed.ico" />
+ <Image Include="res\CheckAll.ico" />
+ <Image Include="res\Disabled.ico" />
+ <Image Include="res\Enabled.ico" />
+ <Image Include="res\Export.ico" />
+ <Image Include="res\Import.ico" />
+ <Image Include="res\Main.ico" />
+ </ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>
diff --git a/plugins/NewsAggregator/NewsAggregator_11.vcxproj.filters b/plugins/NewsAggregator/NewsAggregator_11.vcxproj.filters
index e02b0ce97e..0918725b26 100644
--- a/plugins/NewsAggregator/NewsAggregator_11.vcxproj.filters
+++ b/plugins/NewsAggregator/NewsAggregator_11.vcxproj.filters
@@ -13,6 +13,9 @@
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
</Filter>
+ <Filter Include="Resource Files\Icons">
+ <UniqueIdentifier>{8d39e269-e9a1-4af1-b278-6d65d1afe13b}</UniqueIdentifier>
+ </Filter>
</ItemGroup>
<ItemGroup>
<ResourceCompile Include="res\Version.rc">
@@ -59,4 +62,27 @@
<Filter>Source Files</Filter>
</ClCompile>
</ItemGroup>
+ <ItemGroup>
+ <Image Include="res\AddFeed.ico">
+ <Filter>Resource Files\Icons</Filter>
+ </Image>
+ <Image Include="res\CheckAll.ico">
+ <Filter>Resource Files\Icons</Filter>
+ </Image>
+ <Image Include="res\Disabled.ico">
+ <Filter>Resource Files\Icons</Filter>
+ </Image>
+ <Image Include="res\Enabled.ico">
+ <Filter>Resource Files\Icons</Filter>
+ </Image>
+ <Image Include="res\Export.ico">
+ <Filter>Resource Files\Icons</Filter>
+ </Image>
+ <Image Include="res\Import.ico">
+ <Filter>Resource Files\Icons</Filter>
+ </Image>
+ <Image Include="res\Main.ico">
+ <Filter>Resource Files\Icons</Filter>
+ </Image>
+ </ItemGroup>
</Project> \ No newline at end of file
diff --git a/plugins/NewsAggregator/Res/Resource.rc b/plugins/NewsAggregator/Res/Resource.rc
index a05fbb0698..9ff962ab51 100644
--- a/plugins/NewsAggregator/Res/Resource.rc
+++ b/plugins/NewsAggregator/Res/Resource.rc
@@ -85,6 +85,62 @@ BEGIN
CONTROL "",IDC_TIMEOUT_VALUE_SPIN,"msctls_updown32",UDS_SETBUDDYINT | UDS_ALIGNRIGHT | UDS_AUTOBUDDY | UDS_ARROWKEYS | UDS_NOTHOUSANDS,85,45,11,12
END
+IDD_AUTHENTICATION DIALOGEX 0, 0, 211, 106
+STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+EXSTYLE WS_EX_CONTROLPARENT
+CAPTION "Authentication"
+FONT 8, "MS Shell Dlg", 0, 0, 0x1
+BEGIN
+ CTEXT "aaaa",IDC_FEEDNAME,7,5,196,8
+ LTEXT "This feed seems to need authentication. Please fill username and password fields:",IDC_STATIC,7,19,196,22
+ RTEXT "Username",IDC_STATIC,25,49,42,8
+ EDITTEXT IDC_FEEDUSERNAME,71,46,80,14,ES_AUTOHSCROLL
+ RTEXT "Password",IDC_STATIC,25,66,42,8
+ EDITTEXT IDC_FEEDPASSWORD,71,63,80,14,ES_PASSWORD | ES_AUTOHSCROLL
+ DEFPUSHBUTTON "OK",IDOK,98,87,50,14
+ PUSHBUTTON "Cancel",IDCANCEL,153,87,50,14
+END
+
+IDD_FEEDEXPORT DIALOGEX 0, 0, 275, 162
+STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+EXSTYLE WS_EX_ACCEPTFILES | WS_EX_CONTROLPARENT
+CAPTION "Export"
+FONT 8, "MS Shell Dlg", 0, 0, 0x1
+BEGIN
+ LISTBOX IDC_FEEDSLIST,6,18,120,98,LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_EXTENDEDSEL | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
+ PUSHBUTTON "->",IDC_ADDFEED,129,50,17,14
+ PUSHBUTTON "<-",IDC_REMOVEFEED,129,66,17,14
+ LISTBOX IDC_FEEDSEXPORTLIST,150,18,120,98,LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_EXTENDEDSEL | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
+ EDITTEXT IDC_EXPORTFILEPATH,59,124,186,14,ES_AUTOHSCROLL,WS_EX_ACCEPTFILES
+ PUSHBUTTON "...",IDC_BROWSEEXPORTFILE,248,124,22,14
+ PUSHBUTTON "&Export",IDOK,164,144,50,14
+ PUSHBUTTON "&Close",IDCANCEL,220,144,50,14
+ LTEXT "Available feeds:",IDC_STATIC,6,6,100,8
+ LTEXT "Export to file:",IDC_STATIC,6,127,47,8
+ LTEXT "Feeds to be exported:",IDC_STATIC,150,6,98,8
+END
+
+IDD_FEEDIMPORT DIALOGEX 0, 0, 276, 183
+STYLE DS_SETFONT | DS_MODALFRAME | DS_3DLOOK | DS_FIXEDSYS | DS_CENTER | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
+EXSTYLE WS_EX_ACCEPTFILES | WS_EX_CONTROLPARENT
+CAPTION "Import"
+FONT 8, "MS Shell Dlg", 0, 0, 0x1
+BEGIN
+ EDITTEXT IDC_IMPORTFILEPATH,59,7,186,14,ES_AUTOHSCROLL,WS_EX_ACCEPTFILES
+ PUSHBUTTON "...",IDC_BROWSEIMPORTFILE,248,7,22,14
+ PUSHBUTTON "Load",IDC_LOADIMPORTFILE,112,26,50,14
+ LISTBOX IDC_FEEDSLIST,6,62,120,98,LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_EXTENDEDSEL | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
+ PUSHBUTTON "->",IDC_ADDFEED,129,94,17,14
+ PUSHBUTTON "<-",IDC_REMOVEFEED,129,110,17,14
+ LISTBOX IDC_FEEDSIMPORTLIST,150,62,120,98,LBS_SORT | LBS_NOINTEGRALHEIGHT | LBS_EXTENDEDSEL | WS_VSCROLL | WS_HSCROLL | WS_TABSTOP
+ PUSHBUTTON "&Import",IDOK,165,165,50,14
+ PUSHBUTTON "&Close",IDCANCEL,220,165,50,14
+ LTEXT "Available feeds:",IDC_STATIC,6,50,100,8
+ LTEXT "Import from:",IDC_STATIC,6,9,47,8
+ LTEXT "Feeds to be imported:",IDC_STATIC,150,50,101,8
+ GROUPBOX "",IDC_STATIC,0,42,275,5
+END
+
#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
diff --git a/plugins/NewsAggregator/Src/resource.h b/plugins/NewsAggregator/Src/resource.h
index d795f44add..7966677bf4 100644
--- a/plugins/NewsAggregator/Src/resource.h
+++ b/plugins/NewsAggregator/Src/resource.h
@@ -3,6 +3,7 @@
// Used by C:\Temp\Myranda\plugins\NewsAggregator\res\Resource.rc
//
#define IDD_OPTIONS 101
+#define IDD_AUTHENTICATION 102
#define IDI_ICON 109
#define IDD_ADDFEED 110
#define IDI_CHECKALL 111
@@ -11,6 +12,8 @@
#define IDI_EXPORTFEEDS 114
#define IDI_ENABLED 115
#define IDI_DISABLED 116
+#define IDD_FEEDEXPORT 140
+#define IDD_FEEDIMPORT 141
#define IDC_TIMEOUT_VALUE_SPIN 1035
#define IDC_FEEDLIST 1036
#define IDC_ADD 1037
@@ -29,6 +32,19 @@
#define IDC_RESET 1050
#define IDC_TAGHELP 1051
#define IDC_STARTUPRETRIEVE 1052
+#define IDC_FEEDUSERNAME 1105
+#define IDC_FEEDPASSWORD 1106
+#define IDC_FEEDSLIST 1108
+#define IDC_FEEDSEXPORTLIST 1109
+#define IDC_FEEDSIMPORTLIST 1117
+#define IDC_ADDFEED 1110
+#define IDC_REMOVEFEED 1111
+#define IDC_EXPORTFILEPATH 1112
+#define IDC_BROWSEEXPORTFILE 1113
+#define IDC_IMPORTFILEPATH 1114
+#define IDC_BROWSEIMPORTFILE 1115
+#define IDC_LOADIMPORTFILE 1116
+#define IDC_FEEDNAME 1124
// Next default values for new objects
//