2 * Copyright 2008-09, Oliver Ruiz Dorantes, <oliver.ruiz.dorantes_at_gmail.com>
3 * All rights reserved. Distributed under the terms of the MIT License.
5 #ifndef REMOTE_DEVICES_VIEW_H_
6 #define REMOTE_DEVICES_VIEW_H_
9 #include <ColorControl.h>
14 #include <ScrollView.h>
15 #include <ScrollBar.h>
18 #include <MenuField.h>
21 #include <StringView.h>
25 class RemoteDevicesView
: public BView
28 RemoteDevicesView(const char *name
, uint32 flags
);
29 ~RemoteDevicesView(void);
30 void AttachedToWindow(void);
31 void MessageReceived(BMessage
*msg
);
33 void LoadSettings(void);
34 bool IsDefaultable(void);
38 void SetCurrentColor(rgb_color color
);
39 void UpdateControls();
40 void UpdateAllColors();
43 BButton
* removeButton
;
45 BButton
* disconnectButton
;
48 BListView
* fDeviceList
;
49 BScrollView
* fScrollView
;