* style cleanup, new style casts, license header updates

git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24113 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Alexandre Deckner
2008-02-25 13:36:46 +00:00
parent 4d49ac789d
commit ad93c2f5eb
10 changed files with 435 additions and 465 deletions
+8 -14
View File
@@ -1,17 +1,11 @@
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ /*
// * Copyright 2004-2008 Haiku Inc. All rights reserved.
// Copyright (c) 2004, Haiku * Distributed under the terms of the MIT License.
// *
// This software is part of the Haiku distribution and is covered * Authors:
// by the Haiku license. * Sandor Vroemisse
// * Jérôme Duval
// */
// File: Keymap.cpp
// Author: Sandor Vroemisse, Jérôme Duval
// Description: Keymap Preferences
// Created : July 12, 2004
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
#include "Keymap.h" #include "Keymap.h"
#include <stdio.h> #include <stdio.h>
+7 -14
View File
@@ -1,17 +1,10 @@
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ /*
// * Copyright 2004-2008 Haiku Inc. All rights reserved.
// Copyright (c) 2004, Haiku * Distributed under the terms of the MIT License.
// *
// This software is part of the Haiku distribution and is covered * Authors:
// by the Haiku license. * Jérôme Duval
// */
//
// File: Keymap.h
// Author: Jérôme Duval
// Description: Keymap Preferences
// Created : July 12, 2004
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
#ifndef KEYMAP_H #ifndef KEYMAP_H
#define KEYMAP_H #define KEYMAP_H
+2 -3
View File
@@ -1,13 +1,12 @@
/* /*
* Copyright 2004-2006, Haiku. All rights reserved. * Copyright 2004-2006 Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
* *
* Authors in chronological order: * Authors:
* Sandor Vroemisse * Sandor Vroemisse
* Jérôme Duval * Jérôme Duval
*/ */
#include "KeymapApplication.h" #include "KeymapApplication.h"
+3 -2
View File
@@ -1,11 +1,12 @@
/* /*
* Copyright 2004-2006, Haiku. All rights reserved. * Copyright 2004-2006 Haiku Inc. All rights reserved.
* Distributed under the terms of the MIT License. * Distributed under the terms of the MIT License.
* *
* Authors in chronological order: * Authors:
* Sandor Vroemisse * Sandor Vroemisse
* Jérôme Duval * Jérôme Duval
*/ */
#ifndef KEYMAP_APPLICATION_H #ifndef KEYMAP_APPLICATION_H
#define KEYMAP_APPLICATION_H #define KEYMAP_APPLICATION_H
+8 -14
View File
@@ -1,17 +1,11 @@
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ /*
// * Copyright 2004-2006 Haiku Inc. All rights reserved.
// Copyright (c) 2004, Haiku * Distributed under the terms of the MIT License.
// *
// This software is part of the Haiku distribution and is covered * Authors:
// by the Haiku license. * Sandor Vroemisse
// * Jérôme Duval
// */
// File: KeymapListItem.cpp
// Author: Sandor Vroemisse, Jérôme Duval
// Description: Keymap Preferences
// Created : July 12, 2004
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
/* /*
* A BStringItem modified such that it holds * A BStringItem modified such that it holds
+8 -14
View File
@@ -1,17 +1,11 @@
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ /*
// * Copyright 2004-2006 Haiku Inc. All rights reserved.
// Copyright (c) 2004, Haiku * Distributed under the terms of the MIT License.
// *
// This software is part of the Haiku distribution and is covered * Authors:
// by the Haiku license. * Sandor Vroemisse
// * Jérôme Duval
// */
// File: KeymapListItem.h
// Author: Sandor Vroemisse, Jérôme Duval
// Description: Keymap Preferences
// Created : July 12, 2004
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
/* /*
* A BStringItem modified such that it holds * A BStringItem modified such that it holds
+7 -14
View File
@@ -1,17 +1,10 @@
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ /*
// * Copyright 2004-2006 Haiku Inc. All rights reserved.
// Copyright (c) 2004, Haiku * Distributed under the terms of the MIT License.
// *
// This software is part of the Haiku distribution and is covered * Authors:
// by the Haiku license. * Jérôme Duval
// */
//
// File: KeymapTextView.cpp
// Author: Jérôme Duval
// Description: Keymap Preferences
// Created : July 14, 2004
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
#include "KeymapTextView.h" #include "KeymapTextView.h"
+7 -14
View File
@@ -1,17 +1,10 @@
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ /*
// * Copyright 2004-2006 Haiku Inc. All rights reserved.
// Copyright (c) 2004, Haiku * Distributed under the terms of the MIT License.
// *
// This software is part of the Haiku distribution and is covered * Authors:
// by the Haiku license. * Jérôme Duval
// */
//
// File: KeymapTextView.h
// Author: Jérôme Duval
// Description: Keymap Preferences
// Created : July 14, 2004
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
#ifndef KEYMAPTEXTVIEW_H #ifndef KEYMAPTEXTVIEW_H
#define KEYMAPTEXTVIEW_H #define KEYMAPTEXTVIEW_H
+56 -42
View File
@@ -1,17 +1,12 @@
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ /*
// * Copyright 2004-2008 Haiku Inc. All rights reserved.
// Copyright (c) 2004, Haiku * Distributed under the terms of the MIT License.
// *
// This software is part of the Haiku distribution and is covered * Authors:
// by the Haiku license. * Sandor Vroemisse
// * Jérôme Duval
// * Alexandre Deckner, [email protected]
// File: KeymapWindow.cpp */
// Author: Sandor Vroemisse, Jérôme Duval
// Description: Keymap Preferences
// Created : July 12, 2004
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
#include <Alert.h> #include <Alert.h>
#include <Application.h> #include <Application.h>
@@ -84,8 +79,8 @@ KeymapWindow::KeymapWindow()
placeholderView->AddChild(fUseButton); placeholderView->AddChild(fUseButton);
// The 'Revert' button // The 'Revert' button
fRevertButton = new BButton(BRect(442,200, 515,220), "revertButton", "Revert", fRevertButton = new BButton(BRect(442, 200, 515, 220), "revertButton",
new BMessage( REVERT )); "Revert", new BMessage(REVERT));
placeholderView->AddChild(fRevertButton); placeholderView->AddChild(fRevertButton);
BPath path; BPath path;
@@ -213,7 +208,7 @@ KeymapWindow::AddMaps(BView *placeholderView)
bounds = BRect(13, 130, 103, 200); bounds = BRect(13, 130, 103, 200);
fUserListView = new BListView(bounds, "userList"); fUserListView = new BListView(bounds, "userList");
// '(Current)' // '(Current)'
KeymapListItem *currentKeymapItem = (KeymapListItem*)fUserListView->FirstItem(); KeymapListItem *currentKeymapItem = static_cast<KeymapListItem*>(fUserListView->FirstItem());
if (currentKeymapItem != NULL) if (currentKeymapItem != NULL)
fUserListView->AddItem(currentKeymapItem); fUserListView->AddItem(currentKeymapItem);
// Saved keymaps // Saved keymaps
@@ -298,7 +293,7 @@ KeymapWindow::MessageReceived( BMessage* message )
case SYSTEM_MAP_SELECTED: case SYSTEM_MAP_SELECTED:
{ {
KeymapListItem *keymapListItem = KeymapListItem *keymapListItem =
(KeymapListItem*)fSystemListView->ItemAt(fSystemListView->CurrentSelection()); static_cast<KeymapListItem*>(fSystemListView->ItemAt(fSystemListView->CurrentSelection()));
if (keymapListItem) { if (keymapListItem) {
fCurrentMap.Load(keymapListItem->KeymapEntry()); fCurrentMap.Load(keymapListItem->KeymapEntry());
fMapView->Invalidate(); fMapView->Invalidate();
@@ -311,7 +306,7 @@ KeymapWindow::MessageReceived( BMessage* message )
case USER_MAP_SELECTED: case USER_MAP_SELECTED:
{ {
KeymapListItem *keymapListItem = KeymapListItem *keymapListItem =
(KeymapListItem*)fUserListView->ItemAt(fUserListView->CurrentSelection()); static_cast<KeymapListItem*>(fUserListView->ItemAt(fUserListView->CurrentSelection()));
if (keymapListItem) { if (keymapListItem) {
fCurrentMap.Load(keymapListItem->KeymapEntry()); fCurrentMap.Load(keymapListItem->KeymapEntry());
fMapView->Invalidate(); fMapView->Invalidate();
@@ -360,7 +355,7 @@ void
KeymapWindow::FillSystemMaps() KeymapWindow::FillSystemMaps()
{ {
BListItem *item; BListItem *item;
while ((item = fSystemListView->RemoveItem((int32)0))) while ((item = fSystemListView->RemoveItem(static_cast<int32>(0))))
delete item; delete item;
BPath path; BPath path;
@@ -383,7 +378,7 @@ void
KeymapWindow::FillUserMaps() KeymapWindow::FillUserMaps()
{ {
BListItem *item; BListItem *item;
while ((item = fUserListView->RemoveItem((int32)0))) while ((item = fUserListView->RemoveItem(static_cast<int32>(0))))
delete item; delete item;
BPath path; BPath path;
@@ -1047,12 +1042,15 @@ MapView::_DrawBackground(){
fOffscreenView->StrokeLine(r.LeftBottom(), r.LeftTop()); fOffscreenView->StrokeLine(r.LeftBottom(), r.LeftTop());
fOffscreenView->StrokeLine(r.RightTop()); fOffscreenView->StrokeLine(r.RightTop());
fOffscreenView->SetHighColor(80, 80, 80); fOffscreenView->SetHighColor(80, 80, 80);
fOffscreenView->StrokeLine(r.LeftBottom()+BPoint(1,0), r.LeftTop()+BPoint(1,1)); fOffscreenView->StrokeLine(r.LeftBottom() + BPoint(1, 0),
r.LeftTop() + BPoint(1, 1));
fOffscreenView->StrokeLine(r.RightTop() + BPoint(0,1)); fOffscreenView->StrokeLine(r.RightTop() + BPoint(0,1));
fOffscreenView->SetHighColor(136, 136, 136); fOffscreenView->SetHighColor(136, 136, 136);
fOffscreenView->StrokeLine(r.LeftBottom()+BPoint(2,-1), r.LeftTop()+BPoint(2,2)); fOffscreenView->StrokeLine(r.LeftBottom() + BPoint(2, -1),
r.LeftTop() + BPoint(2, 2));
fOffscreenView->StrokeLine(r.RightTop()+BPoint(0, 2)); fOffscreenView->StrokeLine(r.RightTop()+BPoint(0, 2));
fOffscreenView->StrokeLine(r.LeftBottom()+BPoint(1,0), r.LeftBottom()+BPoint(1,0)); fOffscreenView->StrokeLine(r.LeftBottom()+BPoint(1, 0),
r.LeftBottom() + BPoint(1, 0));
fOffscreenView->SetHighColor(255, 255, 255); fOffscreenView->SetHighColor(255, 255, 255);
fOffscreenView->StrokeLine(r.RightTop() + BPoint(0, 1), r.RightBottom()); fOffscreenView->StrokeLine(r.RightTop() + BPoint(0, 1), r.RightBottom());
fOffscreenView->StrokeLine(r.LeftBottom() + BPoint(2, 0)); fOffscreenView->StrokeLine(r.LeftBottom() + BPoint(2, 0));
@@ -1106,7 +1104,8 @@ MapView::_DrawLocksBackground()
fOffscreenView->StrokeLine(lightRect.LeftBottom(), lightRect.RightBottom()); fOffscreenView->StrokeLine(lightRect.LeftBottom(), lightRect.RightBottom());
fOffscreenView->StrokeLine(lightRect.RightTop()); fOffscreenView->StrokeLine(lightRect.RightTop());
fOffscreenView->SetHighColor(255, 255, 255); fOffscreenView->SetHighColor(255, 255, 255);
fOffscreenView->StrokeLine(BPoint(lightRect.right-1, lightRect.top), lightRect.LeftTop()); fOffscreenView->StrokeLine(BPoint(lightRect.right - 1, lightRect.top),
lightRect.LeftTop());
fOffscreenView->StrokeLine(BPoint(lightRect.left, lightRect.bottom - 1)); fOffscreenView->StrokeLine(BPoint(lightRect.left, lightRect.bottom - 1));
fOffscreenView->SetHighColor(0, 55, 0); fOffscreenView->SetHighColor(0, 55, 0);
fOffscreenView->FillRect(lightRect.InsetByCopy(1, 1)); fOffscreenView->FillRect(lightRect.InsetByCopy(1, 1));
@@ -1118,7 +1117,8 @@ MapView::_DrawLocksBackground()
fOffscreenView->StrokeLine(lightRect.LeftBottom(), lightRect.RightBottom()); fOffscreenView->StrokeLine(lightRect.LeftBottom(), lightRect.RightBottom());
fOffscreenView->StrokeLine(lightRect.RightTop()); fOffscreenView->StrokeLine(lightRect.RightTop());
fOffscreenView->SetHighColor(255, 255, 255); fOffscreenView->SetHighColor(255, 255, 255);
fOffscreenView->StrokeLine(BPoint(lightRect.right-1, lightRect.top), lightRect.LeftTop()); fOffscreenView->StrokeLine(BPoint(lightRect.right - 1, lightRect.top),
lightRect.LeftTop());
fOffscreenView->StrokeLine(BPoint(lightRect.left, lightRect.bottom - 1)); fOffscreenView->StrokeLine(BPoint(lightRect.left, lightRect.bottom - 1));
fOffscreenView->SetHighColor(0, 55, 0); fOffscreenView->SetHighColor(0, 55, 0);
fOffscreenView->FillRect(lightRect.InsetByCopy(1, 1)); fOffscreenView->FillRect(lightRect.InsetByCopy(1, 1));
@@ -1130,7 +1130,8 @@ MapView::_DrawLocksBackground()
fOffscreenView->StrokeLine(lightRect.LeftBottom(), lightRect.RightBottom()); fOffscreenView->StrokeLine(lightRect.LeftBottom(), lightRect.RightBottom());
fOffscreenView->StrokeLine(lightRect.RightTop()); fOffscreenView->StrokeLine(lightRect.RightTop());
fOffscreenView->SetHighColor(255, 255, 255); fOffscreenView->SetHighColor(255, 255, 255);
fOffscreenView->StrokeLine(BPoint(lightRect.right-1, lightRect.top), lightRect.LeftTop()); fOffscreenView->StrokeLine(BPoint(lightRect.right - 1, lightRect.top),
lightRect.LeftTop());
fOffscreenView->StrokeLine(BPoint(lightRect.left, lightRect.bottom - 1)); fOffscreenView->StrokeLine(BPoint(lightRect.left, lightRect.bottom - 1));
fOffscreenView->SetHighColor(0, 55, 0); fOffscreenView->SetHighColor(0, 55, 0);
fOffscreenView->FillRect(lightRect.InsetByCopy(1, 1)); fOffscreenView->FillRect(lightRect.InsetByCopy(1, 1));
@@ -1191,7 +1192,8 @@ MapView::_DrawKeysBackground()
bool vertical = fKeysVertical[keyCode]; bool vertical = fKeysVertical[keyCode];
int32 deadKey = fCurrentMap->IsDeadKey(keyCode, fOldKeyInfo.modifiers); int32 deadKey = fCurrentMap->IsDeadKey(keyCode, fOldKeyInfo.modifiers);
bool secondDeadKey = fCurrentMap->IsDeadSecondKey(keyCode, fOldKeyInfo.modifiers, fActiveDeadKey); bool secondDeadKey = fCurrentMap->IsDeadSecondKey(keyCode,
fOldKeyInfo.modifiers, fActiveDeadKey);
r.InsetBySelf(1, 1); r.InsetBySelf(1, 1);
if (!secondDeadKey && deadKey == 0) { if (!secondDeadKey && deadKey == 0) {
@@ -1200,14 +1202,19 @@ MapView::_DrawKeysBackground()
fOffscreenView->BeginLineArray(14); fOffscreenView->BeginLineArray(14);
rgb_color color1 = {200, 200, 200}; rgb_color color1 = {200, 200, 200};
fOffscreenView->AddLine(BPoint(r.left, r.bottom-1), r.LeftTop(), color1); fOffscreenView->AddLine(BPoint(r.left, r.bottom - 1), r.LeftTop(),
fOffscreenView->AddLine(r.LeftTop(), BPoint(r.left+3, r.top), color1); color1);
fOffscreenView->AddLine(r.LeftTop(), BPoint(r.left+3, r.top),
color1);
rgb_color color2 = {184, 184, 184}; rgb_color color2 = {184, 184, 184};
fOffscreenView->AddLine(BPoint(r.left+3, r.top), BPoint(r.left+6, r.top), color2); fOffscreenView->AddLine(BPoint(r.left + 3, r.top),
BPoint(r.left + 6, r.top), color2);
rgb_color color3 = {168, 168, 168}; rgb_color color3 = {168, 168, 168};
fOffscreenView->AddLine(BPoint(r.left+6, r.top), BPoint(r.left+9, r.top), color3); fOffscreenView->AddLine(BPoint(r.left + 6, r.top),
BPoint(r.left + 9, r.top), color3);
rgb_color color4 = {152, 152, 152}; rgb_color color4 = {152, 152, 152};
fOffscreenView->AddLine(BPoint(r.left+9, r.top), BPoint(r.right-1, r.top), color4); fOffscreenView->AddLine(BPoint(r.left + 9, r.top),
BPoint(r.right - 1, r.top), color4);
r.InsetBySelf(1,1); r.InsetBySelf(1,1);
fOffscreenView->SetHighColor(255, 255, 255); fOffscreenView->SetHighColor(255, 255, 255);
@@ -1218,14 +1225,21 @@ MapView::_DrawKeysBackground()
rgb_color color5 = {160, 160, 160}; rgb_color color5 = {160, 160, 160};
fOffscreenView->AddLine(r.LeftBottom(), r.LeftBottom(), color5); fOffscreenView->AddLine(r.LeftBottom(), r.LeftBottom(), color5);
rgb_color color7 = {64, 64, 64}; rgb_color color7 = {64, 64, 64};
fOffscreenView->AddLine(r.RightBottom(), BPoint(r.right, r.bottom-1), color7); fOffscreenView->AddLine(r.RightBottom(),
fOffscreenView->AddLine(BPoint(r.right, r.bottom-1), BPoint(r.right, r.top-1), color6); BPoint(r.right, r.bottom - 1), color7);
fOffscreenView->AddLine(BPoint(r.right, r.top-1), r.RightTop(), color5); fOffscreenView->AddLine(BPoint(r.right, r.bottom - 1),
BPoint(r.right, r.top - 1), color6);
fOffscreenView->AddLine(BPoint(r.right, r.top - 1), r.RightTop(),
color5);
rgb_color color8 = {255, 255, 255}; rgb_color color8 = {255, 255, 255};
fOffscreenView->AddLine(BPoint(r.left+1, r.bottom-1), BPoint(r.left+2, r.bottom-1), color8); fOffscreenView->AddLine(BPoint(r.left + 1, r.bottom - 1),
fOffscreenView->AddLine(BPoint(r.left+2, r.bottom-1), BPoint(r.right-1, r.bottom-1), color1); BPoint(r.left + 2, r.bottom - 1), color8);
fOffscreenView->AddLine(BPoint(r.right-1, r.bottom-1), BPoint(r.right-1, r.bottom-2), color5); fOffscreenView->AddLine(BPoint(r.left + 2, r.bottom - 1),
fOffscreenView->AddLine(BPoint(r.right-1, r.bottom-2), BPoint(r.right-1, r.top+1), color1); BPoint(r.right - 1, r.bottom - 1), color1);
fOffscreenView->AddLine(BPoint(r.right - 1, r.bottom - 1),
BPoint(r.right - 1, r.bottom - 2), color5);
fOffscreenView->AddLine(BPoint(r.right - 1, r.bottom - 2),
BPoint(r.right - 1, r.top + 1), color1);
fOffscreenView->EndLineArray(); fOffscreenView->EndLineArray();
} }
@@ -1423,8 +1437,8 @@ MapView::MessageReceived(BMessage *msg)
const uint8 *states; const uint8 *states;
ssize_t size; ssize_t size;
if ((msg->FindData("states", B_UINT8_TYPE, (const void **)&states, &size)!=B_OK) if ((msg->FindData("states", B_UINT8_TYPE, reinterpret_cast<const void **>(&states), &size) != B_OK)
|| (msg->FindInt32("modifiers", (int32 *)&info.modifiers)!=B_OK)) || (msg->FindInt32("modifiers", reinterpret_cast<int32 *>(&info.modifiers)) != B_OK))
break; break;
if (fOldKeyInfo.modifiers != info.modifiers) { if (fOldKeyInfo.modifiers != info.modifiers) {
+9 -14
View File
@@ -1,17 +1,12 @@
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ /*
// * Copyright 2004-2008 Haiku Inc. All rights reserved.
// Copyright (c) 2004, Haiku * Distributed under the terms of the MIT License.
// *
// This software is part of the Haiku distribution and is covered * Authors:
// by the Haiku license. * Sandor Vroemisse
// * Jérôme Duval
// * Alexandre Deckner, [email protected]
// File: KeymapWindow.h */
// Author: Sandor Vroemisse, Jérôme Duval
// Description: Keymap Preferences
// Created : July 12, 2004
//
// ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~ ~
#ifndef KEYMAP_WINDOW_H #ifndef KEYMAP_WINDOW_H
#define KEYMAP_WINDOW_H #define KEYMAP_WINDOW_H