geode/loader/include/Geode/ui/BasedButton.hpp
2022-10-30 21:59:20 +03:00

21 lines
581 B
C++

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