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

# interface.h

Go to the documentation of this file.

    00001
    00002
    00003 //
    00004 //      INTERFACE.CPP                           (c)     YoY'99                                          WEB: www.aestesis.org
    00005 //
    00008 #ifndef                                                 _INTERFACE_H_
    00009 #define                                                 _INTERFACE_H_
    00012 #include                                                "types.h"
    00013 #include                                                "clipboard.h"
    00014 #include                                                "point.h"
    00015 #include                                                "rectangle.h"
    00016 #include                                                "node.h"
    00017 #include                                                "bitmap.h"
    00018 #include                                                "movie.h"
    00019 #include                                                "object.h"
    00020 #include                                                "window.h"
    00021 #include                                                "resources.h"
    00022 #include                                                "section.h"
    00023 #include                                                "font.h"
    00024 #include                                                "titlebar.h"
    00025 #include                                                "button.h"
    00026 #include                                                "display.h"
    00027 #include                                                "static.h"
    00028 #include                                                "edit.h"
    00029 #include                                                "segment.h"
    00030 #include                                                "flash.h"
    00031 #include                                                "menu.h"
    00032 #include                                                "list.h"
    00033 #include                                                "thread.h"
    00034 #include                                                "filedlg.h"
    00035 #include                                                "file.h"
    00036 #include                                                "filehd.h"
    00037 #include                                                "filemem.h"
    00038 #include                                                "plugz.h"
    00041
    00042 //      If you use directly the variables in the class API, it's at your own risks. Prefer the methods...
    00043
    00046
    00047 #define                                                 ELEKTRONIKA
    00048
    00051
    00052 ADLL extern class Aresource             alibres;                                                // todo : make this as shared by all prg that use the DLL
    00053 ADLL extern class Aresource             resource;
    00054
    00057
    00058 enum
    00059 {
    00060                                                                 fontROUND08=0,
    00061                                                                 fontROUND10,
    00062                                                                 fontROUND12,
    00063                                                                 fontROUND20,
    00064                                                                 fontTERMINAL06,
    00065                                                                 fontTERMINAL09,
    00066                                                                 fontTERMINAL12,
    00067                                                                 fontELEKTRO,
    00068                                                                 fontSEGMENT10,
    00069                                                                 fontCONFIDENTIAL14,
    00070                                                                 fontCONFIDENTIAL16,
    00071                                                                 fontCONFIDENTIAL20,
    00072                                                                 fontCONFIDENTIAL24,
    00073                                                                 fontCONFIDENTIAL36,
    00074                                                                 alibMAXFONTS
    00075 };
    00076
    00078
    00079 #define                                                 alibMAXCOLORS                                   1
    00080
    00082
    00083 class Alib
    00084 {
    00085 public:
    00086         float                                           mouseSensibility;
    00087         dword                                           colors[alibMAXCOLORS];
    00088
    00089         ADLL                                            Alib                                                    ();
    00090         ADLL virtual                            ~Alib                                                   ();
    00091
    00092         ADLL class Afont *                      getFont                                                 (int font);
    00093
    00094 private:
    00095         class Afont                                     *font[alibMAXFONTS];
    00096 };
    00097
    00098
    00101
    00102 enum
    00103 {
    00104         contextALIB                                     = 10000,
    00105         contextELEKTRO                          = 20000,
    00106         contextELEKTRONIKA                      = 30000,
    00107         contextAPP                                      = 40000,
    00108         contextPLUG                                     = 50000
    00109 };
    00110
    00113
    00114 ADLL extern class Alib                  alib;                                                   // todo: alib system information
    00115
    00118
    00119 ADLL void                                               initAlib                                                ();
    00120 ADLL int                                                runAlib                                                 ();
    00121 ADLL void                                               Aexit                                                   (int n);
    00122 ADLL void                                               freeAlib                                                ();
    00123
    00126
    00127 ADLL void                                               httpto                                                  (char *url);
    00128 ADLL void                                               mailto                                                  (char *email);
    00129
    00134
    00135 ADLL extern dword                               mainThreadID;                                   // internal
    00136
    00139 #endif                                                  //_INTERFACE_H_