diff options
Diffstat (limited to 'plugins/MirandaG15/src/LCDFramework')
| -rw-r--r-- | plugins/MirandaG15/src/LCDFramework/CLCDInput.cpp | 13 | ||||
| -rw-r--r-- | plugins/MirandaG15/src/LCDFramework/CLCDLabel.cpp | 4 | ||||
| -rw-r--r-- | plugins/MirandaG15/src/LCDFramework/CLCDOutputManager.cpp | 10 | ||||
| -rw-r--r-- | plugins/MirandaG15/src/LCDFramework/CLCDTextObject.cpp | 4 | ||||
| -rw-r--r-- | plugins/MirandaG15/src/LCDFramework/ConStream.cpp | bin | 3625 -> 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 Binary files differindex f3c4048c01..c534b3268d 100644 --- a/plugins/MirandaG15/src/LCDFramework/ConStream.cpp +++ b/plugins/MirandaG15/src/LCDFramework/ConStream.cpp |
