haiku/headers/private/bluetooth/ConnectionView.h
Fredrik Modéen 91cbfa855e Bluetooth Pref: Inactiveate button and things that don't do anything.
* Inactiveate button and things that don't do anything.
* Those button and controlles that hade any actions in the Bluetooth Pref now saves in settings.
* Fix some windows/views.
* Fix Copyright in last Bluetooth commit.
* Last commit before we move saving settings with BMessage.
* Changed PoupMenu to BOptionPopUp

Change-Id: I32b85f1985b558d24b294a184665e08e6ce18a7d
Reviewed-on: https://review.haiku-os.org/c/haiku/+/3829
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>
2021-04-10 20:28:43 +00:00

45 lines
870 B
C++

/*
* Copyright 2007-2008 Oliver Ruiz Dorantes, oliver.ruiz.dorantes_at_gmail.com
* Copyright 2021, Haiku, Inc.
* Distributed under the terms of the MIT License.
*
* Authors:
* Tri-Edge AI <triedgeai@gmail.com>
*/
#ifndef _CONNECTION_VIEW_H_
#define _CONNECTION_VIEW_H_
#include <Window.h>
#include <View.h>
#include <StringView.h>
#include <GroupLayout.h>
#include <GroupLayoutBuilder.h>
#include <Font.h>
#include <String.h>
namespace Bluetooth {
class BluetoothIconView;
class ConnectionView : public BView {
public:
ConnectionView(BRect frame,
BString device, BString address);
void Pulse();
private:
BString strMessage;
BluetoothIconView* fIcon;
BStringView* fMessage;
BStringView* fDeviceLabel;
BStringView* fDeviceText;
BStringView* fAddressLabel;
BStringView* fAddressText;
};
}
#endif /* _CONNECTION_VIEW_H_ */