diff options
author | George Hazan <ghazan@miranda.im> | 2021-12-26 15:58:40 +0300 |
---|---|---|
committer | George Hazan <ghazan@miranda.im> | 2021-12-26 15:58:40 +0300 |
commit | fcbb395dc7ff3edab972b6d4b27dbbfb3305f5d7 (patch) | |
tree | 8807aea6f2afce38b30ce60aa5ebf84a26992b73 /plugins/MirandaG15/src/LCDFramework/CLCDGfx.cpp | |
parent | af2958f2e82cb68392983da6f7f69fa3cd0c5276 (diff) |
PBYTE -> uint8_t*
Diffstat (limited to 'plugins/MirandaG15/src/LCDFramework/CLCDGfx.cpp')
-rw-r--r-- | plugins/MirandaG15/src/LCDFramework/CLCDGfx.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/MirandaG15/src/LCDFramework/CLCDGfx.cpp b/plugins/MirandaG15/src/LCDFramework/CLCDGfx.cpp index 7712cf1d36..241ddddd30 100644 --- a/plugins/MirandaG15/src/LCDFramework/CLCDGfx.cpp +++ b/plugins/MirandaG15/src/LCDFramework/CLCDGfx.cpp @@ -49,7 +49,7 @@ CLCDGfx::~CLCDGfx(void) //************************************************************************
// CLCDGfx::Initialize
//************************************************************************
-bool CLCDGfx::Initialize(int nWidth, int nHeight, int nBPP, PBYTE pLcdBitmapBits)
+bool CLCDGfx::Initialize(int nWidth, int nHeight, int nBPP, uint8_t *pLcdBitmapBits)
{
m_pLcdBitmapBits = pLcdBitmapBits;
@@ -365,8 +365,8 @@ void CLCDGfx::EndDraw(void) Cache();
}
- PBYTE pScreen1 = m_pSavedBitmapBits;
- PBYTE pScreen2 = m_pBitmapBits;
+ uint8_t *pScreen1 = m_pSavedBitmapBits;
+ uint8_t *pScreen2 = m_pBitmapBits;
DWORD dwTimeElapsed = GetTickCount() - m_dwTransitionStart;
@@ -550,7 +550,7 @@ HBITMAP CLCDGfx::GetHBITMAP(void) return m_hBitmap;
}
-int CLCDGfx::findNearestMatch(PBYTE targetArray, int iSourceIndex)
+int CLCDGfx::findNearestMatch(uint8_t *targetArray, int iSourceIndex)
{
int startY = iSourceIndex / m_nWidth;
int startX = iSourceIndex - (iSourceIndex / m_nWidth)*m_nWidth;
|