summaryrefslogtreecommitdiff
path: root/gtk
diff options
context:
space:
mode:
authorMichael Drake <tlsa@netsurf-browser.org>2008-09-07 19:08:57 +0000
committerMichael Drake <tlsa@netsurf-browser.org>2008-09-07 19:08:57 +0000
commit2557b029aedde3b1c9ec68e49f495373d5cc71ef (patch)
treea46ab181df22a1221953a44adbf240f4b9d27e5c /gtk
parent3ea88d90a130ba28eb9e3cc3da2406b1878c06b1 (diff)
downloadnetsurf-2557b029aedde3b1c9ec68e49f495373d5cc71ef.tar.gz
netsurf-2557b029aedde3b1c9ec68e49f495373d5cc71ef.tar.bz2
Fix Amiga bitmap_get_bpp to be same as others. (It's bytes per pixel, not bits.) Fix param comments for vbitmap.
svn path=/trunk/netsurf/; revision=5281
Diffstat (limited to 'gtk')
-rw-r--r--gtk/gtk_bitmap.c22
1 files changed, 11 insertions, 11 deletions
diff --git a/gtk/gtk_bitmap.c b/gtk/gtk_bitmap.c
index e08741260..0fc0414e9 100644
--- a/gtk/gtk_bitmap.c
+++ b/gtk/gtk_bitmap.c
@@ -73,8 +73,8 @@ void *bitmap_create(int width, int height, unsigned int state)
/**
* Sets whether a bitmap should be plotted opaque
*
- * \param bitmap a bitmap, as returned by bitmap_create()
- * \param opaque whether the bitmap should be plotted opaque
+ * \param vbitmap a bitmap, as returned by bitmap_create()
+ * \param opaque whether the bitmap should be plotted opaque
*/
void bitmap_set_opaque(void *vbitmap, bool opaque)
{
@@ -87,7 +87,7 @@ void bitmap_set_opaque(void *vbitmap, bool opaque)
/**
* Tests whether a bitmap has an opaque alpha channel
*
- * \param bitmap a bitmap, as returned by bitmap_create()
+ * \param vbitmap a bitmap, as returned by bitmap_create()
* \return whether the bitmap is opaque
*/
bool bitmap_test_opaque(void *vbitmap)
@@ -102,7 +102,7 @@ bool bitmap_test_opaque(void *vbitmap)
/**
* Gets whether a bitmap should be plotted opaque
*
- * \param bitmap a bitmap, as returned by bitmap_create()
+ * \param vbitmap a bitmap, as returned by bitmap_create()
*/
bool bitmap_get_opaque(void *vbitmap)
{
@@ -116,7 +116,7 @@ bool bitmap_get_opaque(void *vbitmap)
/**
* Return a pointer to the pixel data in a bitmap.
*
- * \param bitmap a bitmap, as returned by bitmap_create()
+ * \param vbitmap a bitmap, as returned by bitmap_create()
* \return pointer to the pixel buffer
*
* The pixel data is packed as BITMAP_FORMAT, possibly with padding at the end
@@ -134,7 +134,7 @@ unsigned char *bitmap_get_buffer(void *vbitmap)
/**
* Find the width of a pixel row in bytes.
*
- * \param bitmap a bitmap, as returned by bitmap_create()
+ * \param vbitmap a bitmap, as returned by bitmap_create()
* \return width of a pixel row in the bitmap
*/
@@ -149,7 +149,7 @@ size_t bitmap_get_rowstride(void *vbitmap)
/**
* Find the bytes per pixel of a bitmap
*
- * \param bitmap a bitmap, as returned by bitmap_create()
+ * \param vbitmap a bitmap, as returned by bitmap_create()
* \return bytes per pixel
*/
@@ -174,7 +174,7 @@ gtk_bitmap_free_pretiles(struct bitmap *bitmap)
/**
* Free a bitmap.
*
- * \param bitmap a bitmap, as returned by bitmap_create()
+ * \param vbitmap a bitmap, as returned by bitmap_create()
*/
void bitmap_destroy(void *vbitmap)
@@ -190,9 +190,9 @@ void bitmap_destroy(void *vbitmap)
/**
* Save a bitmap in the platform's native format.
*
- * \param bitmap a bitmap, as returned by bitmap_create()
- * \param path pathname for file
- * \param flags modify the behaviour of the save
+ * \param vbitmap a bitmap, as returned by bitmap_create()
+ * \param path pathname for file
+ * \param flags modify the behaviour of the save
* \return true on success, false on error and error reported
*/