| 178 | |
| 179 | |
| 180 | void IPauseOptionsComponent::Render() |
| 181 | { |
| 182 | |
| 183 | mElements.Draw( mpContext, LIST_TEXT_LEFT, LIST_TEXT_WIDTH, AT_CENTRE, BELOW_MENU_MIN ); |
| 184 | |
| 185 | CUIElement * element( mElements.GetSelectedElement() ); |
| 186 | if( element != NULL ) |
| 187 | { |
| 188 | const char * p_description( element->GetDescription() ); |
| 189 | |
| 190 | mpContext->DrawTextArea( DESCRIPTION_AREA_LEFT, |
| 191 | DESCRIPTION_AREA_TOP, |
| 192 | DESCRIPTION_AREA_RIGHT - DESCRIPTION_AREA_LEFT, |
| 193 | DESCRIPTION_AREA_BOTTOM - DESCRIPTION_AREA_TOP, |
| 194 | p_description, |
| 195 | DrawTextUtilities::TextWhite, |
| 196 | VA_BOTTOM ); |
| 197 | } |
| 198 | } |
| 199 | #ifdef DAEDALUS_DIALOGS |
| 200 | |
| 201 | void IPauseOptionsComponent::ExitConfirmation() |
no test coverage detected