geode/loader/include/Geode/ui/BasedButton.hpp
HJfod 98684a62e5 add touch dispatcher fix + move built-in settings' nodes to their own
internal header & source + regex match validation for string settings +
further work on settings UI now featuring a cooler reset button
2022-09-19 00:07:08 +03:00

24 lines
605 B
C++

#pragma once
#include "BasedButtonSprite.hpp"
#pragma warning(disable : 4275)
namespace geode {
class GEODE_DLL TabButton : public CCMenuItemToggler {
public:
static TabButton* create(
TabBaseColor unselected,
TabBaseColor selected,
const char* text,
cocos2d::CCObject* target,
cocos2d::SEL_MenuHandler callback
);
static TabButton* create(
const char* text,
cocos2d::CCObject* target,
cocos2d::SEL_MenuHandler callback
);
};
}