-
Notifications
You must be signed in to change notification settings - Fork 1
/
BeFullSet.h
40 lines (35 loc) · 1013 Bytes
/
BeFullSet.h
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
39
40
/***************************************************
BeFullSet.h - by Kevin Field
***************************************************/
#ifndef _BEFULLSET_H_
#define _BEFULLSET_H_
#include <PictureButton.h>
#include <Path.h>
class BeFullSet : public BView
{
public:
BeFullSet(const BRect wholeThing, const char * label, const char * path, const rgb_color normc);
~BeFullSet();
int AddPB(const char * newText);
virtual void Draw(BRect updateRect);
virtual void MouseMoved(BPoint point, uint32 transit, const BMessage *message);
virtual void MouseDown(BPoint point);
private:
rgb_color highlightcolour;
rgb_color normalcolour;
bool highlighted;
BPictureButton* pbs;
char * label;
char * path;
};
class BeFullLabel : public BView
{
public:
BeFullLabel(const BRect wholeThing, const char* label, const rgb_color colour);
// ~BeFullLabel();
virtual void Draw(BRect updateRect);
private:
rgb_color colour;
char* label;
};
#endif