diff options
author | rachytski <siarhei.rachytski@gmail.com> | 2011-02-03 00:25:30 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:11:31 +0300 |
commit | a0d22c5a8f42ecb619378753ed68d6a2d2f3743c (patch) | |
tree | 49942bdca16ea5784f5103ffb0ffd5148e17df7f /indexer/drawing_rules.cpp | |
parent | ae2358e9cff4286886da24655f3324fe7578fa7e (diff) |
added support for text colors. refactored text_renderer.
Diffstat (limited to 'indexer/drawing_rules.cpp')
-rw-r--r-- | indexer/drawing_rules.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indexer/drawing_rules.cpp b/indexer/drawing_rules.cpp index 3354f459c0..0286f3a24d 100644 --- a/indexer/drawing_rules.cpp +++ b/indexer/drawing_rules.cpp @@ -572,6 +572,7 @@ namespace drule { virtual void Write(FileWriterStream & ar) const { write_rules(ar, this); } virtual double GetTextHeight() const { return m_params.get<5>().m_v; } + virtual int GetColor() const { return m_params.get<6>().m_v; } static string arrKeys[9]; }; @@ -637,6 +638,7 @@ namespace drule { virtual void Write(FileWriterStream & ar) const { write_rules(ar, this); } virtual double GetTextHeight() const { return m_params.get<6>().m_v; } + virtual int GetColor() const {return m_params.get<7>().m_v;} static string arrKeys[10]; }; |