Keymap preferences now saves an attribute on the Key_map file to indicate

what keymap it came from. This allows us to indicate the current keymap in
the list views. I'm not sure how to get the build system to populate that
attribute by default though.



git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24924 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Rene Gollent
2008-04-12 03:28:12 +00:00
parent 3ee7fad0a9
commit 487171f0b9
4 changed files with 46 additions and 5 deletions
+7 -3
View File
@@ -14,10 +14,12 @@
#include <Control.h>
#include <FilePanel.h>
#include <ListView.h>
#include <Window.h>
#include <MenuBar.h>
#include "KeymapTextView.h"
#include <String.h>
#include <Window.h>
#include "Keymap.h"
#include "KeymapTextView.h"
class KeymapListItem;
class BBitmap;
@@ -82,7 +84,8 @@ protected:
void FillSystemMaps();
void FillUserMaps();
bool SelectCurrentMap(BListView *list);
BListView *fSystemListView;
BListView *fUserListView;
@@ -97,6 +100,7 @@ protected:
Keymap fPreviousMap;
Keymap fAppliedMap;
bool fFirstTime;
BString fCurrentMapName;
BFilePanel *fOpenPanel; // the file panel to open
BFilePanel *fSavePanel; // the file panel to save