123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132 |
- #ifndef Fortschritt_H
- #define Fortschritt_H
- #include "Zeichnung.h"
- namespace Framework
- {
- class Rahmen;
- class AlphaFeld;
- class Bild;
- class Schrift;
- class FBalken;
- class TextRenderer;
-
- class FBalken : public ZeichnungHintergrund
- {
- public:
- class Style : public ZeichnungHintergrund::Style
- {
- public:
- const static __int64 Prozent = 0x001000;
- const static __int64 Aktionen = 0x01000000;
- 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 | Aktionen;
- };
- private:
- __int64 maxAk;
- __int64 ak;
- Rahmen *fRahmen;
- AlphaFeld *fBuffer;
- int fBgF;
- Bild *fBgBild;
- TextRenderer *textRd;
- int schriftFarbe;
- unsigned char schriftSize;
- public:
-
- DLLEXPORT FBalken();
-
- DLLEXPORT virtual ~FBalken();
-
-
- DLLEXPORT void setAktionAnzahl( __int64 ak );
-
-
- DLLEXPORT void aktionPlus( __int64 aktionen = 1 );
-
- DLLEXPORT void reset();
-
-
- DLLEXPORT void setFRahmenZ( Rahmen *ram );
-
-
- DLLEXPORT void setFRFarbe( int f );
-
-
- DLLEXPORT void setFRBreite( int br );
-
-
- DLLEXPORT void setFAlphaFeldZ( AlphaFeld *af );
-
-
- DLLEXPORT void setFAFFarbe( int f );
-
-
- DLLEXPORT void setFAFStrength( int st );
-
-
- DLLEXPORT void setFBgFarbe( int f );
-
-
- DLLEXPORT void setFBgBildZ( Bild *b );
-
-
- DLLEXPORT void setFBgBild( Bild *b );
-
-
- DLLEXPORT void setTextRendererZ( TextRenderer *textRd );
-
- DLLEXPORT void setSchriftZ( Schrift *b );
-
-
- DLLEXPORT void setSFarbe( int f );
-
-
- DLLEXPORT void setSSize( unsigned char gr );
-
-
- DLLEXPORT void render( Bild &zRObj ) override;
-
- DLLEXPORT __int64 getAktionAnzahl() const;
-
- DLLEXPORT double getProzent() const;
-
- DLLEXPORT __int64 getAktion() const;
-
- DLLEXPORT Rahmen *getFRahmen() const;
-
- DLLEXPORT Rahmen *zFRahmen() const;
-
- DLLEXPORT AlphaFeld *getFAlphaFeld() const;
-
- DLLEXPORT AlphaFeld *zFAlphaFeld() const;
-
- DLLEXPORT int getFBgFarbe() const;
-
- DLLEXPORT Bild *getFBgBild() const;
-
- DLLEXPORT Bild *zFBgBild() const;
-
- DLLEXPORT Schrift *getSchrift() const;
-
- DLLEXPORT Schrift *zSchrift() const;
-
- DLLEXPORT int getSFarbe() const;
- };
- }
- #endif
|