mirror of
https://github.com/kotatogram/kotatogram-desktop
synced 2025-09-02 07:35:12 +00:00
Remove MOC for QtLottie.
This commit is contained in:
2
Telegram/ThirdParty/qtlottie
vendored
2
Telegram/ThirdParty/qtlottie
vendored
Submodule Telegram/ThirdParty/qtlottie updated: 4ca937ed0f...2fa825bfd9
@@ -66,8 +66,6 @@ public:
|
|||||||
|
|
||||||
virtual BMBase *clone(BMBase *parent) const;
|
virtual BMBase *clone(BMBase *parent) const;
|
||||||
|
|
||||||
virtual bool setProperty(BMLiteral::PropertyType propertyType, QVariant value);
|
|
||||||
|
|
||||||
QString name() const;
|
QString name() const;
|
||||||
|
|
||||||
int type() const;
|
int type() const;
|
||||||
|
@@ -62,28 +62,6 @@ Q_DECLARE_LOGGING_CATEGORY(lcLottieQtBodymovinUpdate);
|
|||||||
Q_DECLARE_LOGGING_CATEGORY(lcLottieQtBodymovinRender);
|
Q_DECLARE_LOGGING_CATEGORY(lcLottieQtBodymovinRender);
|
||||||
Q_DECLARE_LOGGING_CATEGORY(lcLottieQtBodymovinRenderThread);
|
Q_DECLARE_LOGGING_CATEGORY(lcLottieQtBodymovinRenderThread);
|
||||||
|
|
||||||
class BODYMOVIN_EXPORT BMLiteral : public QObject
|
|
||||||
{
|
|
||||||
Q_OBJECT
|
|
||||||
public:
|
|
||||||
enum ElementType {
|
|
||||||
Animation = 0,
|
|
||||||
LayerImage,
|
|
||||||
LayerNull,
|
|
||||||
LayerPrecomp,
|
|
||||||
LayerShape
|
|
||||||
};
|
|
||||||
|
|
||||||
enum PropertyType {
|
|
||||||
RectPosition,
|
|
||||||
RectSize,
|
|
||||||
RectRoundness
|
|
||||||
};
|
|
||||||
Q_ENUM(PropertyType)
|
|
||||||
|
|
||||||
explicit BMLiteral(QObject *parent = nullptr) : QObject(parent) {}
|
|
||||||
};
|
|
||||||
|
|
||||||
QT_END_NAMESPACE
|
QT_END_NAMESPACE
|
||||||
|
|
||||||
#endif // BMCONSTANTS_P_H
|
#endif // BMCONSTANTS_P_H
|
||||||
|
@@ -63,8 +63,6 @@ public:
|
|||||||
|
|
||||||
BMBase *clone(BMBase *parent) const override;
|
BMBase *clone(BMBase *parent) const override;
|
||||||
|
|
||||||
bool setProperty(BMLiteral::PropertyType propertyType, QVariant value) override;
|
|
||||||
|
|
||||||
void updateProperties(int frame) override;
|
void updateProperties(int frame) override;
|
||||||
void render(LottieRenderer &renderer, int frame) const override;
|
void render(LottieRenderer &renderer, int frame) const override;
|
||||||
bool acceptsTrim() const override;
|
bool acceptsTrim() const override;
|
||||||
|
@@ -8,12 +8,6 @@
|
|||||||
'includes': [
|
'includes': [
|
||||||
'common.gypi',
|
'common.gypi',
|
||||||
],
|
],
|
||||||
'variables': {
|
|
||||||
'variables': {
|
|
||||||
'moc_to_sources%': '1',
|
|
||||||
},
|
|
||||||
'moc_to_sources%': '<(moc_to_sources)',
|
|
||||||
},
|
|
||||||
'targets': [{
|
'targets': [{
|
||||||
'target_name': 'lib_lottie',
|
'target_name': 'lib_lottie',
|
||||||
'type': 'static_library',
|
'type': 'static_library',
|
||||||
@@ -21,7 +15,6 @@
|
|||||||
'common.gypi',
|
'common.gypi',
|
||||||
'openssl.gypi',
|
'openssl.gypi',
|
||||||
'qt.gypi',
|
'qt.gypi',
|
||||||
'qt_moc.gypi',
|
|
||||||
'telegram_linux.gypi',
|
'telegram_linux.gypi',
|
||||||
'pch.gypi',
|
'pch.gypi',
|
||||||
],
|
],
|
||||||
|
Reference in New Issue
Block a user