Add color output to Windows 10 command prompt

This commit is contained in:
Joshua Granick
2017-09-22 14:45:11 -07:00
parent a6b88222ee
commit a4d232d715
5 changed files with 104 additions and 1 deletions

View File

@@ -32,12 +32,18 @@ namespace lime {
static std::wstring* GetIOSDirectory (SystemDirectory type);
static bool GetIOSTablet ();
#endif
#ifdef HX_WINDOWS
static int GetWindowsConsoleMode (int handleType);
#endif
static value GetDisplay (int id);
static int GetNumDisplays ();
static double GetTimer ();
static void OpenFile (const char* path);
static void OpenURL (const char* url, const char* target);
static bool SetAllowScreenTimeout (bool allow);
#ifdef HX_WINDOWS
static bool SetWindowsConsoleMode (int handleType, int mode);
#endif
};