Mercurial > mm7
comparison UI/UiGame.cpp @ 2000:985fff9fb62d
constructor functions
author | zipi |
---|---|
date | Tue, 05 Nov 2013 21:55:52 +0000 |
parents | 5cd26f2c6904 |
children | 591024ad7269 |
comparison
equal
deleted
inserted
replaced
1999:079f2abf54e4 | 2000:985fff9fb62d |
---|---|
613 pButton->uY = (unsigned int)(v45 + v42); | 613 pButton->uY = (unsigned int)(v45 + v42); |
614 pTextHeight = pFontArrus->CalcTextHeight(pButton->pButtonName, &window, 0, 0); | 614 pTextHeight = pFontArrus->CalcTextHeight(pButton->pButtonName, &window, 0, 0); |
615 pButton->uHeight = pTextHeight; | 615 pButton->uHeight = pTextHeight; |
616 v42 = pButton->uY + pTextHeight - 1; | 616 v42 = pButton->uY + pTextHeight - 1; |
617 pButton->uW = v42; | 617 pButton->uW = v42; |
618 pTextColor = ui_game_dialogue_option_highlight_color; | 618 pTextColor = ui_game_dialogue_option_normal_color; |
619 if ( pDialogueWindow->pCurrentPosActiveItem != i ) | 619 if ( pDialogueWindow->pCurrentPosActiveItem == i ) |
620 pTextColor = ui_game_dialogue_option_normal_color; | 620 pTextColor = ui_game_dialogue_option_highlight_color; |
621 window.DrawTitleText(pFontArrus, 0, pButton->uY, pTextColor, pButton->pButtonName, 3); | 621 window.DrawTitleText(pFontArrus, 0, pButton->uY, pTextColor, pButton->pButtonName, 3); |
622 } | 622 } |
623 } | 623 } |
624 pRenderer->DrawTextureIndexed(471, 445, pIcons_LOD->GetTexture(uExitCancelTextureId)); | 624 pRenderer->DrawTextureIndexed(471, 445, pIcons_LOD->GetTexture(uExitCancelTextureId)); |
625 } | 625 } |