Quick fix to avoid circular unit reference beetween view.pp and bitmap.pp (see comments in bitmap.pp)
This commit is contained in:
@@ -23,7 +23,7 @@ unit Bitmap;
|
|||||||
interface
|
interface
|
||||||
|
|
||||||
uses
|
uses
|
||||||
BeObj, Archivable, GraphicDefs, Message, OS, Rect, SupportDefs, View;
|
BeObj, Archivable, GraphicDefs, Message, OS, Rect, SupportDefs;
|
||||||
|
|
||||||
const
|
const
|
||||||
B_BITMAP_CLEAR_TO_WHITE = $00000001;
|
B_BITMAP_CLEAR_TO_WHITE = $00000001;
|
||||||
@@ -38,6 +38,10 @@ const
|
|||||||
B_ANY_BYTES_PER_ROW = -1;
|
B_ANY_BYTES_PER_ROW = -1;
|
||||||
|
|
||||||
type
|
type
|
||||||
|
BView = TBeObject; // OCO To avoid circulare reference beetween bitmap.pp and view.pp
|
||||||
|
// We have to look at a better solution in the futur
|
||||||
|
// (This one may not work when using functions that use this
|
||||||
|
// definition)
|
||||||
BBitmap = class(BArchivable)
|
BBitmap = class(BArchivable)
|
||||||
private
|
private
|
||||||
public
|
public
|
||||||
|
|||||||
Reference in New Issue
Block a user