12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970 |
- #pragma once
- #include <AuswahlBox.h>
- #include <Knopf.h>
- #include <KSGScript.h>
- #include <Rahmen.h>
- #include <Thread.h>
- using namespace Framework;
- using namespace KSGScript;
- class KEBVorschauKarteScript : public Thread
- {
- private:
- KSGScriptObj* fenster;
- Punkt pos;
- LRahmen* ram;
- HINSTANCE ksgs;
- Text pfad;
- bool erlaubt;
- bool sichtbar;
- unsigned char alpha;
- bool aktion;
- int ak;
- public:
- // Konstruktor
- KEBVorschauKarteScript(TextFeld* zLog);
- // Destruktor
- ~KEBVorschauKarteScript();
- // nicht constant
- void thread() override;
- void setErlaubt(bool e);
- void ladeKarteSeite(const char* pfad);
- void ksgsAktion(RCArray<KSGSVariable>* parameter, KSGSVariable** retVal);
- void doPublicMausEreignis(MausEreignis& me);
- void doTastaturEreignis(TastaturEreignis& te);
- bool tick(double zeit);
- void render(Bild& zRObj);
- };
- class KEBVorschau : public Zeichnung
- {
- private:
- KEBVorschauKarteScript* script;
- Knopf* neu;
- Knopf* beenden;
- TextFeld* log;
- KontrollKnopf* erlaubt;
- unsigned char alpha;
- bool sichtbar;
- double tickVal;
- int aktion;
- bool rend;
- public:
- // Konstruktor
- KEBVorschau();
- // Destruktor
- ~KEBVorschau();
- // nicht constant
- int getAktion();
- bool ladeKarte();
- void setSichtbar(bool sicht);
- void doPublicMausEreignis(MausEreignis& me);
- void doTastaturEreignis(TastaturEreignis& te);
- bool tick(double zeit);
- void render(Bild& zRObj);
- // constant
- bool istSichtbar() const;
- };
|