mirror of
https://github.com/hyprwm/hyprutils.git
synced 2025-05-12 21:30:36 +01:00
no using namespace in header
This commit is contained in:
parent
5c02bbe087
commit
e67026d344
1 changed files with 12 additions and 15 deletions
|
@ -8,9 +8,6 @@
|
|||
#include <unordered_map>
|
||||
#include <vector>
|
||||
|
||||
using namespace Hyprutils::Memory;
|
||||
using namespace Hyprutils::Math;
|
||||
|
||||
namespace Hyprutils {
|
||||
namespace Animation {
|
||||
/* A class for managing bezier curves and variables that are being animated. */
|
||||
|
@ -18,26 +15,26 @@ namespace Hyprutils {
|
|||
public:
|
||||
CAnimationManager();
|
||||
|
||||
void tickDone();
|
||||
bool shouldTickForNext();
|
||||
void tickDone();
|
||||
bool shouldTickForNext();
|
||||
|
||||
virtual void scheduleTick() = 0;
|
||||
virtual void onTicked() = 0;
|
||||
virtual void scheduleTick() = 0;
|
||||
virtual void onTicked() = 0;
|
||||
|
||||
void addBezierWithName(std::string, const Vector2D&, const Vector2D&);
|
||||
void removeAllBeziers();
|
||||
void addBezierWithName(std::string, const Math::Vector2D&, const Math::Vector2D&);
|
||||
void removeAllBeziers();
|
||||
|
||||
bool bezierExists(const std::string&);
|
||||
CSharedPointer<CBezierCurve> getBezier(const std::string&);
|
||||
bool bezierExists(const std::string&);
|
||||
Memory::CSharedPointer<CBezierCurve> getBezier(const std::string&);
|
||||
|
||||
std::unordered_map<std::string, CSharedPointer<CBezierCurve>> getAllBeziers();
|
||||
std::unordered_map<std::string, Memory::CSharedPointer<CBezierCurve>> getAllBeziers();
|
||||
|
||||
std::vector<CWeakPointer<CBaseAnimatedVariable>> m_vActiveAnimatedVariables;
|
||||
std::vector<Memory::CWeakPointer<CBaseAnimatedVariable>> m_vActiveAnimatedVariables;
|
||||
|
||||
private:
|
||||
std::unordered_map<std::string, CSharedPointer<CBezierCurve>> m_mBezierCurves;
|
||||
std::unordered_map<std::string, Memory::CSharedPointer<CBezierCurve>> m_mBezierCurves;
|
||||
|
||||
bool m_bTickScheduled = false;
|
||||
bool m_bTickScheduled = false;
|
||||
};
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue