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
|
|
@ -1,26 +1,30 @@
|
|||
#pragma once
|
||||
#include "../helpers/memory/Memory.hpp"
|
||||
|
||||
class CWorkspace;
|
||||
class CWindow;
|
||||
class CLayerSurface;
|
||||
class CMonitor;
|
||||
|
||||
namespace Desktop::View {
|
||||
class CWindow;
|
||||
class CLayerSurface;
|
||||
}
|
||||
|
||||
/* Shared pointer to a workspace */
|
||||
using PHLWORKSPACE = SP<CWorkspace>;
|
||||
/* Weak pointer to a workspace */
|
||||
using PHLWORKSPACEREF = WP<CWorkspace>;
|
||||
|
||||
/* Shared pointer to a window */
|
||||
using PHLWINDOW = SP<CWindow>;
|
||||
using PHLWINDOW = SP<Desktop::View::CWindow>;
|
||||
/* Weak pointer to a window */
|
||||
using PHLWINDOWREF = WP<CWindow>;
|
||||
using PHLWINDOWREF = WP<Desktop::View::CWindow>;
|
||||
|
||||
/* Shared pointer to a layer surface */
|
||||
using PHLLS = SP<CLayerSurface>;
|
||||
using PHLLS = SP<Desktop::View::CLayerSurface>;
|
||||
/* Weak pointer to a layer surface */
|
||||
using PHLLSREF = WP<CLayerSurface>;
|
||||
using PHLLSREF = WP<Desktop::View::CLayerSurface>;
|
||||
|
||||
/* Shared pointer to a monitor */
|
||||
using PHLMONITOR = SP<CMonitor>;
|
||||
/* Weak pointer to a monitor */
|
||||
using PHLMONITORREF = WP<CMonitor>;
|
||||
using PHLMONITORREF = WP<CMonitor>;
|
||||
Loading…
Add table
Add a link
Reference in a new issue