Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

flash.h

Go to the documentation of this file.
00001 
00002 
00003 //
00004 //      FLASH.H                                         (c)     YoY'00                                          WEB: www.aestesis.org
00005 //
00008 #ifndef                                                 _FLASH_H_
00009 #define                                                 _FLASH_H_
00012 #include                                                <stdio.h>
00013 #include                                                "types.h"
00014 #include                                                "surface.h"
00017 
00018 //      If you use directly the variables in the class API, it's at your own risks. Prefer the methods...   
00019 
00022 
00023 #define                                                 guidFLASH                                               (Aflash::CI.guid)
00024 
00027 
00028 class Aflash : public Asurface
00029 {
00030 public:
00031         ADLL static ACI                         CI;
00032         virtual ACI                                     *getCI                                                  ()                                              { return &CI; }
00033 
00034         ADLL                                            Aflash                                                  (char *name, Aobject *l, int x, int y, int w, int h);
00035         ADLL virtual                            ~Aflash                                                 ();
00036 
00037         ADLL void                                       play                                                    (char *filename);
00038         ADLL void                                       play                                                    (class Aresobj *o);
00039         ADLL void                                       pulse                                                   ();
00040 
00041         ADLL bool                                       mouse                                                   (int x, int y, int state, int event);
00042         ADLL bool                                       keyboard                                                (int event, int ascii, int scan);
00043 
00044         virtual void                            command                                                 (char *cmd, char *args)         { }
00045         virtual void                            varChange                                               (char *name, char *value)       { }
00046         ADLL class AflashVars *         getVars                                                 ();
00047         
00048         // private
00049 
00050         class NativePlayerWnd           *pw;
00051 
00052         int                                                     cursorTimeInterval;
00053         int                                                     cursorTime;
00054 };
00055 
00058 
00059 class AflashVars
00060 {
00061 public:
00062         char                                            name[256];
00063         char                                            value[256];
00064 };
00065 
00068 #endif                                                  //_FLASH_H_

Generated on Tue Nov 20 10:21:25 2001 for elektronika plugz SDK by doxygen1.2.11.1 written by Dimitri van Heesch, © 1997-2001