removed B_PULSE_NEEDED flag, fixed BRect size

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@9364 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Jérôme Duval
2004-10-15 09:54:15 +00:00
parent a7fa05a54b
commit fbe27baa4c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -24,7 +24,7 @@ class DeskButton : public BView {
public:
DeskButton(BRect frame, entry_ref *ref, const char *name, BList &titleList, BList &actionList,
uint32 resizeMask = B_FOLLOW_ALL,
uint32 flags = B_WILL_DRAW | B_NAVIGABLE | B_PULSE_NEEDED);
uint32 flags = B_WILL_DRAW | B_NAVIGABLE);
DeskButton(BMessage *);
// BMessage * based constructor needed to support archiving
+2 -2
View File
@@ -59,7 +59,7 @@ class MediaReplicant : public BView {
public:
MediaReplicant(BRect frame, const char *name,
uint32 resizeMask = B_FOLLOW_ALL,
uint32 flags = B_WILL_DRAW | B_NAVIGABLE | B_PULSE_NEEDED);
uint32 flags = B_WILL_DRAW | B_NAVIGABLE);
MediaReplicant(BMessage *);
// BMessage * based constructor needed to support archiving
@@ -419,7 +419,7 @@ main(int, char **argv)
entry.GetRef(&ref);
status_t err;
err = BDeskbar().AddItem(new DeskButton(BRect(0, 0, 16, 16), &ref, "DeskButton",
err = BDeskbar().AddItem(new DeskButton(BRect(0, 0, 15, 15), &ref, "DeskButton",
titleList, actionList));
if(err!=B_OK) {