Mercurial > mm7
comparison 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 |
comparison
equal
deleted
inserted
replaced
2572:d87bfbd3bb3b | 2573:0c67be4ec900 |
---|---|
61 // } | 61 // } |
62 | 62 |
63 // ----- (00413CC6) -------------------------------------------------------- | 63 // ----- (00413CC6) -------------------------------------------------------- |
64 // void BookUI_Draw(WindowType book) --- part | 64 // void BookUI_Draw(WindowType book) --- part |
65 // { | 65 // { |
66 pRenderer->DrawTextureIndexed(471, 445, pIcons_LOD->GetTexture(uExitCancelTextureId)); | 66 pRenderer->DrawTextureAlphaNew(471/640.0f, 445/480.0f, ui_exit_cancel_button_background); |
67 // BookUI_Calendar_Draw(); | 67 // BookUI_Calendar_Draw(); |
68 | 68 |
69 // ----- (00413D6F) -------------------------------------------------------- | 69 // ----- (00413D6F) -------------------------------------------------------- |
70 // void BookUI_Calendar_Draw() | 70 // void BookUI_Calendar_Draw() |
71 // { | 71 // { |
85 3, 3, 3, 3, | 85 3, 3, 3, 3, |
86 2, 2, 2, | 86 2, 2, 2, |
87 1, 1, 1, 1 | 87 1, 1, 1, 1 |
88 }; | 88 }; |
89 | 89 |
90 pRenderer->DrawTextureIndexed(pViewport->uViewportTL_X, pViewport->uViewportTL_Y, pSpellBookPagesTextr_13); | 90 pRenderer->DrawTextureTransparentColorKey(pViewport->uViewportTL_X, pViewport->uViewportTL_Y, pSpellBookPagesTextr_13); |
91 pHour = pParty->uCurrentHour; | 91 pHour = pParty->uCurrentHour; |
92 if ((signed int)pHour >= 12) | 92 if ((signed int)pHour >= 12) |
93 { | 93 { |
94 pHour -= 12; | 94 pHour -= 12; |
95 if (!pHour) | 95 if (!pHour) |