Add a doxygen documentation.

This commit is contained in:
ArthurSonzogni
2020-08-09 14:53:56 +02:00
committed by Arthur Sonzogni
parent 5f15b2881e
commit 20b9a0f0f5
20 changed files with 936 additions and 525 deletions

View File

@@ -7,6 +7,7 @@
#include <codecvt>
#include <locale>
namespace ftxui {
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable : 4996) // codecvt_utf8_utf16 is deprecated
@@ -24,4 +25,6 @@ std::wstring to_wstring(const std::string& s) {
#ifdef _MSC_VER
#pragma warning(pop)
#endif
#endif
} // namespace ftxui

View File

@@ -67,6 +67,8 @@
#include "ftxui/screen/string.hpp"
namespace ftxui {
namespace {
struct interval {
int first;
@@ -303,3 +305,5 @@ int wstring_width_cjk(const std::wstring& text) {
}
return width;
}
} // namespace ftxui