Skip to content

Commit 3cf928b

Browse files
authored
New design for table selection cursors (#451)
* New design for table selection * New cursors * Smoother Windows cursors * Smoother macOS cursors * Updated X11 cursor * Next updated X11 cursor * Next updated X11 cursor * Last updated X11 cursor * Corrected X11 cursor * Hopefully corrected X11 cursor * Hopefully corrected X11 cursors * Corrected X11 cursors
1 parent 0c4cad5 commit 3cf928b

26 files changed

+453
-416
lines changed

main/vcl/aqua/source/app/saldata.cxx

Lines changed: 220 additions & 221 deletions
Large diffs are not rendered by default.
127 Bytes
Loading
107 Bytes
Loading
179 Bytes
Loading
106 Bytes
Loading
80 Bytes
Loading

main/vcl/inc/unx/x11_cursors/tblsele_curs.h

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,33 @@
1919
*
2020
*************************************************************/
2121

22-
23-
#define tblsele_curs_width 16
24-
#define tblsele_curs_height 16
25-
#define tblsele_curs_x_hot 14
26-
#define tblsele_curs_y_hot 8
22+
#define tblsele_curs_width 24
23+
#define tblsele_curs_height 24
24+
#define tblsele_curs_x_hot 22
25+
#define tblsele_curs_y_hot 11
2726

2827
static const unsigned char tblsele_curs_bits[] = {
29-
0x00,0x00,
30-
0x00,0x00,
31-
0x00,0x00,
32-
0x00,0x00,
33-
0x00,0x04,
34-
0x00,0x0c,
35-
0x00,0x1c,
36-
0xfc,0x3f,
37-
0xfc,0x7f,
38-
0xfc,0x3f,
39-
0x00,0x1c,
40-
0x00,0x0c,
41-
0x00,0x04,
42-
0x00,0x00,
43-
0x00,0x00,
44-
0x00,0x00};
28+
0x00,0x00,0x00,
29+
0x00,0x00,0x00,
30+
0x00,0x00,0x00,
31+
0x00,0x00,0x00,
32+
0x00,0x40,0x00,
33+
0x00,0xC0,0x00,
34+
0x00,0xC0,0x01,
35+
0x00,0xC0,0x03,
36+
0x00,0xC0,0x07,
37+
0x00,0xC0,0x0F,
38+
0x00,0xC0,0x1F,
39+
0x00,0xC0,0x3F,
40+
0x00,0xC0,0x1F,
41+
0x00,0xC0,0x0F,
42+
0x00,0xC0,0x07,
43+
0x00,0xC0,0x03,
44+
0x00,0xC0,0x01,
45+
0x00,0xC0,0x00,
46+
0x00,0x40,0x00,
47+
0x00,0x00,0x00,
48+
0x00,0x00,0x00,
49+
0x00,0x00,0x00,
50+
0x00,0x00,0x00,
51+
0x00,0x00,0x00};

main/vcl/inc/unx/x11_cursors/tblsele_mask.h

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,33 @@
1919
*
2020
*************************************************************/
2121

22-
23-
#define tblsele_mask_width 16
24-
#define tblsele_mask_height 16
25-
#define tblsele_mask_x_hot 14
26-
#define tblsele_mask_y_hot 8
22+
#define tblsele_mask_width 24
23+
#define tblsele_mask_height 24
24+
#define tblsele_mask_x_hot 22
25+
#define tblsele_mask_y_hot 11
2726

2827
static const unsigned char tblsele_mask_bits[] = {
29-
0x00,0x00,
30-
0x00,0x00,
31-
0x00,0x00,
32-
0x00,0x06,
33-
0x00,0x0e,
34-
0x00,0x1e,
35-
0xfe,0x3f,
36-
0xfe,0x7f,
37-
0xfe,0xff,
38-
0xfe,0x7f,
39-
0xfe,0x3f,
40-
0x00,0x1e,
41-
0x00,0x0e,
42-
0x00,0x06,
43-
0x00,0x00,
44-
0x00,0x00};
28+
0x00,0x00,0x00,
29+
0x00,0x00,0x00,
30+
0x00,0x20,0x00,
31+
0x00,0x60,0x00,
32+
0x00,0xE0,0x00,
33+
0x00,0xE0,0x01,
34+
0x00,0xE0,0x03,
35+
0x00,0xE0,0x07,
36+
0x00,0xE0,0x0F,
37+
0x00,0xE0,0x1F,
38+
0x00,0xE0,0x3F,
39+
0x00,0xE0,0x7F,
40+
0x00,0xE0,0x3F,
41+
0x00,0xE0,0x1F,
42+
0x00,0xE0,0x0F,
43+
0x00,0xE0,0x07,
44+
0x00,0xE0,0x03,
45+
0x00,0xE0,0x01,
46+
0x00,0xE0,0x00,
47+
0x00,0x60,0x00,
48+
0x00,0x20,0x00,
49+
0x00,0x00,0x00,
50+
0x00,0x00,0x00,
51+
0x00,0x00,0x00};

