36#ifndef __IFlashControl_H__
37#define __IFlashControl_H__
45struct IOleInPlaceObjectWindowless;
124 IFlashControl():site(0), handler(0), renderBuffer(0), flashInterface(0), oleObject(0), windowlessObject(0), mainContext(0), altContext(0), mainBitmap(0), altBitmap(0), mainBuffer(0), altBuffer(0) {}
150 virtual const std::string &
getName()
const = 0;
153 virtual void unbind(
const std::wstring& funcName) = 0;
160 virtual void move(
int deltaX,
int deltaY) = 0;
161 virtual void getExtents(
unsigned short &width,
unsigned short &height)
const = 0;
162 virtual void getUVScale(
float &uScale,
float &vScale)
const = 0;
virtual unsigned short getZOrder()=0
virtual void setScaleMode(short scaleMode)=0
virtual void setLoop(bool shouldLoop)=0
virtual void setIgnoreTransparentPixels(bool shouldIgnore, float threshold=0.04)=0
virtual void unbind(const std::wstring &funcName)=0
virtual void injectMouseMove(int xPos, int yPos, int btn)=0
virtual void injectMouseWheel(int relScroll, int xPos, int yPos)=0
virtual void invalidateTotally()=0
virtual bool isPointOverMe(int screenX, int screenY)=0
virtual void bind(const std::wstring &funcName, const FlashDelegate &callback)=0
virtual void move(int deltaX, int deltaY)=0
virtual FlashValue callFunction(const std::wstring &funcName, const Arguments &args=Args())=0
virtual const std::string & getMaterialName() const =0
virtual const std::string & getName() const =0
virtual void setDraggable(bool isDraggable)=0
Hikari::Impl::RenderBuffer * renderBuffer
virtual void load(const std::string &movieFilename, HikariManager *hikariMgr, int type)=0
virtual void injectMouseUp(int xPos, int yPos, int index)=0
virtual void injectMouseDown(int xPos, int yPos, int index)=0
virtual void setQuality(short renderQuality)=0
IOleInPlaceObjectWindowless * windowlessObject
virtual int getRelativeX(int absX)=0
virtual void getExtents(unsigned short &width, unsigned short &height) const =0
virtual void handleFlashCall(const std::wstring &xmlString)=0
virtual void setOpacity(float opacity)=0
ShockwaveFlashObjects::IShockwaveFlash * flashInterface
virtual void getUVScale(float &uScale, float &vScale) const =0
Hikari::Impl::FlashSite * site
virtual void setZOrder(unsigned short zorder)=0
virtual bool getVisibility() const =0
virtual int getRelativeY(int absY)=0
Hikari::Impl::FlashHandler * handler
virtual void gotoFrame(long frameNum)=0
virtual void handleKeyEvent(UINT msg, WPARAM wParam, LPARAM lParam)=0
virtual void setTransparent(bool isTransparent, bool useAlphaHack=false)=0
Impl::fastdelegate::FastDelegate2< IFlashControl *, const Arguments &, FlashValue > FlashDelegate
_HikariExport std::vector< FlashValue > Arguments