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

# transition.h

Go to the documentation of this file.

    00001
    00002
    00003 //
    00004 //      TRANSITION.H                            (c)     YoY'01                                          WEB: www.aestesis.org
    00005 //
    00008 #ifndef                                                 _TRANSITION_H_
    00009 #define                                                 _TRANSITION_H_
    00012 #include                                                "elektrodef.h"
    00015
    00016 //      If you use directly the variables in the class API, it's at your own risks. Prefer the methods...
    00017
    00020
    00021 #define                                                 guidTRANSITION                                  (Atransition::CI.guid)
    00022
    00025
    00026 #define                                                 transitionWIDTH                                 480
    00027 #define                                                 transitionHEIGHT                                80
    00028
    00031
    00032 class Atransition : public Aobject
    00033 {
    00034 public:
    00035         ELIBOBJ
    00036
    00037         EDLL                                            Atransition                                             (char *name, class Aobject *father, int x, int y);
    00038         EDLL virtual                            ~Atransition                                    ();
    00039
    00040         virtual bool                            action                                                  (Abitmap *out, Abitmap *in0, Abitmap *in1, float cross)                 { return TRUE; }
    00041
    00042         virtual void                            settings                                                ()                                                              { }
    00043
    00044         virtual bool                            save                                                    (Afile *f)                                              { return TRUE; }
    00045         virtual bool                            load                                                    (Afile *f)                                              { return TRUE; }
    00046 };
    00047
    00048
    00051
    00052 class AtransitionInfo : public Aplugz
    00053 {
    00054 public:
    00055         ELIBOBJ
    00056
    00057                                                                 AtransitionInfo                                 (char *name, ACI *eci, char *ename, char *ehelp);
    00058
    00059         EDLL virtual Atransition *      create                                                  (char *name, Aobject *father, int x, int y)=0;
    00060 };
    00061
    00063
    00064 __inline AtransitionInfo::AtransitionInfo(char *name, ACI *eci, char *ename, char *ehelp) : Aplugz(name, eci, ename, ehelp)
    00065 {
    00066 }
    00067
    00070 #endif                                                  //_TRANSITION_H