diff options
author | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-02-16 09:21:11 +0100 |
---|---|---|
committer | Matthias P. Braendli <matthias.braendli@mpb.li> | 2019-02-16 09:21:11 +0100 |
commit | eb15f7fc5e461c71a8d397d8fb34c27976876946 (patch) | |
tree | ebb4769adee81ae9c587e8583e1c7866d93099d5 /src/MuxElements.cpp | |
parent | 9d593f25423a547960d844a2c497de46213a020b (diff) | |
download | dabmux-eb15f7fc5e461c71a8d397d8fb34c27976876946.tar.gz dabmux-eb15f7fc5e461c71a8d397d8fb34c27976876946.tar.bz2 dabmux-eb15f7fc5e461c71a8d397d8fb34c27976876946.zip |
Add FIG2 options for character field and text control
Diffstat (limited to 'src/MuxElements.cpp')
-rw-r--r-- | src/MuxElements.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/MuxElements.cpp b/src/MuxElements.cpp index b7536b6..8c14d9a 100644 --- a/src/MuxElements.cpp +++ b/src/MuxElements.cpp @@ -347,6 +347,18 @@ int DabLabel::setFIG2Label(const std::string& label) return 0; } +void DabLabel::setFIG2CharacterField(uint16_t character_field) +{ + m_fig2_use_text_control = false; + m_fig2_character_field = character_field; +} + +void DabLabel::setFIG2TextControl(FIG2TextControl tc) +{ + m_fig2_use_text_control = true; + m_fig2_text_control = tc; +} + void DabLabel::writeLabel(uint8_t* buf) const { memset(buf, ' ', DABLABEL_LENGTH); |