2025-08-07 19:28:25 +04:00
|
|
|
#ifndef UI_C_SIMPLE_MESSAGE_SCROLL_FRAME_HPP
|
|
|
|
|
#define UI_C_SIMPLE_MESSAGE_SCROLL_FRAME_HPP
|
|
|
|
|
|
|
|
|
|
#include "ui/CSimpleHyperlinkedFrame.hpp"
|
|
|
|
|
|
|
|
|
|
class CSimpleMessageScrollFrame : public CSimpleHyperlinkedFrame {
|
|
|
|
|
public:
|
2025-08-08 00:24:50 +04:00
|
|
|
// Static variables
|
|
|
|
|
static int32_t s_metatable;
|
|
|
|
|
static int32_t s_objectType;
|
|
|
|
|
|
|
|
|
|
// Static functions
|
|
|
|
|
static void CreateScriptMetaTable();
|
|
|
|
|
static int32_t GetObjectType();
|
|
|
|
|
static void RegisterScriptMethods(lua_State* L);
|
|
|
|
|
|
2025-08-07 19:28:25 +04:00
|
|
|
// Member functions
|
|
|
|
|
CSimpleMessageScrollFrame(CSimpleFrame* parent);
|
2025-08-08 00:24:50 +04:00
|
|
|
|
|
|
|
|
// Virtual member functions
|
|
|
|
|
virtual bool IsA(int32_t type);
|
|
|
|
|
virtual int32_t GetScriptMetaTable();
|
2025-08-12 00:47:58 +04:00
|
|
|
|
|
|
|
|
// Member variables
|
|
|
|
|
int32_t m_atTop = 0;
|
|
|
|
|
int32_t m_atBottom = 1;
|
2025-08-07 19:28:25 +04:00
|
|
|
};
|
|
|
|
|
|
|
|
|
|
#endif
|