Defines | Functions | Variables

SpriteButtonEventsTest.c File Reference

#include "ming_utils.h"
#include <ming.h>
#include <stdio.h>
#include <stdlib.h>
Include dependency graph for SpriteButtonEventsTest.c:

Defines

#define OUTPUT_VERSION   6
#define OUTPUT_FILENAME   "SpriteButtonEventsTest.swf"

Functions

void add_event (SWFMovie mo, const char *name, const char *event, const char *action)
void add_code (SWFMovie mo, const char *code)
void add_text_field (SWFMovie mo, const char *name, const char *varname, const char *initial_label, int depth, int x, int y)
void set_text (SWFMovie mo, const char *text)
SWFDisplayItem add_square (SWFMovie mo, byte r, byte g, byte b, int depth)
SWFDisplayItem add_button (SWFMovie mo)
int main (int argc, char **argv)

Variables

SWFFont font

Define Documentation

#define OUTPUT_FILENAME   "SpriteButtonEventsTest.swf"

Referenced by main().

#define OUTPUT_VERSION   6

Referenced by main().


Function Documentation

SWFDisplayItem add_button ( SWFMovie  mo  ) 

References make_fill_square(), and newSWFAction.

void add_code ( SWFMovie  mo,
const char *  code 
)
void add_event ( SWFMovie  mo,
const char *  name,
const char *  event,
const char *  action 
)
SWFDisplayItem add_square ( SWFMovie  mo,
byte  r,
byte  g,
byte  b,
int  depth 
)

References make_fill_square().

void add_text_field ( SWFMovie  mo,
const char *  name,
const char *  varname,
const char *  initial_label,
int  depth,
int  x,
int  y 
)

References font.

int main ( int  argc,
char **  argv 
)
void set_text ( SWFMovie  mo,
const char *  text 
)

References add_code().


Variable Documentation

SWFFont font