eepp: Removed PlusCallback dependency.

ecode: Added the possibility to search and replace by replacing captures from Lua Pattern, for example, searching for: "function (%w+)%(%)" and replacing for "fn $1()" will replace the function declaration from "function (functionName)()" to "fn (functionName)()". The feature was used to remove the PlusCallback dependency =).
This commit is contained in:
Martín Lucas Golini
2024-02-21 01:04:44 -03:00
parent 2718194acc
commit f9513d3857
34 changed files with 319 additions and 2209 deletions

View File

@@ -3,8 +3,6 @@
#include <functional>
#include <eepp/thirdparty/PlusCallback/callback.hpp>
#include <eepp/config.hpp>
#include <eepp/core/core.hpp>

View File

@@ -5,6 +5,5 @@
#include <eepp/core/debug.hpp>
#include <eepp/core/memorymanager.hpp>
#include <eepp/core/string.hpp>
#include <eepp/core/utf.hpp>
#endif

View File

@@ -40,7 +40,7 @@ enum class ParticleEffect : Uint32 {
/** @brief Basic but powerfull Particle System */
class EE_API ParticleSystem {
public:
typedef cb::Callback2<void, Particle*, ParticleSystem*> ParticleCallback;
typedef std::function<void( Particle*, ParticleSystem* )> ParticleCallback;
ParticleSystem();

File diff suppressed because it is too large Load Diff

View File

@@ -94,7 +94,7 @@ class EE_API TextureAtlasEditor {
void update();
UIWidget* createTextureAtlasTextureRegionEditor( std::string name );
UIWidget* createTextureAtlasTextureRegionEditor();
};
}}} // namespace EE::UI::Tools