1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
|
#ifndef Fireworks_Core_FWEventAnnotation_h
#define Fireworks_Core_FWEventAnnotation_h
#include "TGLAnnotation.h"
class FWConfiguration;
namespace fwlite {
class Event;
}
class FWEventAnnotation : public TGLAnnotation {
public:
FWEventAnnotation(TGLViewerBase* view);
~FWEventAnnotation() override;
void Render(TGLRnrCtx& rnrCtx) override;
//configuration management interface
virtual void addTo(FWConfiguration&) const;
virtual void setFrom(const FWConfiguration&);
void setLevel(long x);
void setEvent();
FWEventAnnotation(const FWEventAnnotation&) = delete; // stop default
const FWEventAnnotation& operator=(const FWEventAnnotation&) = delete; // stop default
private:
void updateOverlayText();
int m_level;
};
#endif
|