2022-08-01 11:18:03 -04:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
#include "BasedButtonSprite.hpp"
|
2022-10-13 07:00:41 -04:00
|
|
|
#include <Geode/binding/CCMenuItemToggler.hpp>
|
2022-08-01 11:18:03 -04:00
|
|
|
|
|
|
|
#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
|
|
|
|
);
|
|
|
|
};
|
2022-09-18 17:07:08 -04:00
|
|
|
}
|