QGIS API Documentation  2.99.0-Master (f867b65)
qgscursors.cpp
Go to the documentation of this file.
1 /***************************************************************************
2  qgscursors.cpp
3 
4  -------------------
5  begin : 2007
6  copyright : (C) 2007 by Gary E. Sherman
7  email : [email protected]
8 ***************************************************************************/
9 
10 /***************************************************************************
11  * *
12  * This program is free software; you can redistribute it and/or modify *
13  * it under the terms of the GNU General Public License as published by *
14  * the Free Software Foundation; either version 2 of the License, or *
15  * (at your option) any later version. *
16  * *
17  ***************************************************************************/
18 #include "qgscursors.h"
19 
20 #define SIP_NO_FILE
21 
22 // cursors
23 const char *zoom_in[] =
24 {
25  "16 16 3 1",
26  ". c None",
27  "a c #000000",
28  "# c #ffffff",
29  ".....#####......",
30  "...##aaaaa##....",
31  "..#.a.....a.#...",
32  ".#.a...a...a.#..",
33  ".#a....a....a#..",
34  "#a.....a.....a#.",
35  "#a.....a.....a#.",
36  "#a.aaaa#aaaa.a#.",
37  "#a.....a.....a#.",
38  "#a.....a.....a#.",
39  ".#a....a....a#..",
40  ".#.a...a...aaa#.",
41  "..#.a.....a#aaa#",
42  "...##aaaaa###aa#",
43  ".....#####...###",
44  "..............#."
45 };
46 
47 const char *zoom_out[] =
48 {
49  "16 16 4 1",
50  "b c None",
51  ". c None",
52  "a c #000000",
53  "# c #ffffff",
54  ".....#####......",
55  "...##aaaaa##....",
56  "..#.a.....a.#...",
57  ".#.a.......a.#..",
58  ".#a.........a#..",
59  "#a...........a#.",
60  "#a...........a#.",
61  "#a.aaaa#aaaa.a#.",
62  "#a...........a#.",
63  "#a...........a#.",
64  ".#a.........a#..",
65  ".#.a.......aaa#.",
66  "..#.a.....a#aaa#",
67  "...##aaaaa###aa#",
68  ".....#####...###",
69  "..............#."
70 };
71 
72 
73 const char *capture_point_cursor[] =
74 {
75  "16 16 3 1",
76  " » c None",
77  ".» c #000000",
78  "+» c #FFFFFF",
79  " ",
80  " +.+ ",
81  " ++.++ ",
82  " +.....+ ",
83  " +. .+ ",
84  " +. . .+ ",
85  " +. . .+ ",
86  " ++. . .++",
87  " ... ...+... ...",
88  " ++. . .++",
89  " +. . .+ ",
90  " +. . .+ ",
91  " ++. .+ ",
92  " ++.....+ ",
93  " ++.++ ",
94  " +.+ "
95 };
96 
97 const char *select_cursor[] =
98 {
99  "16 16 3 1",
100  "# c None",
101  "a c #000000",
102  ". c #ffffff",
103  ".###############",
104  "...#############",
105  ".aa..###########",
106  "#.aaa..a.a.a.a.#",
107  "#.aaaaa..#####a#",
108  "#a.aaaaaa..###.#",
109  "#..aaaaaa...##a#",
110  "#a.aaaaa.#####.#",
111  "#.#.aaaaa.####a#",
112  "#a#.aa.aaa.###.#",
113  "#.##..#..aa.##a#",
114  "#a##.####.aa.#.#",
115  "#.########.aa.a#",
116  "#a#########.aa..",
117  "#.a.a.a.a.a..a.#",
118  "#############.##"
119 };
120 
121 const char *identify_cursor[] =
122 {
123  "16 16 3 1",
124  "# c None",
125  "a c #000000",
126  ". c #ffffff",
127  ".###########..##",
128  "...########.aa.#",
129  ".aa..######.aa.#",
130  "#.aaa..#####..##",
131  "#.aaaaa..##.aa.#",
132  "##.aaaaaa...aa.#",
133  "##.aaaaaa...aa.#",
134  "##.aaaaa.##.aa.#",
135  "###.aaaaa.#.aa.#",
136  "###.aa.aaa..aa.#",
137  "####..#..aa.aa.#",
138  "####.####.aa.a.#",
139  "##########.aa..#",
140  "###########.aa..",
141  "############.a.#",
142  "#############.##"
143 };
144 
145 const char *cross_hair_cursor[] =
146 {
147  "16 16 3 1",
148  " » c None",
149  ".» c #000000",
150  "+» c #FFFFFF",
151  " ",
152  " +.+ ",
153  " +.+ ",
154  " +.+ ",
155  " +.+ ",
156  " +.+ ",
157  " . ",
158  " +++++ +++++",
159  " ...... ......",
160  " +++++ +++++",
161  " . ",
162  " +.+ ",
163  " +.+ ",
164  " +.+ ",
165  " +.+ ",
166  " +.+ "
167 };
168 
169 const char *sampler_cursor[] =
170 {
171  "16 16 3 1",
172  " » c None",
173  ".» c #000000",
174  "+» c #FFFFFF",
175  ".. ",
176  ".+. ",
177  " .+.. ",
178  " .++. ",
179  " .+++. ",
180  " .+++. ",
181  " .+++. ",
182  " .+++... ",
183  " .++... ",
184  " ...... ",
185  " ....... ",
186  " ........ ",
187  " .......",
188  " ......",
189  " .....",
190  " ... "
191 };
const char * select_cursor[]
Definition: qgscursors.cpp:97
const char * zoom_in[]
Bitmap cursors for map operations.
Definition: qgscursors.cpp:23
const char * zoom_out[]
Definition: qgscursors.cpp:47
const char * capture_point_cursor[]
Definition: qgscursors.cpp:73
const char * sampler_cursor[]
Definition: qgscursors.cpp:169
const char * identify_cursor[]
Definition: qgscursors.cpp:121
const char * cross_hair_cursor[]
Definition: qgscursors.cpp:145