mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-26 09:27:57 -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
|
|
);
|
|
};
|
|
}
|