123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990 |
- #ifndef Fortschritt_H
- #define Fortschritt_H
- #include "Zeichnung.h"
- namespace Framework
- {
- class LRahmen;
- class AlphaFeld;
- class Bild;
- class Schrift;
- class FBalken;
- class FBalken : public ZeichnungHintergrund
- {
- public:
- class Style : public ZeichnungHintergrund::Style
- {
- public:
- const static __int64 Prozent = 0x001000;
- const static __int64 FRahmen = 0x002000;
- const static __int64 FFarbe = 0x004000;
- const static __int64 FBild = 0x008000;
- const static __int64 FAlpha = 0x10000;
- const static __int64 FBuffered = 0x20000;
- const static __int64 L_R = 0x0100000;
- const static __int64 R_L = 0x0200000;
- const static __int64 U_O = 0x0400000;
- const static __int64 O_U = 0x0800000;
- const static __int64 normal = Sichtbar | Rahmen | Hintergrund | HBild | FRahmen | FBild | L_R | Prozent;
- };
- private:
- __int64 maxAk;
- __int64 ak;
- LRahmen *fRahmen;
- AlphaFeld *fBuffer;
- int fBgF;
- Bild *fBgBild;
- Schrift *schrift;
- int schriftFarbe;
- unsigned char schriftGröße;
- int ref;
- public:
-
- __declspec( dllexport ) FBalken();
-
- __declspec( dllexport ) ~FBalken();
-
- __declspec( dllexport ) void setAktionAnzahl( __int64 ak );
- __declspec( dllexport ) void aktionPlus();
- __declspec( dllexport ) void aktionPlus( __int64 aktionen );
- __declspec( dllexport ) void reset();
- __declspec( dllexport ) void setFRahmenZ( LRahmen *ram );
- __declspec( dllexport ) void setFRFarbe( int f );
- __declspec( dllexport ) void setFRBreite( int br );
- __declspec( dllexport ) void setFAlphaFeldZ( AlphaFeld *af );
- __declspec( dllexport ) void setFAFFarbe( int f );
- __declspec( dllexport ) void setFAFStärke( int st );
- __declspec( dllexport ) void setFBgFarbe( int f );
- __declspec( dllexport ) void setFBgBildZ( Bild *b );
- __declspec( dllexport ) void setFBgBild( Bild *b );
- __declspec( dllexport ) void setSchriftZ( Schrift *b );
- __declspec( dllexport ) void setSFarbe( int f );
- __declspec( dllexport ) void setSGröße( unsigned char gr );
- __declspec( dllexport ) void render( Bild &zRObj ) override;
-
- __declspec( dllexport ) __int64 getAktionAnzahl() const;
- __declspec( dllexport ) double getProzent() const;
- __declspec( dllexport ) __int64 getAktion() const;
- __declspec( dllexport ) LRahmen *getFRahmen() const;
- __declspec( dllexport ) LRahmen *zFRahmen() const;
- __declspec( dllexport ) AlphaFeld *getFAlphaFeld() const;
- __declspec( dllexport ) AlphaFeld *zFAlphaFeld() const;
- __declspec( dllexport ) int getFBgFarbe() const;
- __declspec( dllexport ) Bild *getFBgBild() const;
- __declspec( dllexport ) Bild *zFBgBild() const;
- __declspec( dllexport ) Schrift *getSchrift() const;
- __declspec( dllexport ) Schrift *zSchrift() const;
- __declspec( dllexport ) int getSFarbe() const;
-
- __declspec( dllexport ) FBalken *getThis();
- __declspec( dllexport ) FBalken *release();
- };
- }
- #endif
|