Batch #16491 by eAthena: 24 byte-identical, 0 confirmed by peer review. - fn_13991 CUIAdventureGuide::Initialize: byte-identical - fn_14272 CUIAdventureGuide::CUIAdventureGuide: byte-identical (already on main) - fn_14752 CUIEnchantUI::Initialize: byte-identical - fn_14808 CreateEnchantUI: byte-identical (already on main) - fn_15033 CUIEquipmentPropertiesWnd::Initialize: byte-identical - fn_15151 CUIEquipmentPropertiesWnd::CUIEquipmentPropertiesWnd: byte-identical (already on main) - fn_15189 CUIExchangeUI::Initialize: byte-identical - fn_15282 CUIExchangeUI::CUIExchangeUI: byte-identical (already on main) - fn_15383 CUIGameSettingsUI::Initialize: byte-identical - fn_15888 CUIGameSettingsUI::CUIGameSettingsUI: byte-identical (already on main) - fn_16052 CUIMacroReport::Initialize: byte-identical - fn_16096 CUIMacroReport::CUIMacroReport: byte-identical (already on main) - fn_16116 CUIProbabilityTable::Initialize: byte-identical - fn_16191 CUIProbabilityTable::CUIProbabilityTable: byte-identical (already on main) - fn_16224 CUIOngoingQuestInfo::Initialize: byte-identical - fn_16290 CUIOngoingQuestInfo::CUIOngoingQuestInfo: byte-identical (already on main) - fn_16321 CUIRecommendedQuestInfo::Initialize: byte-identical - fn_16340 CUIRecommendedQuestInfo::CUIRecommendedQuestInfo: byte-identical (already on main) - fn_16432 CUIRenewQuestUI::Initialize: byte-identical - fn_16599 CUIRenewQuestUI::CUIRenewQuestUI: byte-identical (already on main) - fn_16661 CUISelectPackageItemBox::Initialize: byte-identical - fn_16772 CUISelectPackageItemBox::CUISelectPackageItemBox: byte-identical (already on main) - fn_16807 CUISkillDelayInfo::Initialize: byte-identical - fn_16872 CUISkillDelayInfo::CUISkillDelayInfo: byte-identical (already on main) Merged automatically: every function is byte-identical to the original.
37 lines
1.1 KiB
C++
37 lines
1.1 KiB
C++
#ifndef RAGNAROK_SOURCE_UI_FRAMESKIN_H
|
|
#define RAGNAROK_SOURCE_UI_FRAMESKIN_H
|
|
|
|
#include "Resource/SkinPalette.h"
|
|
#include "UI/Window/UIFrameWnd.h"
|
|
|
|
#include <cstdint>
|
|
|
|
class CUIFrameWnd : public UIFrameWnd {
|
|
friend class CUIRegisterMgr;
|
|
|
|
public:
|
|
// INLINED
|
|
CUIFrameWnd()
|
|
: UIFrameWnd(0), m_ownsBackgroundColor(false), m_ownsBorderColor(false), m_hasSkinColors(false),
|
|
m_backgroundColor(0xFFFFFF), m_borderColor(0xCECECE), m_backgroundCell{0, 0}, m_borderCell{3, 1}, m_buttonBarStyle(0), m_resolveSkin(true) {
|
|
}
|
|
|
|
~CUIFrameWnd() override;
|
|
void Paint() override;
|
|
virtual void Initialize() = 0;
|
|
void RefreshSkinColors();
|
|
void SetSkinColors(int backgroundColumn, int backgroundRow, int borderColumn, int borderRow);
|
|
|
|
protected:
|
|
/* 00B4 */ bool m_ownsBackgroundColor;
|
|
/* 00B5 */ bool m_ownsBorderColor;
|
|
/* 00B6 */ bool m_hasSkinColors;
|
|
/* 00B8 */ std::uint32_t m_backgroundColor;
|
|
/* 00BC */ std::uint32_t m_borderColor;
|
|
/* 00C0 */ SkinPaletteCell m_backgroundCell;
|
|
/* 00C8 */ SkinPaletteCell m_borderCell;
|
|
/* 00D0 */ int m_buttonBarStyle;
|
|
/* 00D4 */ bool m_resolveSkin;
|
|
};
|
|
|
|
#endif
|