Free Electron
DrawStringEntry.h
Go to the documentation of this file.
1 /* Copyright (C) 2003-2021 Free Electron Organization
2  Any use of this software requires a license. If a valid license
3  was not distributed with this file, visit freeelectron.org. */
4 
5 /** @file */
6 
7 #ifndef __dataui_DrawStringEntry_h__
8 #define __dataui_DrawStringEntry_h__
9 
10 #include <dataui/dataui.pmh>
11 
12 #include "viewer/DrawView.h"
13 namespace fe
14 {
15 namespace ext
16 {
17 
18 class FE_DL_EXPORT DrawStringEntry:
19  public Initialize<DrawStringEntry>,
20  virtual public HandlerI
21 {
22  public:
23  DrawStringEntry(void);
24 virtual ~DrawStringEntry(void);
25 
26  void initialize(void);
27 
28 virtual void handleBind( sp<SignalerI> spSignalerI,
29  sp<Layout> l_sig);
30 virtual void handle( Record &r_sig);
31 
32  private:
33  void drawBox(sp<DrawI> spDraw,
34  Real x1,Real y1,Real x2,Real y2,Real z,int state);
35 
36  sp<DrawMode> m_spNarrow;
37  sp<DrawMode> m_spWide;
38 
39  AsStringEntry m_asStringEntry;
40  DrawView m_drawview;
41 
42  Color m_color[6];
43 
44 };
45 
46 
47 } /* namespace ext */
48 } /* namespace fe */
49 
50 #endif /* __dataui_DrawStringEntry_h__ */
51 
kernel
Definition: namespace.dox:3