Annotation of researchv9/jerq/src/lib/pot/pot.pub, revision 1.1

1.1     ! root        1: #ifndef        defont
        !             2: #include       <CC/jerq.h>
        !             3: #endif
        !             4: 
        !             5: class Rulepot;
        !             6: class Bmappot;
        !             7: class Globepot;
        !             8: 
        !             9: class Pot
        !            10: {
        !            11:        char pub_filler[16];
        !            12: public:
        !            13:        Pot(Rectangle, short, short);
        !            14:        short val;
        !            15:        char *help;
        !            16:        virtual void draw();
        !            17:        virtual void resize(Rectangle);
        !            18:        virtual void mod(int);
        !            19: };
        !            20: extern Pot *base;
        !            21: extern void prval(Point, short);
        !            22: extern int hitpot(int);
        !            23: extern void drawpot(), reshapepot(Rectangle, Rectangle);
        !            24: extern void helppot(int);
        !            25: extern Rectangle rcenter(Rectangle, Rectangle);
        !            26: 
        !            27: #define                P_MASK          0xFF
        !            28: #define                P_STYLE         0x3
        !            29: #define                        P_VERT          0x0
        !            30: #define                        P_HORIZ         0x1
        !            31: #define                        P_CIRC          0x2
        !            32: #define                P_TICKS         0x4
        !            33: 
        !            34: class Rulepot : public Pot
        !            35: {
        !            36:        char pub_filler[16];
        !            37: public:
        !            38:        Rulepot(Rectangle, short, short, short=0);
        !            39:        Rulepot(Rectangle, short, short, Point, char *, short=0);
        !            40:        Rulepot(Rectangle, short, short, Point, short=0);
        !            41:        Rulepot(Rectangle, short, short, Point, Point, char *, short=0);
        !            42:        setval(short);
        !            43:        void draw();
        !            44:        void resize(Rectangle);
        !            45:        void mod(int);
        !            46: };
        !            47: 
        !            48: 
        !            49: class Bmappot : public Pot
        !            50: {
        !            51:        char pub_filler[20];
        !            52: public:
        !            53:        Bmappot(Rectangle, short, short=0);
        !            54:        Bmappot(Rectangle, short, Point, char *, short=0);
        !            55:        void item(Point, char *, Texture32 *);
        !            56:        void item(Point, char *, Bitmap *);
        !            57:        setval(short);
        !            58:        void draw();
        !            59:        void resize(Rectangle);
        !            60:        void mod(int);
        !            61: };
        !            62: 
        !            63: class Globepot : public Pot
        !            64: {
        !            65:        char pub_filler[24];
        !            66: public:
        !            67:        Globepot(Rectangle, short, short, short);
        !            68:        Globepot(Rectangle, short, short, short, Point, char *);
        !            69:        Globepot(Rectangle, short, short, short, Point);
        !            70:        Globepot(Rectangle, short, short, short, Point, Point, char *);
        !            71:        void setval(short, short);
        !            72:        short w;
        !            73:        short front;
        !            74:        void draw();
        !            75:        void resize(Rectangle);
        !            76:        void mod(int);
        !            77: };
        !            78: 

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.