mirror of
https://review.haiku-os.org/haiku
synced 2024-11-23 07:18:40 +01:00
HaikuBook: document missing BBitmap constructor
Change-Id: I4fc51b0e499f9cb5e5c4ce58d6baddf462322b3f Reviewed-on: https://review.haiku-os.org/c/haiku/+/7719 Reviewed-by: waddlesplash <waddlesplash@gmail.com> Tested-by: Commit checker robot <no-reply+buildbot@haiku-os.org> Haiku-Format: Haiku-format Bot <no-reply+haikuformatbot@haiku-os.org>
This commit is contained in:
parent
c5a740cdb2
commit
984f843b91
@ -80,7 +80,8 @@ appFileInfo.GetIcon(iconBitmap, B_LARGE_ICON);
|
||||
\param bytesPerRow The number of bytes per row the bitmap should use.
|
||||
\c B_ANY_BYTES_PER_ROW to let the constructor choose an appropriate
|
||||
value.
|
||||
\param screenID ???
|
||||
\param screenID Currently unused. May be used for multi-monitor support in
|
||||
the future.
|
||||
|
||||
\since Haiku R1
|
||||
*/
|
||||
@ -140,6 +141,32 @@ appFileInfo.GetIcon(iconBitmap, B_LARGE_ICON);
|
||||
*/
|
||||
|
||||
|
||||
/*!
|
||||
\fn BBitmap::BBitmap(area_id area, ptrdiff_t areaOffset,
|
||||
BRect bounds, uint32 flags, color_space colorSpace,
|
||||
int32 bytesPerRow, screen_id screenID)
|
||||
\brief Creates a BBitmap object inside of an existing memory area.
|
||||
|
||||
This method is useful if you want to create a BBitmap on top of existing
|
||||
memory or want to share a BBitmap between two or more applications.
|
||||
|
||||
This BBitmap should be deleted before the area is deleted.
|
||||
|
||||
\param area The memory area to use
|
||||
\param areaOffset Offset within the memory area to place bitmap.
|
||||
\param bounds The bitmap dimensions.
|
||||
\param flags Creation flags.
|
||||
\param colorSpace The bitmap's color space.
|
||||
\param bytesPerRow The number of bytes per row the bitmap should use.
|
||||
\c B_ANY_BYTES_PER_ROW to let the constructor choose an appropriate
|
||||
value.
|
||||
\param screenID Currently unused. May be used for multi-monitor support in
|
||||
the future.
|
||||
|
||||
\since Haiku R1
|
||||
*/
|
||||
|
||||
|
||||
/*!
|
||||
\fn BBitmap::BBitmap(BMessage* data)
|
||||
\brief Unarchives a bitmap from a BMessage.
|
||||
|
Loading…
Reference in New Issue
Block a user