swf_file_pub.h.svn-base

来自「A Flash Player with ActionScript support」· SVN-BASE 代码 · 共 67 行

SVN-BASE
67
字号
#ifndef _SWF_FILE_H_#define _SWF_FILE_H_#include <inttypes.h>#include <pthread.h>#include <glib.h>#include "base_types.h"#include "define.h"#include "player_pub.h"#include "changed.h"#include "xwin_event.h"//#include "render_mask.h"struct asset {    struct asset	*next_p;    char		*name_p;    UI16		id;};struct Dict {    int 			count;    struct asset		*assets_p;    struct DefineCharacter*     dict[1];};typedef struct swf_file {    player_t		*holder_p;    // swf 文件头部分    UI8			compressed;    UI8         	version;    UI32        	file_length;    struct RECT 	frame_size;    UI16        	frame_rate;    UI16        	frame_count;    // 字典    struct Dict 	*dict_p;    pthread_mutex_t     dict_mutex;    // 节点树    GNode		*_root_p;    // 拆分器    struct spliter	*spliter_p;    int			handle;    struct changed	*changed_p;    struct MaskEntry	*mask_stack_p;    struct RGB		BackgroundColor;    struct JPEGTable 	*JPEGTableP;    UI16		next_ins_name_num;	// 下一个系统分配实例名的号码    STRING		focused_name;		// 有输入焦点的节点名.    GData		*dvar_list_p;		// DTX 中变量的链表}swf_file_t;swf_file_t* swf_new(player_t *player_p);int swf_sym_to_char_id(swf_file_t *swf_p,char* name_p);		//由 symbol (asset) 查 char idvoid swf_first_pass(GNode *node_p);void swf_second_pass(GNode *node_p);void swf_init_root(swf_file_t *swf_p);void swf_destory(swf_file_t *self_p);#endif

⌨️ 快捷键说明

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