diff options
Diffstat (limited to 'cocoa/bitmap.m')
-rw-r--r-- | cocoa/bitmap.m | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/cocoa/bitmap.m b/cocoa/bitmap.m index 45b1d3b19..45ea1e0a2 100644 --- a/cocoa/bitmap.m +++ b/cocoa/bitmap.m @@ -215,3 +215,19 @@ static CGImageRef cocoa_prepare_bitmap( void *bitmap ) return result; } +static struct gui_bitmap_table bitmap_table = { + .create = bitmap_create, + .destroy = bitmap_destroy, + .set_opaque = bitmap_set_opaque, + .get_opaque = bitmap_get_opaque, + .test_opaque = bitmap_test_opaque, + .get_buffer = bitmap_get_buffer, + .get_rowstride = bitmap_get_rowstride, + .get_width = bitmap_get_width, + .get_height = bitmap_get_height, + .get_bpp = bitmap_get_bpp, + .save = bitmap_save, + .modified = bitmap_modified, +}; + +struct gui_bitmap_table *cocoa_bitmap_table = &bitmap_table; |