| 65 | } |
| 66 | |
| 67 | void Window_ActorStatus::DrawMinMax(int cx, int cy, int min, int max, int color) { |
| 68 | std::stringstream ss; |
| 69 | if (max >= 0) { |
| 70 | ss << min; |
| 71 | } else { |
| 72 | ss << actor.GetExpString(true); |
| 73 | } |
| 74 | contents->TextDraw(cx, cy, color, ss.str(), Text::AlignRight); |
| 75 | contents->TextDraw(cx, cy, Font::ColorDefault, "/"); |
| 76 | ss.str(""); |
| 77 | if (max >= 0) { |
| 78 | ss << max; |
| 79 | } else { |
| 80 | ss << actor.GetNextExpString(true); |
| 81 | } |
| 82 | contents->TextDraw(cx + 48, cy, Font::ColorDefault, ss.str(), Text::AlignRight); |
| 83 | } |
nothing calls this directly
no test coverage detected