00001 #pragma once
00002
00003 class CConsole
00004 {
00005 public:
00006 enum EColor
00007 {
00008 BLACK = 0,
00009 DARK_BLUE = 1,
00010 DARK_GREEN = 2,
00011 DARK_CYAN = 3,
00012 DARK_RED = 4,
00013 DARK_MAGENTA = 5,
00014 DARK_YELLOW = 6,
00015 DARK_GRAY = 7,
00016 LIGHT_GRAY = 8,
00017 LIGHT_BLUE = 9,
00018 LIGHT_GREEN = 10,
00019 LIGHT_CYAN = 11,
00020 LIGHT_RED = 12,
00021 LIGHT_MAGENTA = 13,
00022 LIGHT_YELLOW = 14,
00023 WHITE = 15
00024 };
00025
00026 static void SetColor(EColor color);
00027 static void MoveCursorBeginLine();
00028 };