48 lines
1.0 KiB
C++
48 lines
1.0 KiB
C++
//////////////////////////////////////////////////
|
|
// Blabber [CustomStatusWindow.h]
|
|
// Give a custom status message and status.
|
|
//////////////////////////////////////////////////
|
|
|
|
#ifndef CUSTOM_STATUS_WINDOW_H
|
|
#define CUSTOM_STATUS_WINDOW_H
|
|
|
|
#include <InterfaceKit.h>
|
|
|
|
#ifndef _RADIO_BUTTON_H
|
|
#include <interface/RadioButton.h>
|
|
#endif
|
|
|
|
#ifndef _TEXT_CONTROL_H
|
|
#include <interface/TextControl.h>
|
|
#endif
|
|
|
|
#ifndef _WINDOW_H
|
|
#include <interface/Window.h>
|
|
#endif
|
|
|
|
class CustomStatusWindow : public BWindow {
|
|
public:
|
|
static CustomStatusWindow *Instance();
|
|
|
|
public:
|
|
|
|
|
|
CustomStatusWindow(BRect frame);
|
|
~CustomStatusWindow();
|
|
|
|
void MessageReceived(BMessage *msg);
|
|
|
|
private:
|
|
static CustomStatusWindow *fInstance;
|
|
|
|
private:
|
|
BTextControl *fStatus;
|
|
|
|
BRadioButton *fChatRadio;
|
|
BRadioButton *fAwayRadio;
|
|
BRadioButton *fExtendedAwayRadio;
|
|
BRadioButton *fDoNotDisturbRadio;
|
|
};
|
|
|
|
#endif
|