* The Keymap preferences app will now memorize its window frame and chosen

layout.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@32491 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Axel Dörfler
2009-08-18 12:50:57 +00:00
parent c5bf61690a
commit b01bdb48ea
4 changed files with 156 additions and 33 deletions
+8
View File
@@ -19,6 +19,7 @@
#include "Keymap.h"
class BMenu;
class BMenuBar;
class BMenuField;
@@ -39,6 +40,7 @@ protected:
BMenuBar* _CreateMenu();
BView* _CreateMapLists();
void _AddKeyboardLayouts(BMenu* menu);
status_t _SetKeyboardLayout(const char* path);
void _UpdateSwitchShortcutButton();
void _UpdateButtons();
@@ -59,6 +61,12 @@ protected:
bool _SelectCurrentMap(BListView *list);
void _SelectCurrentMap();
status_t _GetSettings(BFile& file, int mode) const;
status_t _LoadSettings(BRect& frame,
BString& keyboardLayout);
status_t _SaveSettings() const;
private:
BListView* fSystemListView;
BListView* fUserListView;
BButton* fRevertButton;