Revert "BView: use off_t instead of long."

This reverts commit ab3a87ed6e.
This commit is contained in:
Jérôme Duval
2017-07-24 08:48:28 +02:00
parent 11384b58ba
commit 13dbf47109
2 changed files with 6 additions and 6 deletions
+3 -3
View File
@@ -514,7 +514,7 @@ public:
void DelayedInvalidate(bigtime_t delay, void DelayedInvalidate(bigtime_t delay,
BRect invalRect); BRect invalRect);
void SetDiskMode(char* filename, off_t offset); void SetDiskMode(char* filename, long offset);
void BeginPicture(BPicture* a_picture); void BeginPicture(BPicture* a_picture);
void AppendToPicture(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);
void DrawPicture(const BPicture* a_picture, void DrawPicture(const BPicture* a_picture,
BPoint where); BPoint where);
void DrawPicture(const char* filename, off_t offset, void DrawPicture(const char* filename, long offset,
BPoint where); BPoint where);
void DrawPictureAsync(const BPicture* a_picture); void DrawPictureAsync(const BPicture* a_picture);
void DrawPictureAsync(const BPicture* a_picture, void DrawPictureAsync(const BPicture* a_picture,
BPoint where); BPoint where);
void DrawPictureAsync(const char* filename, void DrawPictureAsync(const char* filename,
off_t offset, BPoint where); long offset, BPoint where);
void BeginLayer(uint8 opacity); void BeginLayer(uint8 opacity);
void EndLayer(); void EndLayer();
+3 -3
View File
@@ -4098,7 +4098,7 @@ BView::EndLineArray()
void void
BView::SetDiskMode(char* filename, off_t offset) BView::SetDiskMode(char* filename, long offset)
{ {
// TODO: implement // TODO: implement
// One BeBook version has this to say about SetDiskMode(): // One BeBook version has this to say about SetDiskMode():
@@ -4280,7 +4280,7 @@ BView::DrawPicture(const BPicture* picture, BPoint where)
void void
BView::DrawPicture(const char* filename, off_t offset, BPoint where) BView::DrawPicture(const char* filename, long offset, BPoint where)
{ {
if (!filename) if (!filename)
return; return;
@@ -4317,7 +4317,7 @@ BView::DrawPictureAsync(const BPicture* picture, BPoint where)
void void
BView::DrawPictureAsync(const char* filename, off_t offset, BPoint where) BView::DrawPictureAsync(const char* filename, long offset, BPoint where)
{ {
if (!filename) if (!filename)
return; return;