Skip to content

Commit

Permalink
some stuff for rgb color input
Browse files Browse the repository at this point in the history
  • Loading branch information
matcool committed Sep 17, 2023
1 parent 1ab86bd commit 19b0f72
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 9 deletions.
15 changes: 11 additions & 4 deletions bindings/Cocos2d.bro
Original file line number Diff line number Diff line change
Expand Up @@ -1165,16 +1165,23 @@ class cocos2d::extension::CCControl {
auto isSelected() = mac 0x1a7ec0;
}

[[link(win, android)]]

class cocos2d::extension::CCControlColourPicker {
CCControlColourPicker() {}
[[link(win)]]
CCControlColourPicker() {}
[[link(win)]]
~CCControlColourPicker() = mac 0x1aae30;
auto setColorValue(cocos2d::_ccColor3B const&) = mac 0x1aac10;
[[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;
return m_rgb;
}

}
Expand Down
10 changes: 5 additions & 5 deletions bindings/GeometryDash.bro
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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
}

Expand Down

0 comments on commit 19b0f72

Please sign in to comment.