mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-30 03:15:38 -05:00
cdaa8ad6dc
resources, md4c; and fix up some minor formatting issues
24 lines
624 B
C++
24 lines
624 B
C++
#pragma once
|
|
|
|
#include "BasedButtonSprite.hpp"
|
|
|
|
#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
|
|
);
|
|
};
|
|
} // namespace geode
|