12345678910111213141516171819202122232425262728293031323334353637383940 |
- #pragma once
- #include <AuswahlBox.h>
- #include "EditorKlient.h"
- using namespace Framework;
- class RightTool : public Zeichnung
- {
- private:
- int ref;
- public:
- RightTool();
- virtual ~RightTool();
- virtual void renderDialogs( Bild &rObj );
- RightTool *getThis();
- RightTool *release();
- };
- class RightTools : public ZeichnungHintergrund
- {
- private:
- AuswahlBox *toolAuswahl;
- RCArray< RightTool > *tools;
- Punkt maxSize;
- int ref;
- public:
- RightTools( Schrift *zSchrift, Punkt maxSize );
- ~RightTools();
- void addTool( RightTool *tool, char *name );
- void doPublicMausEreignis( MausEreignis &me ) override;
- void doTastaturEreignis( TastaturEreignis &te ) override;
- bool tick( double tickVal ) override;
- void render( Bild &rObj ) override;
- void selectTool( int index );
- RightTools *getThis();
- RightTools *release();
- };
|