* UI refactoring, added display::Frame and started cleaning up the

code.


git-svn-id: svn://rakshasa.no/libtorrent/trunk/rtorrent@747 e378c898-3ddf-0310-93e7-cc216c733640
This commit is contained in:
rakshasa
2006-07-26 21:41:09 +00:00
parent ef90f0f51e
commit fc76a11d71
41 changed files with 889 additions and 471 deletions
+4 -4
View File
@@ -69,27 +69,27 @@ TextInput::pressed(int key) {
case 'h' - 'a' + 1: // ^H
case KEY_BACKSPACE:
if (m_pos != 0)
Base::erase(--m_pos, 1);
Base::erase(--m_pos, 1);
break;
case KEY_DC:
if (m_pos != size())
Base::erase(m_pos, 1);
Base::erase(m_pos, 1);
break;
case 0x02:
case KEY_LEFT:
if (m_pos != 0)
--m_pos;
--m_pos;
break;
case 0x06:
case KEY_RIGHT:
if (m_pos != size())
++m_pos;
++m_pos;
break;