Use progress pointer.

svn path=/trunk/netsurf/; revision=8527
This commit is contained in:
Michael Drake 2009-07-14 16:18:35 +00:00
parent 7fc42b80a4
commit 9ec94e4dcf
3 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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;

View File

@ -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;