main/vcl/inc/unx/x11_cursors/tblsels_curs.h

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,33 @@
1919
*
2020
*************************************************************/
2121

22-
23-
#define tblsels_curs_width 16
24-
#define tblsels_curs_height 16
25-
#define tblsels_curs_x_hot 7
26-
#define tblsels_curs_y_hot 14
22+
#define tblsels_curs_width 24
23+
#define tblsels_curs_height 24
24+
#define tblsels_curs_x_hot 11
25+
#define tblsels_curs_y_hot 22
2726

2827
static const unsigned char tblsels_curs_bits[] = {
29-
0x00,0x00,
30-
0x00,0x00,
31-
0xc0,0x01,
32-
0xc0,0x01,
33-
0xc0,0x01,
34-
0xc0,0x01,
35-
0xc0,0x01,
36-
0xc0,0x01,
37-
0xc0,0x01,
38-
0xc0,0x01,
39-
0xf8,0x0f,
40-
0xf0,0x07,
41-
0xe0,0x03,
42-
0xc0,0x01,
43-
0x80,0x00,
44-
0x00,0x00};
28+
0x00,0x00,0x00,
29+
0x00,0x00,0x00,
30+
0x00,0x00,0x00,
31+
0x00,0x00,0x00,
32+
0x00,0x00,0x00,
33+
0x00,0x00,0x00,
34+
0x00,0x00,0x00,
35+
0x00,0x00,0x00,
36+
0x00,0x00,0x00,
37+
0x00,0x00,0x00,
38+
0x00,0x00,0x00,
39+
0x00,0x00,0x00,
40+
0x00,0x00,0x00,
41+
0x00,0x00,0x00,
42+
0xF0,0xFF,0x07,
43+
0xE0,0xFF,0x03,
44+
0xC0,0xFF,0x01,
45+
0x80,0xFF,0x00,
46+
0x00,0x7F,0x00,
47+
0x00,0x3E,0x00,
48+
0x00,0x1C,0x00,
49+
0x00,0x08,0x00,
50+
0x00,0x00,0x00,
51+
0x00,0x00,0x00};

main/vcl/inc/unx/x11_cursors/tblsels_mask.h

Lines changed: 28 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -19,26 +19,33 @@
1919
*
2020
*************************************************************/
2121

22-
23-
#define tblsels_mask_width 16
24-
#define tblsels_mask_height 16
25-
#define tblsels_curs_x_hot 7
26-
#define tblsels_curs_y_hot 14
22+
#define tblsels_mask_width 24
23+
#define tblsels_mask_height 24
24+
#define tblsels_mask_x_hot 11
25+
#define tblsels_mask_y_hot 22
2726

2827
static const unsigned char tblsels_mask_bits[] = {
29-
0x00,0x00,
30-
0xe0,0x03,
31-
0xe0,0x03,
32-
0xe0,0x03,
33-
0xe0,0x03,
34-
0xe0,0x03,
35-
0xe0,0x03,
36-
0xe0,0x03,
37-
0xe0,0x03,
38-
0xfc,0x1f,
39-
0xfc,0x1f,
40-
0xf8,0x0f,
41-
0xf0,0x07,
42-
0xe0,0x03,
43-
0xc0,0x01,
44-
0x80,0x00};
28+
0x00,0x00,0x00,
29+
0x00,0x00,0x00,
30+
0x00,0x00,0x00,
31+
0x00,0x00,0x00,
32+
0x00,0x00,0x00,
33+
0x00,0x00,0x00,
34+
0x00,0x00,0x00,
35+
0x00,0x00,0x00,
36+
0x00,0x00,0x00,
37+
0x00,0x00,0x00,
38+
0x00,0x00,0x00,
39+
0x00,0x00,0x00,
40+
0x00,0x00,0x00,
41+
0xFC,0xFF,0x1F,
42+
0xF8,0xFF,0x0F,
43+
0xF0,0xFF,0x07,
44+
0xE0,0xFF,0x03,
45+
0xC0,0xFF,0x01,
46+
0x80,0xFF,0x00,
47+
0x00,0x7F,0x00,
48+
0x00,0x3E,0x00,
49+
0x00,0x1C,0x00,
50+
0x00,0x08,0x00,
51+
0x00,0x00,0x00};

0 commit comments

Comments
 (0)