Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
46 lines (35 sloc) 848 Bytes
#pragma once
#include <bdn/ui/View.h>
#include <bdn/ui/ViewUtilities.h>
namespace bdn::ui::lottie
{
namespace detail
{
VIEW_CORE_REGISTRY_DECLARATION(View)
}
class View : public ui::View
{
public:
Property<String> url;
Property<bool> running;
Property<bool> loop;
public:
View(std::shared_ptr<ViewCoreFactory> viewCoreFactory = nullptr);
~View() override = default;
public:
void loadURL(const String &url);
protected:
void bindViewCore() override;
public:
class Core
{
public:
virtual ~Core() = default;
public:
Property<bool> running;
Property<bool> loop;
public:
virtual void loadURL(const String &url) = 0;
};
};
}
You can’t perform that action at this time.