different improvements
This commit is contained in:
22
openVulkanoCpp/Host/SystemFontResolver.hpp
Normal file
22
openVulkanoCpp/Host/SystemFontResolver.hpp
Normal file
@@ -0,0 +1,22 @@
|
||||
/*
|
||||
* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at https://mozilla.org/MPL/2.0/.
|
||||
*/
|
||||
|
||||
#pragma once
|
||||
|
||||
#include <string>
|
||||
#include <map>
|
||||
|
||||
namespace OpenVulkano
|
||||
{
|
||||
class SystemFontResolver
|
||||
{
|
||||
public:
|
||||
static std::string GetSystemFontPath(const std::string& fontName);
|
||||
|
||||
private:
|
||||
static std::map<std::string, std::string> ReadSystemFonts();
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user