20#ifndef INCLUDED_VCL_ANIMATE_ANIMATION_HXX
21#define INCLUDED_VCL_ANIMATE_ANIMATION_HXX
28#define ANIMATION_TIMEOUT_ON_CLICK 2147483647L
55 bool IsTransparent()
const;
64 void SetLoopCount(
const sal_uInt32 nLoopCount);
65 void ResetLoopCount();
71 size_t Count()
const {
return maFrames.size(); }
81 bool ReduceColors(sal_uInt16 nNewColorCount);
85 void Adjust(
short nLuminancePercent,
short nContrastPercent,
short nChannelRPercent,
86 short nChannelGPercent,
short nChannelBPercent,
double fGamma = 1.0,
87 bool bInvert =
false);
100 std::vector<std::unique_ptr<AnimationFrame>>
maFrames;
113 SAL_DLLPRIVATE std::vector<std::unique_ptr<AnimationData>> CreateAnimationDataItems();
114 SAL_DLLPRIVATE
void PopulateRenderers();
115 SAL_DLLPRIVATE
void RenderNextFrameInAllRenderers();
116 SAL_DLLPRIVATE
void PruneMarkedRenderers();
117 SAL_DLLPRIVATE
bool IsAnyRendererActive();
119 SAL_DLLPRIVATE
void ImplRestartTimer(
sal_uLong nTimeout);
SvStream & ReadAnimation(SvStream &rIStm, Animation &rAnimation)
SvStream & WriteAnimation(SvStream &rOStm, const Animation &rAnimation)
sal_uInt64 BitmapChecksum
const BitmapEx & GetBitmapEx() const
SAL_DLLPRIVATE sal_uLong ImplGetCurPos() const
static SAL_DLLPRIVATE sal_uLong gAnimationRendererCount
static SAL_DLLPRIVATE void ImplIncAnimCount()
const Size & GetDisplaySizePixel() const
void SetBitmapEx(const BitmapEx &rBmpEx)
std::vector< std::unique_ptr< AnimationRenderer > > maRenderers
DECL_DLLPRIVATE_LINK(ImplTimeoutHdl, Timer *, void)
const Link< Animation *, void > & GetNotifyHdl() const
bool operator!=(const Animation &rAnimation) const
std::vector< std::unique_ptr< AnimationFrame > > & GetAnimationFrames()
sal_uInt32 GetLoopCount() const
void SetDisplaySizePixel(const Size &rSize)
static SAL_DLLPRIVATE void ImplDecAnimCount()
void SetNotifyHdl(const Link< Animation *, void > &rLink)
Link< Animation *, void > maNotifyLink
std::vector< std::unique_ptr< AnimationFrame > > maFrames
bool IsInAnimation() const
Some things multiple-inherit from VclAbstractDialog and OutputDevice, so we need to use virtual inher...
virtual void Insert(SotClipboardFormatId nFormat, const OUString &rFormatName) override
::std::size_t mnLoopCount
SVXCORE_DLLPUBLIC MSO_SPT Get(const OUString &)
void Clear(EHistoryType eHistory)
bool operator==(const ItalicMatrix &a, const ItalicMatrix &b)