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

📄 movie_clips_ins.h.svn-base

📁 A Flash Player with ActionScript support. Write in C and C++. It have two part, one is Player and an
💻 SVN-BASE
字号:
#ifndef _MOVIE_CLIP_INS_H_#define _MOVIE_CLIP_INS_H_#include "base_types.h"#include "define.h"#include "movie_clips_def.h"#include "swf_file_pub.h"#include <glib.h>typedef struct mc_ins {    swf_file_t                  *swf_p;         // 对象的 holder    UI8                         ins_type;    struct DefineCharacter      *define_p;    UI16                        depth;    struct Matrix               matrix;      // 相对于父实例的位置变换    struct Matrix               ab_matrix;      // 相对于 _root 的位置变换    struct CxFormWithAlpha      cxform;    UI16                        clip_depth;    struct RECT                 boundary;       // 实例的四框.单位 twips.    UI8                         dirty;          // 是否需要重新渲染    STRING                      name_p;         // 实例名称    STRING			full_name_p;	// 实例全名    gboolean			visible;    void			*pic_p;		// cache 图片指针.    gboolean			pic_dirty;	// cache 图片脏位.    UI16                        next_frame;    UI16                        last_frame;		// 上次播放的桢    UI8                         state;#define MC_PLAY     1#define MC_STOP     2#define MC_TO_STOP   4	// 此桢脚本结束后就置为 STOP 状态    struct RECT			update_rect;    struct ActionBlock 		*actions_p;}mc_ins_t;void mc_ins_evolve(GNode* node_p);void mc_ins_change(GNode* node_p,struct PlaceObject *cmd_p);void mc_ins_update_children(GNode* node_p);void mc_ins_prev_frame(GNode* node_p);void mc_ins_next_frame(GNode* node_p);void mc_ins_play(GNode* node_p);void mc_ins_stop(GNode* node_p);void mc_ins_go_and_play(GNode* node_p,UI16 frame);void mc_ins_go_and_stop(GNode* node_p,UI16 frame);void mc_ins_duplicate(GNode* node_p,char* name_p,UI32 depth);void mc_ins_remove(GNode* node_p) ;long mc_ins_get_bytes_loaded(GNode* node_p) ;long mc_ins_get_bytes_total(GNode* node_p) ;void mc_ins_local_to_global(GNode* node_p,long *x_p, long *y_p) ;void mc_ins_global_to_local(GNode* node_p,long *x_p, long *y_p) ;gboolean mc_ins_hit_test(GNode* node_p,long x, long y) ;int mc_ins_label_find(GNode* node_p,char *label_p);void mc_ins_attach(GNode* node_p,UI16 c_id, char* name_p,UI32 depth);#endif

⌨️ 快捷键说明

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