17#ifndef TOOLS_CVT_MONITOR_SCREEN_H_
18#define TOOLS_CVT_MONITOR_SCREEN_H_
25#define CTRL(c) ((c)&0x1F)
49 void Stop(
void) { canRun_ =
false; }
51 int Width(
void)
const;
58 void AddStr(
int x,
int y,
const char* str)
const;
59 void AddStr(
const char* str)
const;
65 current_render_obj_ = render_obj;
74 int SwitchState(
int ch);
75 void HighlightLine(
int line_no);
77 void ShowInteractiveCmd(
int ch);
78 void ShowRenderMessage(
int ch);
80 bool IsInit(
void)
const;
82 enum class State { RenderMessage, RenderInterCmdInfo };
87 int highlight_direction_;
void MoveOffsetXY(int offsetX, int offsetY) const
void AddStr(int x, int y, ColorPair color, const char *str) const
ColorPair Color(void) const
void SetCurrentRenderMessage(RenderableMessage *const render_obj)
static const char InteractiveCmdStr[]
void SetCurrentColor(ColorPair color) const
void ClearCurrentColor(void) const
static Screen * Instance(void)