fixed warnings
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@34356 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -20,7 +20,7 @@
|
|||||||
#include <time.h>
|
#include <time.h>
|
||||||
|
|
||||||
|
|
||||||
TOffscreenView::TOffscreenView(BRect frame, char *name, short mRadius,
|
TOffscreenView::TOffscreenView(BRect frame, const char *name, short mRadius,
|
||||||
short hRadius, short offset, long face, bool show)
|
short hRadius, short offset, long face, bool show)
|
||||||
: BView(frame, name, B_FOLLOW_NONE, B_WILL_DRAW),
|
: BView(frame, name, B_FOLLOW_NONE, B_WILL_DRAW),
|
||||||
fHours(0),
|
fHours(0),
|
||||||
@@ -168,7 +168,7 @@ TOffscreenView::~TOffscreenView()
|
|||||||
// #pragma mark -
|
// #pragma mark -
|
||||||
|
|
||||||
|
|
||||||
TOnscreenView::TOnscreenView(BRect rect, char *title, short mRadius,
|
TOnscreenView::TOnscreenView(BRect rect, const char *title, short mRadius,
|
||||||
short hRadius, short offset)
|
short hRadius, short offset)
|
||||||
: BView(rect, title, B_FOLLOW_NONE,
|
: BView(rect, title, B_FOLLOW_NONE,
|
||||||
B_WILL_DRAW | B_PULSE_NEEDED | B_DRAW_ON_CHILDREN),
|
B_WILL_DRAW | B_PULSE_NEEDED | B_DRAW_ON_CHILDREN),
|
||||||
|
|||||||
@@ -16,7 +16,7 @@ class BMessage;
|
|||||||
|
|
||||||
class TOffscreenView : public BView {
|
class TOffscreenView : public BView {
|
||||||
public:
|
public:
|
||||||
TOffscreenView(BRect frame, char *name, short mRadius,
|
TOffscreenView(BRect frame, const char *name, short mRadius,
|
||||||
short hRadius, short offset, long face, bool show);
|
short hRadius, short offset, long face, bool show);
|
||||||
virtual ~TOffscreenView();
|
virtual ~TOffscreenView();
|
||||||
|
|
||||||
@@ -46,7 +46,7 @@ class TOffscreenView : public BView {
|
|||||||
|
|
||||||
class TOnscreenView : public BView {
|
class TOnscreenView : public BView {
|
||||||
public:
|
public:
|
||||||
TOnscreenView(BRect frame, char *name,
|
TOnscreenView(BRect frame, const char *name,
|
||||||
short mRadius, short hRadius, short offset);
|
short mRadius, short hRadius, short offset);
|
||||||
TOnscreenView(BMessage *data);
|
TOnscreenView(BMessage *data);
|
||||||
virtual ~TOnscreenView();
|
virtual ~TOnscreenView();
|
||||||
|
|||||||
Reference in New Issue
Block a user