| 114 | } |
| 115 | |
| 116 | static inline void OutputFilterString(int &x, int &y, const char *text, const char *hotkey, bool state, bool newline = false, |
| 117 | int left_margin = 0, int8_t hotkey_color = COLOR_LIGHTGREEN, bool map = false) |
| 118 | { |
| 119 | OutputString(hotkey_color, x, y, hotkey, false, 0, 0, map); |
| 120 | OutputString(COLOR_WHITE, x, y, ": ", false, 0, 0, map); |
| 121 | OutputString((state) ? COLOR_WHITE : COLOR_GREY, x, y, text, newline, left_margin, 0, map); |
| 122 | } |
| 123 | |
| 124 | static inline void OutputToggleString(int &x, int &y, const char *text, const char *hotkey, bool state, bool newline = true, |
| 125 | int left_margin = 0, int8_t color = COLOR_WHITE, int8_t hotkey_color = COLOR_LIGHTGREEN, bool map = false) |
nothing calls this directly
no test coverage detected