summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/CScreensaverScreen.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <george.hazan@gmail.com>2016-07-25 10:31:04 +0000
committerGeorge Hazan <george.hazan@gmail.com>2016-07-25 10:31:04 +0000
commit8ae3679aa1339ce9abee53adb69902bd6b7513dc (patch)
tree94ef8927e12043ed6dcc15e1e640d68a8add520e /plugins/MirandaG15/src/CScreensaverScreen.cpp
parent1e273e28d89b5838e3d0f0cafac9676577cb71ce (diff)
hello, Unix.
phase 1: removing _T() git-svn-id: http://svn.miranda-ng.org/main/trunk@17127 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirandaG15/src/CScreensaverScreen.cpp')
-rw-r--r--plugins/MirandaG15/src/CScreensaverScreen.cpp24
1 files changed, 12 insertions, 12 deletions
diff --git a/plugins/MirandaG15/src/CScreensaverScreen.cpp b/plugins/MirandaG15/src/CScreensaverScreen.cpp
index d50e1e856f..0ba40da901 100644
--- a/plugins/MirandaG15/src/CScreensaverScreen.cpp
+++ b/plugins/MirandaG15/src/CScreensaverScreen.cpp
@@ -30,15 +30,15 @@ bool CScreensaverScreen::Initialize()
m_Label.SetAlignment(DT_CENTER);
m_Label.SetWordWrap(TRUE);
- m_Label.SetText(_T("Screensaver is active"));
- m_Label.SetFontFaceName(_T("Microsoft Sans Serif"));
+ m_Label.SetText(L"Screensaver is active");
+ m_Label.SetFontFaceName(L"Microsoft Sans Serif");
m_Label.SetFontPointSize(10);
m_Label.SetFontWeight(FW_BOLD);
m_Label2.SetAlignment(DT_CENTER);
m_Label2.SetWordWrap(TRUE);
- m_Label2.SetText(_T(""));
- m_Label2.SetFontFaceName(_T("Microsoft Sans Serif"));
+ m_Label2.SetText(L"");
+ m_Label2.SetFontFaceName(L"Microsoft Sans Serif");
m_Label2.SetFontPointSize(8);
m_Label.SetOrigin(0,0);
@@ -80,20 +80,20 @@ bool CScreensaverScreen::Update()
if(dwTimeElapsed > m_dwDuration)
{
m_dwDuration = 4000;
- m_Label.SetText(_T(""));
- m_Label2.SetText(_T(""));
+ m_Label.SetText(L"");
+ m_Label2.SetText(L"");
switch(m_iPosition)
{
case 0:
m_Label.SetFontPointSize(8);
- m_Label.SetText(_T("MirandaG15"));
- m_Label2.SetText(_T("Screensaver is active"));
+ m_Label.SetText(L"MirandaG15");
+ m_Label2.SetText(L"Screensaver is active");
m_dwDuration = 1800;
break;
case 1:
m_Label.SetFontPointSize(11);
- m_Label.SetText(_T("MirandaG15"));
- m_Label2.SetText(_T("Applet locked"));
+ m_Label.SetText(L"MirandaG15");
+ m_Label2.SetText(L"Applet locked");
m_dwDuration = 1800;
m_iPosition = -1;
break;
@@ -122,8 +122,8 @@ void CScreensaverScreen::Reset()
m_Label.SetFontPointSize(10);
- m_Label.SetText(_T(""));
- m_Label2.SetText(_T(""));
+ m_Label.SetText(L"");
+ m_Label2.SetText(L"");
CAppletManager::GetInstance()->GetLCDConnection()->SetAsForeground(true);
}