comparison Framework/Radiography/RadiographyTextLayer.h @ 503:77e0eb83ff63 am-touch-events

layers are now Observable and emitting LayerEdited messages
author amazy
date Tue, 26 Feb 2019 12:58:03 +0100
parents b85f635f1eb5
children b537002f83a9 f417a0ae282b
comparison
equal deleted inserted replaced
502:3ae7563b4fe1 503:77e0eb83ff63
32 private: 32 private:
33 std::string text_; 33 std::string text_;
34 std::string fontName_; 34 std::string fontName_;
35 35
36 public: 36 public:
37 RadiographyTextLayer(const RadiographyScene& scene) : 37 RadiographyTextLayer(MessageBroker& broker, const RadiographyScene& scene) :
38 RadiographyAlphaLayer(scene) 38 RadiographyAlphaLayer(broker, scene)
39 { 39 {
40 } 40 }
41 41
42 void LoadText(const Orthanc::Font& font, 42 void LoadText(const Orthanc::Font& font,
43 const std::string& utf8); 43 const std::string& utf8);