add support of multi-language under Linux(#439)

also fix the font style issue under Linux
This commit is contained in:
Jinhao
2019-06-01 03:15:59 +08:00
parent 742cde9779
commit f57e824431
6 changed files with 514 additions and 26 deletions

View File

@@ -183,6 +183,13 @@ namespace API
};
}//end namespace detail
///Sets languages
/**
* Specifies the languages in order to make the program display multi-languages correctly
* Under Windows, the pragram can display multi-languages correctly, so this function is useless for Windows.
*/
void font_languages(const std::string& langs);
void exit(); ///< close all windows in current thread
void exit_all(); ///< close all windows