Function paint_steady
fn paint_steady(
api: &dyn WindowsApi,
state: ClientState,
highlighted: bool,
palette: &ConsolePalette,
last: &mut Option<CONSOLE_CHARACTER_ATTRIBUTES>,
)Expand description
Repaint the console to the steady-state color for (state, highlighted).
§Arguments
api- The Windows API implementation to use.state- The client’s currentClientState.highlighted- Whether the client is the submenu’s highlighted target.palette- The available colors.last- Most recently painted color; updated in place.