mirror of
https://github.com/netsurf-browser/netsurf
synced 2024-11-28 17:23:09 +03:00
Make framebuffer front end use r6827 functions. Note: stop & reload availability is still not assessed for framebuffer toolbar.
svn path=/trunk/netsurf/; revision=6829
This commit is contained in:
parent
82aedf9600
commit
da3b0227a7
@ -473,12 +473,14 @@ fb_browser_window_input(fbtk_widget_t *widget, int value, void *pw)
|
||||
static void
|
||||
fb_update_back_forward(struct gui_window *gw)
|
||||
{
|
||||
struct browser_window *bw = gw->bw;
|
||||
struct browser_window *bw = gw->bw;
|
||||
|
||||
fbtk_set_bitmap(gw->back,
|
||||
(history_back_available(bw->history))? &left_arrow : &left_arrow_g);
|
||||
fbtk_set_bitmap(gw->forward,
|
||||
(history_forward_available(bw->history))? &right_arrow : &right_arrow_g);
|
||||
fbtk_set_bitmap(gw->back,
|
||||
(browser_window_back_available(bw)) ?
|
||||
&left_arrow : &left_arrow_g);
|
||||
fbtk_set_bitmap(gw->forward,
|
||||
(browser_window_forward_available(bw)) ?
|
||||
&right_arrow : &right_arrow_g);
|
||||
}
|
||||
|
||||
/* left icon click routine */
|
||||
|
Loading…
Reference in New Issue
Block a user