* of course, gcc4 had more issues with the Joystick preflet
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@38205 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -8,7 +8,7 @@ Preference Joysticks :
|
||||
Joysticks.cpp
|
||||
MessageWin.cpp
|
||||
PortItem.cpp
|
||||
: be libdevice.so
|
||||
: be libdevice.so $(TARGET_LIBSUPC++)
|
||||
: Joysticks.rdef
|
||||
;
|
||||
|
||||
|
||||
@@ -191,7 +191,7 @@ JoyWin::MessageReceived(BMessage *message)
|
||||
}
|
||||
} else {
|
||||
fConControllerL->DeselectAll();
|
||||
ShowMessage(SELECTGAMEPORTFIRST);
|
||||
ShowMessage((char*)SELECTGAMEPORTFIRST);
|
||||
}
|
||||
break;
|
||||
}
|
||||
@@ -204,7 +204,7 @@ JoyWin::MessageReceived(BMessage *message)
|
||||
//printf("invoke.. inte null\n");
|
||||
_PerformProbe(item->Text());
|
||||
} else
|
||||
ShowMessage(SELECTGAMEPORTFIRST);
|
||||
ShowMessage((char*)SELECTGAMEPORTFIRST);
|
||||
break;
|
||||
}
|
||||
|
||||
@@ -233,7 +233,7 @@ JoyWin::MessageReceived(BMessage *message)
|
||||
dir->CreateSymLink(strLinkPlace.String(),
|
||||
strLinkTo.String(), NULL);
|
||||
} else
|
||||
ShowMessage(SELECTGAMEPORTFIRST);
|
||||
ShowMessage((char*)SELECTGAMEPORTFIRST);
|
||||
}
|
||||
|
||||
fSystemUsedSelect = false;
|
||||
@@ -256,7 +256,7 @@ JoyWin::MessageReceived(BMessage *message)
|
||||
*/
|
||||
}
|
||||
} else
|
||||
ShowMessage(SELECTGAMEPORTFIRST);
|
||||
ShowMessage((char*)SELECTGAMEPORTFIRST);
|
||||
break;
|
||||
}
|
||||
default:
|
||||
@@ -276,8 +276,8 @@ JoyWin::QuitRequested()
|
||||
|
||||
//---------------------- Private ---------------------------------//
|
||||
status_t
|
||||
JoyWin::_AddToList(BListView *list, uint32 command,
|
||||
const char* rootPath, BEntry *rootEntry = NULL)
|
||||
JoyWin::_AddToList(BListView *list, uint32 command, const char* rootPath,
|
||||
BEntry *rootEntry)
|
||||
{
|
||||
BDirectory root;
|
||||
|
||||
|
||||
@@ -3,7 +3,7 @@
|
||||
* Distributed under the terms of the MIT License.
|
||||
*
|
||||
* Authors:
|
||||
* Fredrik Modéen [email protected]
|
||||
* Fredrik Modéen [email protected]
|
||||
*/
|
||||
|
||||
#include "PortItem.h"
|
||||
@@ -17,7 +17,7 @@ PortItem::~PortItem()
|
||||
{}
|
||||
|
||||
void
|
||||
PortItem::DrawItem(BView *owner, BRect frame, bool complete = false)
|
||||
PortItem::DrawItem(BView *owner, BRect frame, bool complete)
|
||||
{
|
||||
BStringItem::DrawItem(owner, frame, complete);
|
||||
}
|
||||
@@ -32,7 +32,7 @@ PortItem::GetOldJoystickName()
|
||||
BString
|
||||
PortItem::GetJoystickName()
|
||||
{
|
||||
return fSelectedJoystick;
|
||||
return fSelectedJoystick;
|
||||
}
|
||||
|
||||
|
||||
@@ -40,5 +40,5 @@ void
|
||||
PortItem::SetJoystickName(BString str)
|
||||
{
|
||||
fOldSelectedJoystick = fSelectedJoystick;
|
||||
fSelectedJoystick = str;
|
||||
fSelectedJoystick = str;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user