Batch #10194 by ragnarok-clanker: forced by an admin (9 lower score(s), 35 changed function(s)); checked with 35 compiled unit(s), including every includer of Source/UI/Lists/UIComboBoxDefWnd.h, Source/UI/Lists/UIComboBoxEx.h, Source/UI/Lists/UIItemStoreComboBox.h, Source/UI/Party/UIAdvenPartyBoardWnd.h, Source/UI/Party/UIRegisterPartyWnd.h, Source/UI/UIReputeWnd.h, Source/UI/Window/UINavigationWnd.h, Source/UI/Window/UISecondCostumeWnd.h, Source/UI/Window/UISeekPartyListWnd.h, Source/UI/Window/UISeekPartyMBWnd.h.
43 lines
1.2 KiB
C++
43 lines
1.2 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_LISTS_UICOMBOBOXEX_H
|
|
#define RAGNAROK_SOURCE_UI_LISTS_UICOMBOBOXEX_H
|
|
|
|
#include "UI/Lists/UIListBoxEx.h"
|
|
|
|
class UIComboBoxEx : public UIListBoxEx {
|
|
public:
|
|
UIComboBoxEx(UIWindowContext& windows);
|
|
~UIComboBoxEx() override;
|
|
void Resize(int width, int height) override;
|
|
void Slot15(int width, int height) override;
|
|
void Paint() override;
|
|
void Slot25(int x, int y) override;
|
|
void Slot26(int x, int y) override;
|
|
void Slot27(int x, int y) override;
|
|
void Slot31(int x, int y) override;
|
|
int SendMsg(UIWindow* sender, int message, std::intptr_t a, std::intptr_t b, std::intptr_t c, std::intptr_t d) override;
|
|
void Configure(int x, int y, int width, int height, unsigned char transparent) override;
|
|
void Refresh() override;
|
|
|
|
/* 00C0 */ int targetId;
|
|
|
|
protected:
|
|
void DrawRows(bool centered);
|
|
};
|
|
|
|
class UIComboBoxEx2 : public UIComboBoxEx {
|
|
public:
|
|
UIComboBoxEx2(UIWindowContext& windows);
|
|
~UIComboBoxEx2() override;
|
|
void Resize(int width, int height) override;
|
|
void Slot15(int width, int height) override;
|
|
void Paint() override;
|
|
|
|
/* 00C4 */ int alignment;
|
|
};
|
|
|
|
#if defined(_WIN32) && !defined(_WIN64)
|
|
static_assert(sizeof(UIComboBoxEx) == 204);
|
|
static_assert(sizeof(UIComboBoxEx2) == 208);
|
|
#endif
|
|
|
|
#endif
|