summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2012-05-24 12:22:48 +0000
committerRobert Pösel <robyer@seznam.cz>2012-05-24 12:22:48 +0000
commitf88316219ec39ef41880a2bd4bda8f22ae8dacc7 (patch)
tree7385872c7932e7981b2c73c42df4f3ccfc055712
parent1a640e593f83b52cd66f33780c747e78ffa94c6e (diff)
Omegle update.
git-svn-id: http://svn.miranda-ng.org/main/trunk@161 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--protocols/Omegle/constants.h4
-rw-r--r--protocols/Omegle/dialogs.cpp8
-rw-r--r--protocols/Omegle/omegle.rc20
-rw-r--r--protocols/Omegle/omegle.sln20
4 files changed, 26 insertions, 26 deletions
diff --git a/protocols/Omegle/constants.h b/protocols/Omegle/constants.h
index 7fff9789e8..8f4227100e 100644
--- a/protocols/Omegle/constants.h
+++ b/protocols/Omegle/constants.h
@@ -23,8 +23,8 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
#pragma once
// Version management
-#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0,1,0,0)
-#define __VERSION_STRING "0.1.0.0"
+#define __VERSION_DWORD PLUGIN_MAKE_VERSION(0,1,0,1)
+#define __VERSION_STRING "0.1.0.1"
// Product management
#define OMEGLE_NAME "Omegle"
diff --git a/protocols/Omegle/dialogs.cpp b/protocols/Omegle/dialogs.cpp
index c2c5db9dc1..e6a05d688e 100644
--- a/protocols/Omegle/dialogs.cpp
+++ b/protocols/Omegle/dialogs.cpp
@@ -48,7 +48,7 @@ static void LoadDBText(OmegleProto* ppro, HWND hwnd, int idCtrl, const char* szS
static void StoreDBText(OmegleProto* ppro, HWND hwnd, int idCtrl, const char* szSetting)
{
- TCHAR tstr[OMEGLE_MESSAGE_LIMIT+1];
+ TCHAR tstr[250+1];
GetDlgItemText(hwnd, idCtrl, tstr, sizeof(tstr));
if ( _tcsclen( tstr ) > 0 ) {
@@ -142,9 +142,9 @@ INT_PTR CALLBACK OmegleOptionsProc( HWND hwnd, UINT message, WPARAM wparam, LPAR
proto = reinterpret_cast<OmegleProto*>(lparam);
SetWindowLong(hwnd,GWLP_USERDATA,lparam);
- SendDlgItemMessage(hwnd,IDC_INTERESTS, EM_LIMITTEXT, 512, 0);
- SendDlgItemMessage(hwnd,IDC_HI_MESSAGE, EM_LIMITTEXT, OMEGLE_MESSAGE_LIMIT, 0);
- SendDlgItemMessage(hwnd,IDC_ASL_MESSAGE, EM_LIMITTEXT, OMEGLE_MESSAGE_LIMIT, 0);
+ SendDlgItemMessage(hwnd,IDC_INTERESTS, EM_LIMITTEXT, 250, 0);
+ SendDlgItemMessage(hwnd,IDC_HI_MESSAGE, EM_LIMITTEXT, 250, 0);
+ SendDlgItemMessage(hwnd,IDC_ASL_MESSAGE, EM_LIMITTEXT, 250, 0);
// Server
SendDlgItemMessageA(hwnd, IDC_SERVER, CB_INSERTSTRING, 0, reinterpret_cast<LPARAM>(Translate(servers[0])));
diff --git a/protocols/Omegle/omegle.rc b/protocols/Omegle/omegle.rc
index 0de9b5dd06..0c2bae4bcf 100644
--- a/protocols/Omegle/omegle.rc
+++ b/protocols/Omegle/omegle.rc
@@ -39,20 +39,20 @@ BEGIN
CONTROL "Automatically send this message to stranger after connection:",IDC_HI_ENABLED,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,76,272,10
EDITTEXT IDC_HI_MESSAGE,24,87,272,20,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
- EDITTEXT IDC_ASL_MESSAGE,24,121,272,20,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
- LTEXT "This text will be sent when you use ""/asl"" message:",IDC_STATIC,24,111,272,8
- CONTROL "Don't clear chat before connecting to new stranger",IDC_NOCLEAR,
+ LTEXT "This text will be sent when you use ""/asl"" message:",IDC_STATIC,24,111,272,8
+ EDITTEXT IDC_ASL_MESSAGE,24,121,272,20,ES_MULTILINE | ES_AUTOVSCROLL | WS_VSCROLL
+ LTEXT "Last used question (Question mode):",IDC_STATIC,24,144,272,8
+ EDITTEXT IDC_LAST_QUESTION,24,154,272,20,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL
+ CONTROL "I want Omegle to reuse my questions if they are good enough (Question mode)",IDC_REUSE_QUESTIONS,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,176,272,10
+ CONTROL "Don't clear chat before connecting to new stranger",IDC_NOCLEAR,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,192,272,10
CONTROL "Automatically connect to another stranger when current disconnects",IDC_DONTSTOP,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,204,272,10
- CONTROL "I want Omegle to reuse my questions if they are good enough (Question mode)",IDC_REUSE_QUESTIONS,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,176,272,10
- CONTROL "Enable logging for debugging purposes",IDC_LOGGING,
- "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,228,272,10
CONTROL "Load count of users on actual server after connection",IDC_SERVER_INFO,
"Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,216,272,10
- EDITTEXT IDC_LAST_QUESTION,24,154,272,20,ES_MULTILINE | ES_AUTOVSCROLL | ES_READONLY | WS_VSCROLL
- LTEXT "Last used question (Question mode):",IDC_STATIC,24,144,272,8
+ CONTROL "Enable logging for debugging purposes",IDC_LOGGING,
+ "Button",BS_AUTOCHECKBOX | WS_TABSTOP,24,228,272,10
END
@@ -184,7 +184,7 @@ BEGIN
BLOCK "040904b0"
BEGIN
VALUE "FileDescription", "Omegle protocol plugin for Miranda IM"
- VALUE "FileVersion", "0.1.0.0"
+ VALUE "FileVersion", "0.1.0.1"
VALUE "InternalName", "Omegle"
VALUE "LegalCopyright", "Copyright © 2011-12 Robert Pösel"
VALUE "OriginalFilename", "omegle.dll"
diff --git a/protocols/Omegle/omegle.sln b/protocols/Omegle/omegle.sln
index dcbe0188e2..78dd0679e8 100644
--- a/protocols/Omegle/omegle.sln
+++ b/protocols/Omegle/omegle.sln
@@ -1,9 +1,9 @@

Microsoft Visual Studio Solution File, Format Version 11.00
# Visual Studio 2010
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Omegle", "omegle_10.vcxproj", "{DADE9455-DC28-465A-9604-2CA28052B9FB}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Omegle", "omegle_10.vcxproj", "{D5E2FEC1-B29A-476C-BD41-469FE282EE0F}"
EndProject
-Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "omegle_icons_10", "omegle_icons_10.vcxproj", "{C5AB34D2-15F5-4CBA-8F42-DB48A4E52910}"
+Project("{8BC9CEB8-8B4A-11D0-8D11-00A0C91BC942}") = "Proto_Omegle", "omegle_icons_10.vcxproj", "{C5AB34D2-15F5-4CBA-8F42-DB48A4E52910}"
EndProject
Global
GlobalSection(SolutionConfigurationPlatforms) = preSolution
@@ -13,14 +13,14 @@ Global
Release|x64 = Release|x64
EndGlobalSection
GlobalSection(ProjectConfigurationPlatforms) = postSolution
- {DADE9455-DC28-465A-9604-2CA28052B9FB}.Debug|Win32.ActiveCfg = Debug|Win32
- {DADE9455-DC28-465A-9604-2CA28052B9FB}.Debug|Win32.Build.0 = Debug|Win32
- {DADE9455-DC28-465A-9604-2CA28052B9FB}.Debug|x64.ActiveCfg = Debug|x64
- {DADE9455-DC28-465A-9604-2CA28052B9FB}.Debug|x64.Build.0 = Debug|x64
- {DADE9455-DC28-465A-9604-2CA28052B9FB}.Release|Win32.ActiveCfg = Release|Win32
- {DADE9455-DC28-465A-9604-2CA28052B9FB}.Release|Win32.Build.0 = Release|Win32
- {DADE9455-DC28-465A-9604-2CA28052B9FB}.Release|x64.ActiveCfg = Release|x64
- {DADE9455-DC28-465A-9604-2CA28052B9FB}.Release|x64.Build.0 = Release|x64
+ {D5E2FEC1-B29A-476C-BD41-469FE282EE0F}.Debug|Win32.ActiveCfg = Debug|Win32
+ {D5E2FEC1-B29A-476C-BD41-469FE282EE0F}.Debug|Win32.Build.0 = Debug|Win32
+ {D5E2FEC1-B29A-476C-BD41-469FE282EE0F}.Debug|x64.ActiveCfg = Debug|x64
+ {D5E2FEC1-B29A-476C-BD41-469FE282EE0F}.Debug|x64.Build.0 = Debug|x64
+ {D5E2FEC1-B29A-476C-BD41-469FE282EE0F}.Release|Win32.ActiveCfg = Release|Win32
+ {D5E2FEC1-B29A-476C-BD41-469FE282EE0F}.Release|Win32.Build.0 = Release|Win32
+ {D5E2FEC1-B29A-476C-BD41-469FE282EE0F}.Release|x64.ActiveCfg = Release|x64
+ {D5E2FEC1-B29A-476C-BD41-469FE282EE0F}.Release|x64.Build.0 = Release|x64
{C5AB34D2-15F5-4CBA-8F42-DB48A4E52910}.Debug|Win32.ActiveCfg = Debug|Win32
{C5AB34D2-15F5-4CBA-8F42-DB48A4E52910}.Debug|Win32.Build.0 = Debug|Win32
{C5AB34D2-15F5-4CBA-8F42-DB48A4E52910}.Debug|x64.ActiveCfg = Debug|x64