void DisplayFlag(int x, int y, const char *s, int on, int hilite) { TextGoto(x, y); if (hilite) { TextStringWithTable(s, tableFlamed); TextCharWithTable(':', tableFlamed); } else { TextString(s); TextChar(':'); } if (on) TextStringWithTable("On", tablePurple); else TextString("Off"); }
void DisplayText(int x, int y, const char *text, int hilite, int editable) { TextGoto(x, y); if (editable) { if (hilite) TextCharWithTable('\020', tableFlamed); else TextChar('\020'); } if (hilite && !editable) TextStringWithTable(text, tableFlamed); else TextString(text); if (editable) { if (hilite) TextCharWithTable('\021', tableFlamed); else TextChar('\021'); } }
void TextStringWithTableAt(int x, int y, const char *s, TranslationTable * table) { TextGoto(x, y); TextStringWithTable(s, table); }