| 96 | } |
| 97 | |
| 98 | static inline void OutputLabelString(int &x, int &y, const char *text, const char *hotkey, const string &label, bool newline = false, |
| 99 | int left_margin = 0, int8_t text_color = COLOR_WHITE, int8_t hotkey_color = COLOR_LIGHTGREEN, bool map = false) |
| 100 | { |
| 101 | OutputString(hotkey_color, x, y, hotkey, false, 0, 0, map); |
| 102 | string display(": "); |
| 103 | display.append(text); |
| 104 | display.append(": "); |
| 105 | OutputString(text_color, x, y, display, false, 0, 0, map); |
| 106 | OutputString(hotkey_color, x, y, label, newline, left_margin, 0, map); |
| 107 | } |
| 108 | |
| 109 | static inline void OutputLabelString(int &x, int &y, const char *text, df::interface_key hotkey, const string &label, bool newline = false, |
| 110 | int left_margin = 0, int8_t text_color = COLOR_WHITE, int8_t hotkey_color = COLOR_LIGHTGREEN, bool map = false) |
nothing calls this directly
no test coverage detected