re-adding .pngs as binary
[dia.git] / app / cursor.h
blob9ce0ea31bf3413c7a84c7b09280164e76137f2bd
1 /* Dia -- an diagram creation/manipulation program
2 * Copyright (C) 1998 Alexander Larsson
4 * This program is free software; you can redistribute it and/or modify
5 * it under the terms of the GNU General Public License as published by
6 * the Free Software Foundation; either version 2 of the License, or
7 * (at your option) any later version.
9 * This program is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 * GNU General Public License for more details.
14 * You should have received a copy of the GNU General Public License
15 * along with this program; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
19 /* Definitions for creating cursors */
20 /* Collected here so that it will be easier to use cursors provided
21 by a toolkit */
23 typedef enum {
24 CURSOR_POINT,
25 CURSOR_SCROLL,
26 CURSOR_GRAB,
27 CURSOR_GRABBING,
28 CURSOR_ZOOM_OUT,
29 CURSOR_ZOOM_IN,
30 MAX_CURSORS
31 } DiaCursorType;
33 /* Preferred way to get a cursor */
34 GdkCursor *get_cursor(DiaCursorType ctype);
35 GdkCursor *create_cursor(GdkWindow *window,
36 const gchar *data, int width, int height,
37 const gchar *mask, int hot_x, int hot_y);