summaryrefslogtreecommitdiff
path: root/plugins/MirandaG15/src/LCDFramework
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-11-06 18:29:40 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-11-06 18:29:40 +0000
commitabc1a67b29f305316cbb2b69a84d8cbb1a3d808a (patch)
tree418c8364d38ae60323829f6e1a1d40983f710d8a /plugins/MirandaG15/src/LCDFramework
parent7477c55210e5f65f599923c633761cec21eb26ad (diff)
MirandaG15: Minor cleanup
git-svn-id: http://svn.miranda-ng.org/main/trunk@15691 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/MirandaG15/src/LCDFramework')
-rw-r--r--plugins/MirandaG15/src/LCDFramework/CLCDInput.cpp13
-rw-r--r--plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp4
-rw-r--r--plugins/MirandaG15/src/LCDFramework/CLCDOutputManager.cpp10
-rw-r--r--plugins/MirandaG15/src/LCDFramework/CLCDTextObject.cpp4
-rw-r--r--plugins/MirandaG15/src/LCDFramework/ConStream.cppbin3625 -> 3637 bytes
5 files changed, 9 insertions, 22 deletions
diff --git a/plugins/MirandaG15/src/LCDFramework/CLCDInput.cpp b/plugins/MirandaG15/src/LCDFramework/CLCDInput.cpp
index 0239c6b75f..547216ac09 100644
--- a/plugins/MirandaG15/src/LCDFramework/CLCDInput.cpp
+++ b/plugins/MirandaG15/src/LCDFramework/CLCDInput.cpp
@@ -5,19 +5,12 @@
//************************************************************************
// CLCDInput::CLCDInput
//************************************************************************
-CLCDInput::CLCDInput()
+CLCDInput::CLCDInput() : m_hKBHook(0), m_bShowSymbols(true), m_bShowMarker(false),
+ m_lInputTime(0), m_iLinePosition(0), m_iLineCount(0), m_iBreakKeys(KEYS_RETURN),
+ m_lBlinkTimer(0), m_pScrollbar(NULL)
{
- m_lInputTime = 0;
- m_iLinePosition = 0;
memset(&m_Marker, 0, sizeof(m_Marker));
- m_pScrollbar = NULL;
- m_bShowSymbols = true;
- m_iBreakKeys = KEYS_RETURN;
- m_bShowMarker = false;
- m_lBlinkTimer = 0;
-
- m_iLineCount = 0;
// SetScrollbarAlignment(TOP);
Reset();
}
diff --git a/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp b/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp
index 06f4076e83..38daccc7bf 100644
--- a/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp
+++ b/plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp
@@ -8,10 +8,10 @@
//************************************************************************
// constructor
//************************************************************************
-CLCDLabel::CLCDLabel()
+CLCDLabel::CLCDLabel() : m_bCutOff(true), m_bWordWrap(false), m_iCutOffIndex(0),
+ m_iLineCount(0)
{
m_strText = _T("");
- m_bCutOff = true;
}
//************************************************************************
diff --git a/plugins/MirandaG15/src/LCDFramework/CLCDOutputManager.cpp b/plugins/MirandaG15/src/LCDFramework/CLCDOutputManager.cpp
index d7107c888c..42bc3361de 100644
--- a/plugins/MirandaG15/src/LCDFramework/CLCDOutputManager.cpp
+++ b/plugins/MirandaG15/src/LCDFramework/CLCDOutputManager.cpp
@@ -14,18 +14,14 @@ CLCDOutputManager *CLCDOutputManager::m_pInstance = NULL;
//************************************************************************
// Constructor
//************************************************************************
-CLCDOutputManager::CLCDOutputManager()
+CLCDOutputManager::CLCDOutputManager() : m_dwButtonRepeatDelay(300), m_pGfx(0),
+ m_pdwButtonRepeatTimers(0), m_pdwButtonRepeatStarts(0), m_pbButtonStates(0),
+ m_pLcdConnection(0), m_bInitialized(false), m_dwLastUpdate(0), m_pActiveScreen(NULL)
{
ASSERT(m_pInstance == NULL);
m_pInstance = this;
m_strAppletName = _T("");
- m_pbButtonStates = NULL;
- m_pActiveScreen = NULL;
- m_bInitialized = false;
-
- m_dwButtonRepeatDelay = 300;
- m_dwLastUpdate = 0;
}
//************************************************************************
diff --git a/plugins/MirandaG15/src/LCDFramework/CLCDTextObject.cpp b/plugins/MirandaG15/src/LCDFramework/CLCDTextObject.cpp
index bad6b61c75..ccbb420206 100644
--- a/plugins/MirandaG15/src/LCDFramework/CLCDTextObject.cpp
+++ b/plugins/MirandaG15/src/LCDFramework/CLCDTextObject.cpp
@@ -6,10 +6,8 @@
//************************************************************************
// constructor
//************************************************************************
-CLCDTextObject::CLCDTextObject()
+CLCDTextObject::CLCDTextObject() : m_bWordWrap(false), m_hFont(NULL), m_iFontHeight(0)
{
- m_hFont = NULL;
- m_iFontHeight = 0;
// Initialize DRAWTEXTPARAMS
memset(&m_dtp, 0, sizeof(DRAWTEXTPARAMS));
m_dtp.cbSize = sizeof(DRAWTEXTPARAMS);
diff --git a/plugins/MirandaG15/src/LCDFramework/ConStream.cpp b/plugins/MirandaG15/src/LCDFramework/ConStream.cpp
index f3c4048c01..c534b3268d 100644
--- a/plugins/MirandaG15/src/LCDFramework/ConStream.cpp
+++ b/plugins/MirandaG15/src/LCDFramework/ConStream.cpp
Binary files differ