41 lines
809 B
C++
41 lines
809 B
C++
/*
|
|
* Copyright 2012, Casalinuovo Dario. All rights reserved.
|
|
* Copyright 2021, Jaidyn Levesque. All rights reserved.
|
|
* Distributed under the terms of the MIT License.
|
|
*
|
|
* Authors:
|
|
* Casalinuovo Dario
|
|
* Jaidyn Levesque <jadedctrl@teknik.io>
|
|
*/
|
|
#ifndef _USER_INFO_WINDOW_H
|
|
#define _USER_INFO_WINDOW_H
|
|
|
|
#include <Window.h>
|
|
#include <TextView.h>
|
|
#include <StringView.h>
|
|
#include "Observer.h"
|
|
|
|
class BitmapView;
|
|
class User;
|
|
|
|
|
|
class UserInfoWindow: public BWindow, public Observer {
|
|
public:
|
|
UserInfoWindow(User* user);
|
|
|
|
virtual void MessageReceived(BMessage* message);
|
|
|
|
private:
|
|
void _InitInterface();
|
|
|
|
User* fUser;
|
|
|
|
BitmapView* fAvatar;
|
|
BStringView* fNameLabel;
|
|
BStringView* fIdLabel;
|
|
BStringView* fStatusLabel;
|
|
BStringView* fTextStatusLabel;
|
|
};
|
|
|
|
#endif // _USER_INFO_WINDOW_H
|