summaryrefslogtreecommitdiff
path: root/beos/beos_bitmap.cpp
diff options
context:
space:
mode:
authorFran├žois Revel <mmu_man@netsurf-browser.org>2008-06-04 01:53:20 +0000
committerFran├žois Revel <mmu_man@netsurf-browser.org>2008-06-04 01:53:20 +0000
commit524e29c4dfcbe713fc25075c9e1c566370062a55 (patch)
tree996eb330d23a3ff78598f259cd48b3cc6c174ee7 /beos/beos_bitmap.cpp
parent38be80a680ea5e7403dd39353902a7941e7b0147 (diff)
downloadnetsurf-524e29c4dfcbe713fc25075c9e1c566370062a55.tar.gz
netsurf-524e29c4dfcbe713fc25075c9e1c566370062a55.tar.bz2
- fixed alpha bitmap drawing
- fixed polygon drawing - newstyle throbber, loosely copied from the gtk one. svn path=/trunk/netsurf/; revision=4259
Diffstat (limited to 'beos/beos_bitmap.cpp')
-rw-r--r--beos/beos_bitmap.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/beos/beos_bitmap.cpp b/beos/beos_bitmap.cpp
index 6f950394f..3ccf591e3 100644
--- a/beos/beos_bitmap.cpp
+++ b/beos/beos_bitmap.cpp
@@ -97,8 +97,10 @@ static inline void nsbeos_rgba_to_bgra(void *src, void *dst, int width, int heig
to[x].g = from[x].g;
to[x].r = from[x].r;
to[x].a = from[x].a;
+ /*
if (from[x].a == 0)
*(rgb_color *)&to[x] = B_TRANSPARENT_32_BIT;
+ */
}
from += rowstride;
to += rowstride;
@@ -168,7 +170,7 @@ bool bitmap_test_opaque(struct bitmap *bitmap)
{
assert(bitmap);
/* todo: test if bitmap as opaque */
- return bitmap->opaque;
+ return false;//bitmap->opaque;
}
@@ -181,7 +183,7 @@ bool bitmap_get_opaque(struct bitmap *bitmap)
{
assert(bitmap);
/* todo: get whether bitmap is opaque */
- return bitmap->opaque;
+ return false;//bitmap->opaque;
}