desktop: cleanup, unify desktop elements as views (#12563)
This commit is contained in:
parent
834f019bab
commit
920353370b
105 changed files with 2636 additions and 2337 deletions
|
|
@ -3,6 +3,7 @@
|
|||
#include <string>
|
||||
#include <hyprcursor/hyprcursor.hpp>
|
||||
#include "../includes.hpp"
|
||||
#include "../desktop/view/WLSurface.hpp"
|
||||
#include "../helpers/math/Math.hpp"
|
||||
#include "../helpers/memory/Memory.hpp"
|
||||
#include "../macros.hpp"
|
||||
|
|
@ -10,8 +11,6 @@
|
|||
#include "managers/XCursorManager.hpp"
|
||||
#include <aquamarine/buffer/Buffer.hpp>
|
||||
|
||||
class CWLSurface;
|
||||
|
||||
AQUAMARINE_FORWARD(IBuffer);
|
||||
|
||||
class CCursorBuffer : public Aquamarine::IBuffer {
|
||||
|
|
@ -43,7 +42,7 @@ class CCursorManager {
|
|||
SP<Aquamarine::IBuffer> getCursorBuffer();
|
||||
|
||||
void setCursorFromName(const std::string& name);
|
||||
void setCursorSurface(SP<CWLSurface> surf, const Vector2D& hotspot);
|
||||
void setCursorSurface(SP<Desktop::View::CWLSurface> surf, const Vector2D& hotspot);
|
||||
void setCursorBuffer(SP<CCursorBuffer> buf, const Vector2D& hotspot, const float& scale);
|
||||
void setAnimationTimer(const int& frame, const int& delay);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue