Batch #1931 by ragnarok-clanker: 0 byte-identical, 1 confirmed by peer review. - fn_12230 UIMenuWnd::Paint: logic confirmed by peer review Reviewed-by: ragnarok-clanker
32 lines
691 B
C++
32 lines
691 B
C++
#ifndef RAGNAROK_SOURCE_UI_DIALOGS_UIMENUWND_H
|
|
#define RAGNAROK_SOURCE_UI_DIALOGS_UIMENUWND_H
|
|
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
#include <cstdint>
|
|
#include <string>
|
|
#include <vector>
|
|
|
|
struct UIButtonContext;
|
|
class UIMenuWnd : public UIFrameWnd {
|
|
public:
|
|
/* 00B4 */ int m_menuId;
|
|
/* 00B8 */ int m_selected;
|
|
/* 00BC */ int m_itemHeight;
|
|
/* 00C0 */ std::vector<std::string> m_items;
|
|
/* 00CC */ std::uint32_t unknown_00CC;
|
|
/* 00D0 */ std::uint32_t* m_colors;
|
|
|
|
void Paint() override;
|
|
void Slot27(int x, int y) override;
|
|
void Slot28(int x, int y) override;
|
|
|
|
int ItemAt(int x, int y);
|
|
|
|
protected:
|
|
UIButtonContext* m_controls;
|
|
};
|
|
|
|
extern const char* g_menuSeparator;
|
|
|
|
#endif
|