Files
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

52 lines
1.6 KiB
C++

#ifndef ENGINE_SOURCE_FRAME_CSIMPLECHECKBOX_H
#define ENGINE_SOURCE_FRAME_CSIMPLECHECKBOX_H
#include <cstddef>
#include <cstdint>
#include "Engine/Source/Base/CDataAllocator.h"
#include "Engine/Source/Frame/CSimpleButton.h"
class CSimpleFrame;
class CSimpleRegion;
class CSimpleTexture;
class CStatus;
class XMLNode;
struct lua_State;
class CSimpleCheckbox : public CSimpleButton {
public:
static CDataAllocator s_allocator;
static int32_t s_metatable;
static int32_t s_objectType;
static const char* s_objectTypeName;
static void operator delete(void* ptr);
static void CreateScriptMetaTable();
static void DestroyScriptMetaTable();
static int32_t GetObjectType();
static void RegisterScriptMethods(lua_State* L);
/* 02F8 */ int32_t m_checked;
/* 02FC */ CSimpleTexture* m_checkedTexture;
/* 0300 */ CSimpleTexture* m_disabledCheckedTexture;
virtual ~CSimpleCheckbox();
virtual int32_t GetScriptMetaTable();
virtual bool IsA(int32_t type);
virtual bool IsA(const char* typeName);
virtual const char* GetObjectTypeName();
virtual void UnregisterRegion(CSimpleRegion* region);
virtual void LoadXML(XMLNode* node, CStatus* status);
virtual void Enable(int32_t enabled);
virtual void OnClick(const char* btn, int32_t down);
CSimpleCheckbox(CSimpleFrame* parent);
void SetChecked(int32_t checked, int32_t force);
int32_t SetCheckedTexture(const char* fileName);
void SetCheckedTexture(CSimpleTexture* texture);
int32_t SetDisabledCheckedTexture(const char* fileName);
void SetDisabledCheckedTexture(CSimpleTexture* texture);
};
#endif