mirror of
https://github.com/LNH-team/pico-launcher.git
synced 2026-06-02 09:06:54 +02:00
Add new shared pointer and make use of it
This commit is contained in:
@@ -5,7 +5,16 @@
|
||||
|
||||
class CoverFlowRecyclerView : public CoverFlowRecyclerViewBase
|
||||
{
|
||||
struct Private { explicit Private() = default; };
|
||||
|
||||
public:
|
||||
explicit CoverFlowRecyclerView(Private) { }
|
||||
|
||||
static SharedPtr<CoverFlowRecyclerView> CreateShared()
|
||||
{
|
||||
return SharedPtr<CoverFlowRecyclerView>::MakeShared(Private());
|
||||
}
|
||||
|
||||
void Update() override;
|
||||
void Draw(GraphicsContext& graphicsContext) override;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user