BView: use off_t instead of long.
This commit is contained in:
@@ -514,7 +514,7 @@ public:
|
||||
void DelayedInvalidate(bigtime_t delay,
|
||||
BRect invalRect);
|
||||
|
||||
void SetDiskMode(char* filename, long offset);
|
||||
void SetDiskMode(char* filename, off_t offset);
|
||||
|
||||
void BeginPicture(BPicture* a_picture);
|
||||
void AppendToPicture(BPicture* a_picture);
|
||||
@@ -523,13 +523,13 @@ public:
|
||||
void DrawPicture(const BPicture* a_picture);
|
||||
void DrawPicture(const BPicture* a_picture,
|
||||
BPoint where);
|
||||
void DrawPicture(const char* filename, long offset,
|
||||
void DrawPicture(const char* filename, off_t offset,
|
||||
BPoint where);
|
||||
void DrawPictureAsync(const BPicture* a_picture);
|
||||
void DrawPictureAsync(const BPicture* a_picture,
|
||||
BPoint where);
|
||||
void DrawPictureAsync(const char* filename,
|
||||
long offset, BPoint where);
|
||||
off_t offset, BPoint where);
|
||||
|
||||
void BeginLayer(uint8 opacity);
|
||||
void EndLayer();
|
||||
|
||||
@@ -4098,7 +4098,7 @@ BView::EndLineArray()
|
||||
|
||||
|
||||
void
|
||||
BView::SetDiskMode(char* filename, long offset)
|
||||
BView::SetDiskMode(char* filename, off_t offset)
|
||||
{
|
||||
// TODO: implement
|
||||
// One BeBook version has this to say about SetDiskMode():
|
||||
@@ -4280,7 +4280,7 @@ BView::DrawPicture(const BPicture* picture, BPoint where)
|
||||
|
||||
|
||||
void
|
||||
BView::DrawPicture(const char* filename, long offset, BPoint where)
|
||||
BView::DrawPicture(const char* filename, off_t offset, BPoint where)
|
||||
{
|
||||
if (!filename)
|
||||
return;
|
||||
@@ -4317,7 +4317,7 @@ BView::DrawPictureAsync(const BPicture* picture, BPoint where)
|
||||
|
||||
|
||||
void
|
||||
BView::DrawPictureAsync(const char* filename, long offset, BPoint where)
|
||||
BView::DrawPictureAsync(const char* filename, off_t offset, BPoint where)
|
||||
{
|
||||
if (!filename)
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user