mirror of
https://github.com/wiiu-env/ftpiiu_plugin.git
synced 2024-11-30 00:24:15 +01:00
Increase Switch font size to 24
This commit is contained in:
parent
1b089068c2
commit
e4a63e8710
@ -82,7 +82,6 @@ void FtpServer::draw ()
|
||||
#else
|
||||
ImGui::SetNextWindowSize (ImVec2 (width, height));
|
||||
#endif
|
||||
ImGui::SetNextWindowFocus ();
|
||||
ImGui::Begin (STATUS_STRING,
|
||||
nullptr,
|
||||
ImGuiWindowFlags_NoCollapse | ImGuiWindowFlags_NoMove | ImGuiWindowFlags_NoResize);
|
||||
|
@ -308,7 +308,11 @@ void FtpSession::draw ()
|
||||
{
|
||||
auto const lock = std::scoped_lock (m_lock);
|
||||
|
||||
ImGui::BeginChild (m_windowName.c_str (), ImVec2 (0.0f, 50.0f), true);
|
||||
#ifdef _3DS
|
||||
ImGui::BeginChild (m_windowName.c_str (), ImVec2 (0.0f, 45.0f), true);
|
||||
#else
|
||||
ImGui::BeginChild (m_windowName.c_str (), ImVec2 (0.0f, 80.0f), true);
|
||||
#endif
|
||||
|
||||
if (!m_workItem.empty ())
|
||||
ImGui::TextUnformatted (m_workItem.c_str ());
|
||||
|
@ -1456,7 +1456,7 @@ bool loadFontAtlas ()
|
||||
config.FontDataSize = 0;
|
||||
config.FontDataOwnedByAtlas = true;
|
||||
config.FontNo = 0;
|
||||
config.SizePixels = 14.0f;
|
||||
config.SizePixels = 24.0f;
|
||||
config.OversampleH = 3;
|
||||
config.OversampleV = 1;
|
||||
config.PixelSnapH = false;
|
||||
@ -1621,7 +1621,7 @@ bool imgui::nx::init ()
|
||||
config.FontDataOwnedByAtlas = false;
|
||||
for (auto const &font : fonts)
|
||||
{
|
||||
io.Fonts->AddFontFromMemoryTTF (font.address, font.size, 14.0f, &config, nxFontRanges);
|
||||
io.Fonts->AddFontFromMemoryTTF (font.address, font.size, 24.0f, &config, nxFontRanges);
|
||||
config.MergeMode = true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user