* The text control is now back - instead of overwriting BTextView::KeyDown(),

we now use a plain BTextControl, and a custom message filter. For some reason,
  BHandler::AddFilter() does not work, though, this needs some investigation.
* Enabled the font menu again, the font in the text control is changed as well.
* Made the default window size a bit smaller on large screens.
* Scrolling to the selection does not seem to work before Show() - looks like
  a bug in the layout implementation.
* Moved some methods around to match their declaration order.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@29698 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-03-25 13:52:54 +00:00
parent 53c926befb
commit 6b9767aa8a
7 changed files with 254 additions and 199 deletions
+6 -3
View File
@@ -18,9 +18,10 @@
#include <Window.h>
#include "Keymap.h"
#include "KeymapTextView.h"
class BMenu;
class BMenuBar;
class BTextControl;
class KeyboardLayoutView;
class KeymapListItem;
@@ -37,9 +38,10 @@ protected:
BMenuBar* _CreateMenu();
BView* _CreateMapLists();
void _UpdateButtons();
void _UseKeymap();
void _RevertKeymap();
void _UpdateButtons();
void _FillSystemMaps();
void _FillUserMaps();
@@ -52,8 +54,9 @@ protected:
BListView* fUserListView;
BButton* fUseButton;
BButton* fRevertButton;
//BMenu* fFontMenu;
BMenu* fFontMenu;
KeyboardLayoutView* fKeyboardLayoutView;
BTextControl* fTextControl;
Keymap fCurrentMap;
Keymap fPreviousMap;