mirror of
https://github.com/netsurf-browser/netsurf
synced 2025-01-10 21:12:01 +03:00
Use progress pointer.
svn path=/trunk/netsurf/; revision=8527
This commit is contained in:
parent
7fc42b80a4
commit
9ec94e4dcf
@ -34,6 +34,7 @@ FB_IMAGE_pointer_image := framebuffer/res/pointers/default.png
|
||||
FB_IMAGE_hand_image := framebuffer/res/pointers/point.png
|
||||
FB_IMAGE_caret_image := framebuffer/res/pointers/caret.png
|
||||
FB_IMAGE_menu_image := framebuffer/res/pointers/menu.png
|
||||
FB_IMAGE_progress_image := framebuffer/res/pointers/progress.png
|
||||
|
||||
FB_IMAGE_throbber0 := framebuffer/res/throbber/throbber0.png
|
||||
FB_IMAGE_throbber1 := framebuffer/res/throbber/throbber1.png
|
||||
|
@ -111,7 +111,7 @@ fb_queue_redraw(struct fbtk_widget_s *widget, int x0, int y0, int x1, int y1)
|
||||
} else {
|
||||
bwidget->redraw_box.y0 = bwidget->redraw_box.x0 = INT_MAX;
|
||||
bwidget->redraw_box.y1 = bwidget->redraw_box.x1 = -(INT_MAX);
|
||||
bwidget->redraw_required = false;
|
||||
bwidget->redraw_required = false;
|
||||
}
|
||||
}
|
||||
|
||||
@ -1087,6 +1087,10 @@ void gui_window_set_pointer(struct gui_window *g, gui_pointer_shape shape)
|
||||
framebuffer_set_cursor(&menu_image);
|
||||
break;
|
||||
|
||||
case GUI_POINTER_PROGRESS:
|
||||
framebuffer_set_cursor(&progress_image);
|
||||
break;
|
||||
|
||||
default:
|
||||
framebuffer_set_cursor(&pointer_image);
|
||||
break;
|
||||
|
@ -39,6 +39,7 @@ extern struct bitmap pointer_image;
|
||||
extern struct bitmap hand_image;
|
||||
extern struct bitmap caret_image;
|
||||
extern struct bitmap menu_image;
|
||||
extern struct bitmap progress_image;
|
||||
|
||||
extern struct bitmap throbber0;
|
||||
extern struct bitmap throbber1;
|
||||
|
Loading…
Reference in New Issue
Block a user