mirror of
https://github.com/brues-code/ClassicAPI.git
synced 2026-11-16 16:10:36 +00:00
feat(fontstring): add GetFontHeight and SetFontHeight
FontString and Font get retail's pair. The getters push the height through the same engine calls as GetFont, so they equal its second value. The setters call the engine's own SetFont with the current file and flags. Also map the Font method registry to SimpleFontAPI so Font methods show in the API browser.
This commit is contained in:
@@ -162,6 +162,7 @@ const WidgetSystem kWidgetSystems[] = {
|
||||
{Offsets::VAR_FRAME_METHOD_REGISTRY, "SimpleFrameAPI"},
|
||||
{Offsets::VAR_TEXTURE_METHOD_REGISTRY, "SimpleTextureAPI"},
|
||||
{Offsets::VAR_FONTSTRING_METHOD_REGISTRY, "SimpleFontStringAPI"},
|
||||
{Offsets::VAR_FONT_METHOD_REGISTRY, "SimpleFontAPI"},
|
||||
{Offsets::VAR_EDITBOX_METHOD_REGISTRY, "SimpleEditBoxAPI"},
|
||||
{Offsets::VAR_MODEL_METHOD_REGISTRY, "SimpleModelAPI"},
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user