Evince
Evince is a document viewer capable of displaying multiple and single page document formats like PDF and Postscript.
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
ev-view-cursor.c File Reference
#include "ev-view-cursor.h"
+ Include dependency graph for ev-view-cursor.c:

Go to the source code of this file.

Functions

GdkCursor * ev_view_cursor_new (GdkDisplay *display, EvViewCursor new_cursor)
 

Function Documentation

GdkCursor* ev_view_cursor_new ( GdkDisplay *  display,
EvViewCursor  new_cursor 
)

Definition at line 23 of file ev-view-cursor.c.

25 {
26  GdkCursor *cursor = NULL;
27 
28  switch (new_cursor) {
30  break;
32  cursor = gdk_cursor_new_for_display (display, GDK_XTERM);
33  break;
35  cursor = gdk_cursor_new_for_display (display, GDK_HAND2);
36  break;
38  cursor = gdk_cursor_new_for_display (display, GDK_WATCH);
39  break;
41  cursor = gdk_cursor_new_for_display (display, GDK_BLANK_CURSOR);
42  break;
44  cursor = gdk_cursor_new_for_display (display, GDK_FLEUR);
45  break;
47  cursor = gdk_cursor_new_for_display (display, GDK_DOUBLE_ARROW);
48  break;
49  case EV_VIEW_CURSOR_ADD:
50  cursor = gdk_cursor_new_for_display (display, GDK_PLUS);
51  break;
52  }
53 
54  return cursor;
55 }

+ Here is the caller graph for this function: