⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 gameswf_movie.h

📁 一个开源的Flash 播放器,可以在Windows/Linux 上运行
💻 H
字号:
#ifndef __MOVIE_H__#define __MOVIE_H__#include "gameswf_button.h"#include "gameswf_log.h"#include "gameswf_action.h"#include "gameswf_impl.h"namespace gameswf{  struct mcl {    int bytes_loaded;    int bytes_total;  };#if 0struct MovieClipLoader : public character{  MovieClipLoader(movie* parent, int id) :      character(parent, id)  {    log_msg("%s: \n", __FUNCTION__);  }#else  class MovieClipLoader  {#endif  public:    MovieClipLoader();  ~MovieClipLoader();  void load(const tu_string& filespec);    struct mcl *getProgress(as_object *ao);  bool loadClip(const tu_string& str, void *);  void unloadClip(void *);  void addListener(void *);  void removeListener(void *);  void	on_button_event(event_id event);  // Callbacks  void onLoadStart(void *);  void onLoadProgress(void *);  void onLoadInit(void *);  void onLoadComplete(void *);  void onLoadError(void *);  private:  bool          _started;  bool          _completed;  tu_string     _filespec;  int           _progress;  bool          _error;  struct mcl    _mcl;  mouse_state   _mouse_state;};struct moviecliploader_as_object : public gameswf::as_object{  MovieClipLoader mov_obj;};struct mcl_as_object : public gameswf::as_object{  struct mcl data;};void moviecliploader_loadclip(const fn_call& fn);void moviecliploader_unloadclip(const fn_call& fn);void moviecliploader_getprogress(const fn_call& fn);void moviecliploader_new(const fn_call& fn);void moviecliploader_onload_init(const fn_call& fn);void moviecliploader_onload_start(const fn_call& fn);void moviecliploader_onload_progress(const fn_call& fn);void moviecliploader_onload_complete(const fn_call& fn);void moviecliploader_onload_error(const fn_call& fn);void moviecliploader_default(const fn_call& fn);} // end of gameswf namespace// __MOVIE_H__#endif

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -