comparison Framework/StoneEnumerations.h @ 393:e7a494bdd956

removed Messages/MessageType.h
author Sebastien Jodogne <s.jodogne@gmail.com>
date Fri, 09 Nov 2018 18:30:30 +0100
parents a7de01c8fd29
children 5f13809f3f76
comparison
equal deleted inserted replaced
392:d87fe075d31b 393:e7a494bdd956
113 BitmapAnchor_TopLeft, 113 BitmapAnchor_TopLeft,
114 BitmapAnchor_TopCenter, 114 BitmapAnchor_TopCenter,
115 BitmapAnchor_TopRight 115 BitmapAnchor_TopRight
116 }; 116 };
117 117
118 enum MessageType
119 {
120 MessageType_Widget_GeometryChanged,
121 MessageType_Widget_ContentChanged,
122
123 MessageType_LayerSource_GeometryReady, // instance tags have been loaded
124 MessageType_LayerSource_GeometryError,
125 MessageType_LayerSource_ContentChanged,
126 MessageType_LayerSource_SliceChanged,
127 MessageType_LayerSource_ImageReady, // instance pixels data have been loaded
128 MessageType_LayerSource_LayerReady, // layer is ready to be rendered
129 MessageType_LayerSource_LayerError,
130
131 MessageType_SliceLoader_GeometryReady,
132 MessageType_SliceLoader_GeometryError,
133 MessageType_SliceLoader_ImageReady,
134 MessageType_SliceLoader_ImageError,
135
136 MessageType_HttpRequestSuccess,
137 MessageType_HttpRequestError,
138
139 MessageType_OrthancApi_InternalGetJsonResponseReady,
140 MessageType_OrthancApi_InternalGetJsonResponseError,
141
142 MessageType_OrthancApi_GenericGetJson_Ready,
143 MessageType_OrthancApi_GenericGetBinary_Ready,
144 MessageType_OrthancApi_GenericHttpError_Ready,
145 MessageType_OrthancApi_GenericEmptyResponse_Ready,
146
147 MessageType_ViewportChanged,
148
149 // used in unit tests only
150 MessageType_Test1,
151 MessageType_Test2,
152
153 MessageType_CustomMessage // Custom messages ids ust be greater than this (this one must remain in last position)
154 };
155
156
118 bool StringToSopClassUid(SopClassUid& result, 157 bool StringToSopClassUid(SopClassUid& result,
119 const std::string& source); 158 const std::string& source);
120 159
121 void ComputeWindowing(float& targetCenter, 160 void ComputeWindowing(float& targetCenter,
122 float& targetWidth, 161 float& targetWidth,