2 * Copyright 2008 Haiku.
3 * Distributed under the terms of the MIT License.
6 * Fredrik Modéen fredrik@modeen.se
11 PortItem::PortItem(const char* label
)
20 PortItem::DrawItem(BView
*owner
, BRect frame
, bool complete
)
22 BStringItem::DrawItem(owner
, frame
, complete
);
26 PortItem::GetOldJoystickName()
28 return fOldSelectedJoystick
;
33 PortItem::GetJoystickName()
35 return fSelectedJoystick
;
40 PortItem::SetJoystickName(BString str
)
42 fOldSelectedJoystick
= fSelectedJoystick
;
43 fSelectedJoystick
= str
;