blob: e9b86e3a7a2e0553bd5531ae21cc096b4e826b33 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
#ifndef QUEUE_WINDOW_H
#define QUEUE_WINDOW_H
#include <interface/Window.h>
#include <interface/View.h>
#include "hb.h"
class QueueView : public BView
{
public:
QueueView( hb_handle_t * handle );
~QueueView();
void HandleMessage( BMessage * msg );
private:
void AddStringView( char * string, BRect * r );
void UpdateQueue();
hb_handle_t * fHandle;
BScrollView * fScrollView;
BView * fQueueView;
BButton * fCloseButton;
};
class QueueWindow : public BWindow
{
public:
QueueWindow( hb_handle_t * handle );
void MessageReceived( BMessage * msg );
private:
QueueView * fView;
};
#endif
|