repo.or.cz
/
haiku.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
headers/bsd: Add sys/queue.h.
[haiku.git]
/
src
/
tests
/
add-ons
/
print
/
pdf
/
bezierbounds
/
BBView.h
blob
6d782dfd3612516f9de9efe0d6e4218a52475d36
1
#ifndef VIEW_H
2
#define VIEW_H
3
4
#include
"SubPath.h"
5
#include <View.h>
6
7
class
BBView
:
public
BView
{
8
SubPath fPath
;
9
enum
{
10
kDrawOutline
,
11
kStroke
12
}
fMode
;
13
int
fCurPoint
;
14
float
fWidth
;
15
16
public
:
17
BBView
(
BRect rect
);
18
void
Draw
(
BRect updateRect
);
19
void
MouseDown
(
BPoint point
);
20
void
MouseUp
(
BPoint point
);
21
void
MouseMoved
(
BPoint point
,
uint32 transit
,
const
BMessage
*
message
);
22
void
SetClose
(
bool
close
);
23
};
24
#endif