summaryrefslogtreecommitdiff
path: root/beos/beos_scaffolding.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_scaffolding.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_scaffolding.cpp')
-rw-r--r--beos/beos_scaffolding.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/beos/beos_scaffolding.cpp b/beos/beos_scaffolding.cpp
index 7bda4e4d7..79162ef71 100644
--- a/beos/beos_scaffolding.cpp
+++ b/beos/beos_scaffolding.cpp
@@ -527,6 +527,7 @@ void nsbeos_scaffolding_dispatch_event(nsbeos_scaffolding *scaffold, BMessage *m
url = data;
} else
url << path.Path();
+
browser_window_go(bw, url.String(), 0, true);
break;
}
@@ -1303,7 +1304,8 @@ nsbeos_scaffolding *nsbeos_new_scaffolding(struct gui_window *toplevel)
toolbar->AddChild(g->throbber);
g->throbber->SetViewColor(toolbar->ViewColor());
g->throbber->SetLowColor(toolbar->ViewColor());
- g->throbber->SetDrawingMode(B_OP_OVER);
+ g->throbber->SetDrawingMode(B_OP_ALPHA);
+ g->throbber->SetBlendingMode(B_PIXEL_ALPHA, B_ALPHA_OVERLAY);
/* set up the throbber. */
g->throbber->SetBitmap(nsbeos_throbber->framedata[0]);
g->throb_frame = 0;