| 220 | } |
| 221 | |
| 222 | void MapSelectApp::Menu::draw() { |
| 223 | static const JUTColor gray(0x80, 0x80, 0x80, 0x80); |
| 224 | static const JUTColor white(0xff, 0xff, 0xff, 0xff); |
| 225 | |
| 226 | System::getJ2DOrtho()->setPort(); |
| 227 | J2DPrint *print = System::getJ2DPrint(); |
| 228 | print->initiate(); |
| 229 | |
| 230 | if (mMapType == 0) { |
| 231 | print->setCharColor(gray); |
| 232 | print->setGradColor(gray); |
| 233 | } |
| 234 | else { |
| 235 | print->setCharColor(white); |
| 236 | print->setGradColor(white); |
| 237 | } |
| 238 | |
| 239 | print->print(mX, mY, mCrsName); |
| 240 | if (mMapType == 2) { |
| 241 | print->print(mX - 30, mY, "=>"); |
| 242 | } |
| 243 | } |
| 244 | |
| 245 | bool MapSelectApp::Menu::move(Direction direction) { |
| 246 | // fabricated return, but size matches this way |
nothing calls this directly
no test coverage detected