Mercurial > hg > orthanc-stone
diff Framework/Radiography/RadiographyTextLayer.h @ 1196:a5f2a6b04a31
RadiographyScene: windowing is now only applied to the Dicom layer
author | Alain Mazy <alain@mazy.be> |
---|---|
date | Wed, 27 Nov 2019 17:51:33 +0100 |
parents | c6a36ecd641d |
children | 54cbffabdc45 ab958fd99b07 |
line wrap: on
line diff
--- a/Framework/Radiography/RadiographyTextLayer.h Tue Nov 26 16:32:29 2019 +0100 +++ b/Framework/Radiography/RadiographyTextLayer.h Wed Nov 27 17:51:33 2019 +0100 @@ -31,7 +31,7 @@ { private: std::string text_; - size_t fontSize_; + unsigned int fontSize_; uint8_t foreground_; static bool fontHasBeenConfigured_; @@ -42,14 +42,14 @@ { } - void LoadText(const std::string& utf8, size_t fontSize, uint8_t foreground); + void LoadText(const std::string& utf8, unsigned int fontSize, uint8_t foreground); const std::string& GetText() const { return text_; } - size_t GetFontSize() const + unsigned int GetFontSize() const { return fontSize_; }