Mercurial > mm7
comparison GUI/GUIProgressBar.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 | d87bfbd3bb3b |
children | a76d408c5132 |
comparison
equal
deleted
inserted
replaced
2572:d87bfbd3bb3b | 2573:0c67be4ec900 |
---|---|
164 { | 164 { |
165 if (pBardata.paletted_pixels) | 165 if (pBardata.paletted_pixels) |
166 { | 166 { |
167 pRenderer->Sub01(); | 167 pRenderer->Sub01(); |
168 | 168 |
169 pRenderer->DrawTextureIndexed(80, 122, &pBardata);//прогрессбар для данжей | 169 pRenderer->DrawTextureTransparentColorKey(80, 122, &pBardata);//прогрессбар для данжей |
170 pRenderer->DrawTextureIndexedAlpha(100, 146, &pIcons_LOD->pTextures[pIconsFrameTable->GetFrame(uIconID_TurnHour, 0)->uTextureID]); | 170 pRenderer->DrawTextureIndexedAlpha(100, 146, &pIcons_LOD->pTextures[pIconsFrameTable->GetFrame(uIconID_TurnHour, 0)->uTextureID]); |
171 //pRenderer->FillRectFast(174, 164, floorf(((double)(113 * uProgressCurrent) / (double)uProgressMax) + 0.5f),//COERCE_UNSIGNED_INT64(v4 + 6.7553994e15), | 171 //pRenderer->FillRectFast(174, 164, floorf(((double)(113 * uProgressCurrent) / (double)uProgressMax) + 0.5f),//COERCE_UNSIGNED_INT64(v4 + 6.7553994e15), |
172 //16, pRenderer->uTargetRMask); | 172 //16, pRenderer->uTargetRMask); |
173 pRenderer->FillRectFast(174, 164, floorf(((double)(113 * uProgressCurrent) / (double)uProgressMax) + 0.5f),//COERCE_UNSIGNED_INT64(v4 + 6.7553994e15), | 173 pRenderer->FillRectFast(174, 164, floorf(((double)(113 * uProgressCurrent) / (double)uProgressMax) + 0.5f),//COERCE_UNSIGNED_INT64(v4 + 6.7553994e15), |
174 16, 0xF800); | 174 16, 0xF800); |