mirror of
https://github.com/geode-sdk/geode.git
synced 2024-12-11 00:21:14 -05:00
21 lines
581 B
C++
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
|
|
);
|
|
};
|
|
}
|