HImHideOverlappedText.h
1 // Copyright (c) Tech Soft 3D, Inc.
2 //
3 // The information contained herein is confidential and proprietary to Tech Soft 3D, Inc.,
4 // and considered a trade secret as defined under civil and criminal statutes.
5 // Tech Soft 3D, Inc. shall pursue its civil and criminal remedies in the event of
6 // unauthorized use or misappropriation of its trade secrets. Use of this information
7 // by anyone other than authorized employees of Tech Soft 3D, Inc. is granted only under
8 // a written non-disclosure agreement, expressly prescribing the scope and manner of such use.
9 
10 #ifndef _HUTILITY_TEXT_LIST_H
11 #define _HUTILITY_TEXT_LIST_H
12 
13 #ifdef H_PACK_8
14 #pragma pack(push)
15 #pragma pack(8)
16 #endif
17 
18 #include "HTools.h"
19 #include "hic_types.h"
20 
35 class MVO_API HImHideOverlappedText
36 {
37 
38 public:
39 
41  static void FilterOn();
42 
44  static void FilterOff();
45 
47  static bool IsFilterOn();
48 
50  static void RegisterCallbacks();
51 
52 private:
53  /* private members are also doxygenated, as this class is also meant to serve as an example of IM usage. */
54 
61  static void defer_text(HIC_Rendition const *nr, HIC_Text_Info const *text_info);
62 
69  static void update(HIC_Rendition const *nr, HIC_Segment_Info const *seg );
70 
71  static struct vlist_s * text_list;
72  static struct vlist_s * annotation_list;
73  static bool m_bFilterOn;
74 
84  static void draw_text(HIC_Rendition const *nr );
85 
88  static void defer_annotation(HIC_Rendition const *nr, HIC_Segment_Info const * si);
89 
90 };
91 
92 
93 #ifdef H_PACK_8
94 #pragma pack(pop)
95 #endif
96 
97 #endif
98 
99 
100 
101 
102 
103 
Definition: HImHideOverlappedText.h:35