#include <functional>
#include <string>
#include <vector>
|
| namespace | rigkit::FontPicker |
| | Reusable font path + optional size control for Preferences / effect UIs.
|
|
|
std::vector< std::string > | rigkit::FontPicker::listInstalledFonts () |
| | Filenames (not full paths) found under the fonts data directory.
|
|
std::string | rigkit::FontPicker::resolveFontPath (const std::string &pathOrName) |
| | Resolve relative name against fonts dir, or return absolute path as-is.
|
| bool | rigkit::FontPicker::draw (const char *strId, std::string &path, float *sizePx, IMui *ui, std::function< void(std::string)> onBrowse=nullptr, float *weight=nullptr) |
| | Draw combo of installed fonts + Browse... (+ optional size / weight).
|
| bool | rigkit::FontPicker::bakeGlyphAtlas (const std::string &fontPathOrName, float sizePixels, const char *codepoints, unsigned &outTexture, int &outW, int &outH, std::vector< float > &outUVs) |
| | Bake a standalone glyph atlas (ImGui atlas builder to GL texture).
|