Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
Alphalaneous committed Nov 19, 2024
1 parent 71bfa09 commit 7cac1f5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
1 change: 0 additions & 1 deletion src/ui/hooks/CCMenuItemSpriteExtra.h
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,4 @@
CCMenuItemSpriteExtra::activate();
}
}
};*/
2 changes: 1 addition & 1 deletion src/ui/layers/settings/GameplaySettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ bool GameplaySettings::init(MCOptionsOuterLayer* topLayer, CCLayer* prevLayer) {
{163, "Quick Keys"}
};

//CCLayer* content = Utils/::convertMoreOptionsLayer(values);
//CCLayer* content = Utils::convertMoreOptionsLayer(values);

//scrollLayer->addContent(content);
addChild(scrollLayer);
Expand Down
8 changes: 4 additions & 4 deletions src/ui/nodes/MCButtonChild.h
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@

using namespace geode::prelude;

class MCButtonChild : public CCMenuItemSprite
class MCButtonChild : public CCMenuItemSpriteExtra
{
public:
CCSprite* edgeTexture;
static MCButtonChild* create(gd::string text, float width, CCObject* target, SEL_MenuHandler selector);
void update(float dt);
void onHover();
void onHoverExit();
void selected();
void unselected();
void activate();
//void selected();
//void unselected();
//void activate();
void doClick();
void setInvisible();
void setVisibleFade();
Expand Down

0 comments on commit 7cac1f5

Please sign in to comment.