Add the cell pointer shape

This commit is contained in:
Kovid Goyal
2023-10-16 20:33:12 +05:30
parent 870522a792
commit 187fa996f8
13 changed files with 42 additions and 22 deletions

View File

@@ -601,6 +601,7 @@ pointer_shape_names = (
'wait',
'progress',
'crosshair',
'cell',
'vertical-text',
'move',
'e-resize',

View File

@@ -144,6 +144,7 @@ pointer_shape(PyObject *shape_name) {
else if (strcmp(name, "wait") == 0) return WAIT_POINTER;
else if (strcmp(name, "progress") == 0) return PROGRESS_POINTER;
else if (strcmp(name, "crosshair") == 0) return CROSSHAIR_POINTER;
else if (strcmp(name, "cell") == 0) return CELL_POINTER;
else if (strcmp(name, "vertical-text") == 0) return VERTICAL_TEXT_POINTER;
else if (strcmp(name, "move") == 0) return MOVE_POINTER;
else if (strcmp(name, "e-resize") == 0) return E_RESIZE_POINTER;