Files
wowdecomp/Engine/Source/Frame/CSimpleFontStringAttributes.h
SatyandClaude Opus 5.5 34770ee7ab Frame: port Engine/Frame (waves 1-4), 1667 of 1669 functions
Core (CSimpleFrame + Lua, CSimpleTop/CFrameStrata/CSimpleRender/
CRenderBatch, CSimpleRegion/CBackdropGenerator/CScriptRegion), animation,
text (FontString/Font/Fontable), texture and model, buttons, EditBox,
MessageFrame/MessageScrollFrame, MovieFrame/ColorSelect/StatusBar,
Slider/ScrollFrame/HTML/HyperlinkedFrame, all Lua method tables and
RegisterScriptMethods. Layouts, vtables and sizes rebuilt from the
12340 ctors, vtables and allocator initializers; CScriptObject vtable
slots 5/6 fixed; CSimpleFontedFrame is a real secondary base. Lua error
paths return after luaL_error as in 12340 (209 sites; 5 fall through).
Binary quirks kept and documented in docs/.

Supporting additions: Event key/char/ime/focus/size event headers,
Scrn/Scrn.h (ScrnLayerCreate), DivxDecoder import declarations,
C2Vector/CRect helpers, CM2Light dtor, OsInputEnableSecureMode, stpl.h
instance addresses, FrameXML LoadXML_AnimGroup/Create_SimpleMovieFrame.
Engine->WoW includes where 12340 calls directly: CSimpleModelFFX,
StringToMouseButton, GetDeclinedWord, EmblemTextureUpdate.

Also drops stale VERIFY stamps found invalid by the harness recheck.

Co-Authored-By: Claude Opus 5.5 (1M context) <[email protected]>
2026-09-27 15:32:18 +02:00

37 lines
1.2 KiB
C++

#ifndef ENGINE_SOURCE_FRAME_CSIMPLEFONTSTRINGATTRIBUTES_H
#define ENGINE_SOURCE_FRAME_CSIMPLEFONTSTRINGATTRIBUTES_H
#include <cstddef>
#include <cstdint>
#include "Engine/Source/Base/RCString.h"
#include "Engine/Source/Frame/Types.h"
#include "Engine/Source/Tempest/C2Vector.h"
#include "Engine/Source/Tempest/CImVector.h"
class CSimpleFontString;
class CSimpleFontStringAttributes {
public:
/* 0000 */ uint32_t m_flags;
/* 0004 */ RCString m_font;
/* 0010 */ float m_fontHeight;
/* 0014 */ uint32_t m_fontFlags;
/* 0018 */ float m_spacing;
/* 001C */ uint32_t m_styleFlags;
/* 0020 */ CImVector m_color;
/* 0024 */ CImVector m_shadowColor;
/* 0028 */ C2Vector m_shadowOffset;
CSimpleFontStringAttributes();
CSimpleFontStringAttributes& operator=(const CSimpleFontStringAttributes& source);
int32_t SetFont(const char* fontName, float fontHeight, uint32_t fontFlags);
void SetJustifyH(uint8_t justify);
void SetJustifyV(uint8_t justify);
void SetShadow(const CImVector& color, const C2Vector& offset);
void SetShadowOffset(const C2Vector& offset);
void Update(CSimpleFontString* string, int32_t flags);
void Update(CSimpleFontStringAttributes& attributes, int32_t flags);
};
#endif