some stuff for rgb color input

This commit is contained in:
matcool 2023-09-17 14:41:27 -03:00
parent 1ab86bd5c1
commit 19b0f72634
2 changed files with 16 additions and 9 deletions

View file

@ -1165,14 +1165,21 @@ class cocos2d::extension::CCControl {
auto isSelected() = mac 0x1a7ec0;
}
[[link(win, android)]]
class cocos2d::extension::CCControlColourPicker {
[[link(win)]]
CCControlColourPicker() {}
[[link(win)]]
~CCControlColourPicker() = mac 0x1aae30;
[[link(win, android)]]
auto setColorValue(cocos2d::_ccColor3B const&) = mac 0x1aac10;
[[link(win)]]
auto ccTouchBegan(cocos2d::CCTouch*, cocos2d::CCEvent*) = mac 0x1aae10;
[[link(win)]]
auto init() = mac 0x1aa400;
[[link(win)]]
static auto colourPicker() = mac 0x1aaa30;
[[link(win)]]
cocos2d::ccColor3B const& getColorValue() const {
return m_rgb;
}

View file

@ -909,14 +909,14 @@ class ColorSelectPopup : FLAlertLayer, cocos2d::extension::ColorPickerDelegate,
int m_copyChannelID;
bool m_copyOpacity;
ConfigureHSVWidget* m_hsvWidget;
PAD = win 0x10, mac 0x10;
PAD = win 0x10, mac 0x10, android 0x10;
cocos2d::CCArray* m_unk254;
cocos2d::CCArray* m_unk258;
CCTextInputNode* m_textInput2;
PAD = win 0x4, mac 0x8;
PAD = win 0x4, mac 0x8, android 0x4;
CCMenuItemToggler* m_toggler3;
CCMenuItemToggler* m_toggler4;
PAD = win 0x8, mac 0x10;
PAD = win 0x8, mac 0x10, android 0x8;
cocos2d::CCArray* m_unk274;
bool m_spawnTrigger;
bool m_multiTrigger;
@ -5592,10 +5592,10 @@ class SetupPulsePopup : FLAlertLayer, cocos2d::extension::ColorPickerDelegate, T
cocos2d::extension::CCControlColourPicker* m_colorPicker;
PAD = win 0x30, mac 0x60;
PAD = win 0x30, mac 0x60, android 0x30;
cocos2d::CCSprite* m_currentColorSpr;
cocos2d::CCSprite* m_prevColorSpr;
PAD = win 0x64, mac 0xac;
PAD = win 0x64, mac 0xac, android 0x64;
int m_pulseMode; // 0x38c on mac
}