-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
c1550f1
commit 5d09208
Showing
27 changed files
with
52 additions
and
140 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,8 @@ | ||
#pragma once | ||
|
||
#ifndef __BLOCKMENU_HPP | ||
#define __BLOCKMENU_HPP | ||
|
||
#include "AlertDelegate.h" | ||
|
||
class CustomAlert : public AlertDelegate { | ||
public: | ||
static CustomAlert* create(float width, float height, std::string texture, std::string title); | ||
}; | ||
|
||
#endif | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
#pragma once | ||
|
||
#include <Geode/Geode.hpp> | ||
#include <Geode/modify/CCTextInputNode.hpp> | ||
#include "../Macros.h" | ||
|
||
class $modify(MyCCTextInputNode, CCTextInputNode){ | ||
|
||
/*void refreshLabel() { | ||
CCTextInputNode::refreshLabel(); | ||
if (m_placeholderLabel && m_placeholderLabel->getColor() == ccColor3B{120, 170, 240}) { | ||
m_placeholderLabel->setColor({0, 0, 0}); | ||
std::optional<ColorData> dataOpt = UIModding::get()->getColors("text-input-placeholder"); | ||
if(dataOpt.has_value()){ | ||
ColorData data = dataOpt.value(); | ||
//m_placeholderLabel->setColor(data.color); | ||
m_placeholderLabel->setOpacity(data.alpha); | ||
} | ||
} | ||
}*/ //todo find method I can hook to change this | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,27 @@ | ||
#pragma once | ||
|
||
#ifndef MYLEVELCELL_H | ||
#define MYLEVELCELL_H | ||
|
||
#include <Geode/Geode.hpp> | ||
#include <Geode/modify/LevelCell.hpp> | ||
#include <Geode/modify/LevelListCell.hpp> | ||
#include <Geode/modify/GJScoreCell.hpp> | ||
#include <Geode/modify/MapPackCell.hpp> | ||
#include <Geode/modify/AchievementCell.hpp> | ||
#include <Geode/modify/GJMessageCell.hpp> | ||
#include <Geode/modify/GJUserCell.hpp> | ||
|
||
#include "../Macros.h" | ||
|
||
using namespace geode::prelude; | ||
|
||
setCellColors(LevelCell, loadFromLevel, GJGameLevel); | ||
setCellColors(LevelListCell, loadFromList, GJLevelList); | ||
setCellColors(GJScoreCell, loadFromScore, GJUserScore); | ||
setCellColors(GJUserCell, loadFromScore, GJUserScore); | ||
|
||
#ifndef GEODE_IS_MACOS | ||
|
||
setCellColors(AchievementCell, loadFromDict, CCDictionary); | ||
setCellColors(GJMessageCell, loadFromMessage, GJUserMessage); | ||
setCellColors(MapPackCell, loadFromMapPack, GJMapPack); | ||
|
||
#endif | ||
|
||
#endif |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.