diff options
author | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-11-28 22:42:23 +0000 |
---|---|---|
committer | Chris Young <chris@unsatisfactorysoftware.co.uk> | 2012-11-28 22:42:23 +0000 |
commit | 168d09c8780de36daa580a2b584059e37744b53b (patch) | |
tree | cff64c8d30e543c0b586ad4d6d0973547b24c3dd /amiga | |
parent | 71577f214da0e53b845b0c0a41496b0f1d0eead5 (diff) | |
download | netsurf-168d09c8780de36daa580a2b584059e37744b53b.tar.gz netsurf-168d09c8780de36daa580a2b584059e37744b53b.tar.bz2 |
Improve the look of the hotlist toolbar
Diffstat (limited to 'amiga')
-rwxr-xr-x | amiga/gui.c | 11 | ||||
-rwxr-xr-x | amiga/gui.h | 1 |
2 files changed, 11 insertions, 1 deletions
diff --git a/amiga/gui.c b/amiga/gui.c index 064c49cbd..2cbceac1e 100755 --- a/amiga/gui.c +++ b/amiga/gui.c @@ -2495,11 +2495,20 @@ void ami_gui_hotlist_toolbar_add(struct gui_window_2 *gwin) SpeedBarObject, GA_ID, GID_HOTLIST, GA_RelVerify, TRUE, + SPEEDBAR_BevelStyle, BVS_NONE, SPEEDBAR_Buttons, &gwin->hotlist_toolbar_list, SpeedBarEnd; + + gwin->objects[GID_HOTLISTSEPBAR] = + BevelObject, + BEVEL_Style, BVS_SBAR_VERT, + BevelEnd; IDoMethod(gwin->objects[GID_HOTLISTLAYOUT], LM_ADDCHILD, gwin->win, gwin->objects[GID_HOTLIST], NULL); + + IDoMethod(gwin->objects[GID_HOTLISTLAYOUT], LM_ADDIMAGE, + gwin->win, gwin->objects[GID_HOTLISTSEPBAR], NULL); } FlushLayoutDomainCache((struct Gadget *)gwin->objects[GID_MAIN]); @@ -2977,7 +2986,7 @@ struct gui_window *gui_create_browser_window(struct browser_window *bw, BEVEL_Style, BVS_SBAR_VERT, BevelEnd, CHILD_WeightedHeight, 0, - LAYOUT_AddChild, g->shared->objects[GID_HOTLISTLAYOUT] = HGroupObject, + LAYOUT_AddChild, g->shared->objects[GID_HOTLISTLAYOUT] = VGroupObject, LAYOUT_SpaceInner, FALSE, LayoutEnd, CHILD_WeightedHeight,0, diff --git a/amiga/gui.h b/amiga/gui.h index 59c60f4c9..14cec107d 100755 --- a/amiga/gui.h +++ b/amiga/gui.h @@ -66,6 +66,7 @@ enum GID_TOOLBARLAYOUT, GID_HOTLIST, GID_HOTLISTLAYOUT, + GID_HOTLISTSEPBAR, GID_HSCROLL, GID_LAST }; |