4#include <interface/scaret-i.h>
5#include <interface/sinterpolator-i.h>
6#include <interface/STimelineHandler-i.h>
7#include <sobject/Sobject.hpp>
51 STDMETHOD_(BOOL,
Init)(THIS_ HBITMAP hBmp,
int nWid,
int nHei) OVERRIDE;
60 STDMETHOD_(
void,
SetPosition)(THIS_
int x,
int y) OVERRIDE;
70 STDMETHOD_(BOOL,
SetVisible)(THIS_ BOOL bVisible, SWND owner) OVERRIDE;
78 STDMETHOD_(BOOL,
IsVisible)(THIS) SCONST OVERRIDE;
94 STDMETHOD_(RECT,
GetRect)(THIS) SCONST OVERRIDE;
Smart pointer class for managing COM-style reference-counted objects.
void Draw(IRenderTarget *pRT) OVERRIDE
Draws the caret.
SAutoRefPtr< IInterpolator > m_AniInterpolator
ISwndContainer * m_pContainer
SCaret(ISwndContainer *pContainer)
Constructor.
void OnNextFrame() OVERRIDE
Handles the next frame in the timeline.
BOOL SetVisible(BOOL bVisible, SWND owner) OVERRIDE
Sets the visibility of the caret.
SAutoRefPtr< IBitmapS > m_bmpCaret
BOOL IsVisible() SCONST OVERRIDE
Checks if the caret is visible.
void Invalidate()
Invalidates the caret area.
BOOL Init(HBITMAP hBmp, int nWid, int nHei) OVERRIDE
Initializes the caret.
RECT GetRect() SCONST OVERRIDE
Gets the rectangle of the caret.
void SetPosition(int x, int y) OVERRIDE
Sets the position of the caret.
Interface for rendering target objects.
SOUI Window Container Interface.