geode/loader/include/Geode/ui/BasedButton.hpp

22 lines
581 B
C++
Raw Normal View History

#pragma once
#include "BasedButtonSprite.hpp"
2022-10-30 14:59:20 -04:00
#include <Geode/binding/CCMenuItemToggler.hpp>
#pragma warning(disable : 4275)
namespace geode {
class GEODE_DLL TabButton : public CCMenuItemToggler {
2022-10-30 14:59:20 -04:00
public:
static TabButton* create(
2022-10-30 14:59:20 -04:00
TabBaseColor unselected, TabBaseColor selected, char const* text,
cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback
);
2022-10-30 14:59:20 -04:00
static TabButton* create(
2022-10-30 14:59:20 -04:00
char const* text, cocos2d::CCObject* target, cocos2d::SEL_MenuHandler callback
);
};
}