comparison Framework/Radiography/RadiographyTextLayer.h @ 1201:ab958fd99b07

RadiographyScene fixes
author Alain Mazy <alain@mazy.be>
date Fri, 29 Nov 2019 16:21:24 +0100
parents a5f2a6b04a31
children b519c1c878f1 9ee6b28f53e8
comparison
equal deleted inserted replaced
1199:922d2e61aa5d 1201:ab958fd99b07
40 RadiographyTextLayer(MessageBroker& broker, const RadiographyScene& scene) : 40 RadiographyTextLayer(MessageBroker& broker, const RadiographyScene& scene) :
41 RadiographyAlphaLayer(broker, scene) 41 RadiographyAlphaLayer(broker, scene)
42 { 42 {
43 } 43 }
44 44
45 void LoadText(const std::string& utf8, unsigned int fontSize, uint8_t foreground); 45 void SetText(const std::string& utf8, unsigned int fontSize, uint8_t foreground);
46 46
47 const std::string& GetText() const 47 const std::string& GetText() const
48 { 48 {
49 return text_; 49 return text_;
50 } 50 }