mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
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:
@@ -3,8 +3,6 @@
|
||||
|
||||
#include <functional>
|
||||
|
||||
#include <eepp/thirdparty/PlusCallback/callback.hpp>
|
||||
|
||||
#include <eepp/config.hpp>
|
||||
|
||||
#include <eepp/core/core.hpp>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -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();
|
||||
|
||||
|
||||
1981
include/eepp/thirdparty/PlusCallback/callback.hpp
vendored
1981
include/eepp/thirdparty/PlusCallback/callback.hpp
vendored
File diff suppressed because it is too large
Load Diff
@@ -94,7 +94,7 @@ class EE_API TextureAtlasEditor {
|
||||
|
||||
void update();
|
||||
|
||||
UIWidget* createTextureAtlasTextureRegionEditor( std::string name );
|
||||
UIWidget* createTextureAtlasTextureRegionEditor();
|
||||
};
|
||||
|
||||
}}} // namespace EE::UI::Tools
|
||||
|
||||
Reference in New Issue
Block a user