mirror of
https://github.com/ciphervance/supercell-wx.git
synced 2025-10-30 20:20:06 +00:00
Refactoring fontconfig from Resource Manager to Font Manager
This commit is contained in:
parent
190bd95781
commit
c807188b2b
5 changed files with 206 additions and 183 deletions
|
|
@ -1,4 +1,5 @@
|
|||
#include <scwx/qt/manager/placefile_manager.hpp>
|
||||
#include <scwx/qt/manager/font_manager.hpp>
|
||||
#include <scwx/qt/manager/resource_manager.hpp>
|
||||
#include <scwx/qt/main/application.hpp>
|
||||
#include <scwx/qt/util/json.hpp>
|
||||
|
|
@ -706,7 +707,7 @@ void PlacefileManager::Impl::LoadFontResources(
|
|||
styles.push_back("italic");
|
||||
}
|
||||
|
||||
ResourceManager::LoadFontResource(font.second->face_, styles, size);
|
||||
FontManager::Instance().GetImGuiFont(font.second->face_, styles, size);
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue