| 64 | } |
| 65 | |
| 66 | void Entry::HideText( std::uint32_t c ) { |
| 67 | if( c == 0x00 || ( c > 0x1f && c != 0x7f ) ) { |
| 68 | // not a control character |
| 69 | m_text_placeholder = c; |
| 70 | RecalculateVisibleString(); |
| 71 | } |
| 72 | } |
| 73 | |
| 74 | std::uint32_t Entry::GetHideCharacter() const { |
| 75 | return m_text_placeholder; |