00001 // 00002 // Copyright (c) 2000 by Tech Soft 3D, LLC. 00003 // The information contained herein is confidential and proprietary to 00004 // Tech Soft 3D, LLC., and considered a trade secret as defined under 00005 // civil and criminal statutes. Tech Soft 3D shall pursue its civil 00006 // and criminal remedies in the event of unauthorized use or misappropriation 00007 // of its trade secrets. Use of this information by anyone other than 00008 // authorized employees of Tech Soft 3D, LLC. is granted only under a 00009 // written non-disclosure agreement, expressly prescribing the scope and 00010 // manner of such use. 00011 // 00012 // $Id$ 00013 // 00014 00015 00016 #ifndef _HUTILITY_TEXT_LIST_H 00017 #define _HUTILITY_TEXT_LIST_H 00018 00019 #ifdef H_PACK_8 00020 #pragma pack(push) 00021 #pragma pack(8) 00022 #endif 00023 00024 #include "HTools.h" 00025 #include "hic_types.h" 00026 00041 class MVO_API HImHideOverlappedText 00042 { 00043 00044 public: 00045 00047 static void FilterOn(); 00048 00050 static void FilterOff(); 00051 00053 static bool IsFilterOn(); 00054 00056 static void RegisterCallbacks(); 00057 00058 private: 00059 /* private members are also doxygenated, as this class is also meant to serve as an example of IM usage. */ 00060 00067 static void defer_text(HIC_Rendition const *nr, HIC_Text_Info const *text_info); 00068 00075 static void update(HIC_Rendition const *nr, HIC_Segment_Info const *seg ); 00076 00077 static struct vlist_s * text_list; 00078 static struct vlist_s * annotation_list; 00079 static bool m_bFilterOn; 00080 00090 static void draw_text(HIC_Rendition const *nr ); 00091 00094 static void defer_annotation(HIC_Rendition const *nr, HIC_Segment_Info const * si); 00095 00096 }; 00097 00098 00099 #ifdef H_PACK_8 00100 #pragma pack(pop) 00101 #endif 00102 00103 #endif 00104 00105 00106 00107 00108 00109