* Added support for selecting the dead key trigger characters from a menubar,
offering two choices for acute and diaeresis as well as allowing to switch off each dead key completely. * moved the textview on a line of its own such that the dead key menu and the modifier-switching button live together on one line * added enum dead_key_index and used it at a couple of places instead of having to use the magic numbers 1-5 * refactored the actual updating of the fChars buffer from SetKey() into _SetChars(), which is now being invoked by SetDeadKeyTrigger(), too git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@30718 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -46,6 +46,9 @@ protected:
|
||||
void _UseKeymap();
|
||||
void _RevertKeymap();
|
||||
|
||||
BMenuBar* _CreateDeadKeyMenu();
|
||||
void _UpdateDeadKeyMenu();
|
||||
|
||||
void _FillSystemMaps();
|
||||
void _FillUserMaps();
|
||||
void _SetListViewSize(BListView* listView);
|
||||
@@ -64,6 +67,12 @@ protected:
|
||||
KeyboardLayoutView* fKeyboardLayoutView;
|
||||
BTextControl* fTextControl;
|
||||
BButton* fSwitchShortcutsButton;
|
||||
BMenu* fDeadKeyMenu;
|
||||
BMenu* fAcuteMenu;
|
||||
BMenu* fCircumflexMenu;
|
||||
BMenu* fDiaeresisMenu;
|
||||
BMenu* fGraveMenu;
|
||||
BMenu* fTildeMenu;
|
||||
|
||||
Keymap fCurrentMap;
|
||||
Keymap fPreviousMap;
|
||||
|
||||
Reference in New Issue
Block a user