| 80 | } |
| 81 | |
| 82 | static inline void OutputHotkeyString(int &x, int &y, const char *text, const char *hotkey, bool newline = false, |
| 83 | int left_margin = 0, int8_t text_color = COLOR_WHITE, int8_t hotkey_color = COLOR_LIGHTGREEN, bool map = false) |
| 84 | { |
| 85 | OutputString(hotkey_color, x, y, hotkey, false, 0, 0, map); |
| 86 | string display(": "); |
| 87 | display.append(text); |
| 88 | OutputString(text_color, x, y, display, newline, left_margin, 0, map); |
| 89 | } |
| 90 | |
| 91 | static inline void OutputHotkeyString(int &x, int &y, const char *text, df::interface_key hotkey, |
| 92 | bool newline = false, int left_margin = 0, int8_t text_color = COLOR_WHITE, int8_t hotkey_color = COLOR_LIGHTGREEN, |
no test coverage detected