Mercurial > mm7
diff GUI/UI/Books/CalendarBook.cpp @ 2573:0c67be4ec900
DrawTextureIndexed renamed to DrawTextureTransparentColorKey
Changing more class Texture to class Image.
author | a.parshin |
---|---|
date | Sat, 05 Mar 2016 16:25:53 +0200 |
parents | 87e5590d034b |
children | dd36326a9994 |
line wrap: on
line diff
--- a/GUI/UI/Books/CalendarBook.cpp Sat Mar 05 01:51:54 2016 +0200 +++ b/GUI/UI/Books/CalendarBook.cpp Sat Mar 05 16:25:53 2016 +0200 @@ -63,7 +63,7 @@ // ----- (00413CC6) -------------------------------------------------------- // void BookUI_Draw(WindowType book) --- part // { - pRenderer->DrawTextureIndexed(471, 445, pIcons_LOD->GetTexture(uExitCancelTextureId)); + pRenderer->DrawTextureAlphaNew(471/640.0f, 445/480.0f, ui_exit_cancel_button_background); // BookUI_Calendar_Draw(); // ----- (00413D6F) -------------------------------------------------------- @@ -87,7 +87,7 @@ 1, 1, 1, 1 }; - pRenderer->DrawTextureIndexed(pViewport->uViewportTL_X, pViewport->uViewportTL_Y, pSpellBookPagesTextr_13); + pRenderer->DrawTextureTransparentColorKey(pViewport->uViewportTL_X, pViewport->uViewportTL_Y, pSpellBookPagesTextr_13); pHour = pParty->uCurrentHour; if ((signed int)pHour >= 12) {