Changeset View
Changeset View
Standalone View
Standalone View
source/blender/windowmanager/intern/wm_cursors.c
| Context not available. | |||||
| BlenderCursor[WM_CURSOR_PICK_AREA] = &PickAreaCursor; | BlenderCursor[WM_CURSOR_PICK_AREA] = &PickAreaCursor; | ||||
| END_CURSOR_BLOCK; | END_CURSOR_BLOCK; | ||||
| /**************** North-West Area Corner Cursor ****************/ | |||||
| BEGIN_CURSOR_BLOCK; | |||||
| static char nwarea_corner_bitmap[] = { | |||||
| 0x00, 0x00, 0xfe, 0x03, 0xfe, 0x03, 0xfe, 0x03, | |||||
| 0x0e, 0x40, 0x0e, 0xe0, 0x0e, 0x70, 0x0e, 0x38, | |||||
| 0x0e, 0x1c, 0x0e, 0x0e, 0x00, 0x07, 0x80, 0x23, | |||||
| 0xc0, 0x31, 0xe0, 0x38, 0x70, 0x00, 0x20, 0x00, | |||||
| }; | |||||
| static char nwarea_corner_mask[] = { | |||||
| 0xfe, 0x03, 0xff, 0x07, 0xff, 0x07, 0xff, 0x47, | |||||
| 0xff, 0xe3, 0x1f, 0xf0, 0x1f, 0xf8, 0x1f, 0x7c, | |||||
| 0x1f, 0x3e, 0x1f, 0x1f, 0x8e, 0x2f, 0xc0, 0x77, | |||||
| 0xe0, 0x7b, 0xf0, 0x7d, 0xf8, 0x38, 0x70, 0x00, | |||||
| }; | |||||
| static BCursor NWAreaCornerCursor = { | |||||
| nwarea_corner_bitmap, | |||||
| nwarea_corner_mask, | |||||
| 7, | |||||
| 7, | |||||
| true, | |||||
| }; | |||||
| BlenderCursor[WM_CURSOR_NW_AREA_CORNER] = &NWAreaCornerCursor; | |||||
| END_CURSOR_BLOCK; | |||||
| /**************** North-East Area Corner Cursor ****************/ | |||||
| BEGIN_CURSOR_BLOCK; | |||||
| static char nearea_corner_bitmap[] = { | |||||
| 0x00, 0x00, 0xc0, 0x7f, 0xc0, 0x7f, 0xc0, 0x7f, | |||||
| 0x02, 0x70, 0x07, 0x70, 0x0e, 0x70, 0x1c, 0x70, | |||||
| 0x38, 0x70, 0x70, 0x70, 0xe0, 0x00, 0xc4, 0x01, | |||||
| 0x8c, 0x03, 0x1c, 0x07, 0x00, 0x0e, 0x00, 0x04, | |||||
| }; | |||||
| static char nearea_corner_mask[] = { | |||||
| 0xc0, 0x7f, 0xe0, 0xff, 0xe0, 0xff, 0xe2, 0xff, | |||||
| 0xc7, 0xff, 0x0f, 0xf8, 0x1f, 0xf8, 0x3e, 0xf8, | |||||
| 0x7c, 0xf8, 0xf8, 0xf8, 0xf4, 0x71, 0xee, 0x03, | |||||
| 0xde, 0x07, 0xbe, 0x0f, 0x1c, 0x1f, 0x00, 0x0e, | |||||
| }; | |||||
| static BCursor NEAreaCornerCursor = { | |||||
| nearea_corner_bitmap, | |||||
| nearea_corner_mask, | |||||
| 7, | |||||
| 7, | |||||
| true, | |||||
| }; | |||||
| BlenderCursor[WM_CURSOR_NE_AREA_CORNER] = &NEAreaCornerCursor; | |||||
| END_CURSOR_BLOCK; | |||||
| /**************** South-West Area Corner Cursor ****************/ | |||||
| BEGIN_CURSOR_BLOCK; | |||||
| static char swarea_corner_bitmap[] = { | |||||
| 0x20, 0x00, 0x70, 0x00, 0xe0, 0x38, 0xc0, 0x31, | |||||
| 0x80, 0x23, 0x00, 0x07, 0x0e, 0x0e, 0x0e, 0x1c, | |||||
| 0x0e, 0x38, 0x0e, 0x70, 0x0e, 0xe0, 0x0e, 0x40, | |||||
| 0xfe, 0x03, 0xfe, 0x03, 0xfe, 0x03, 0x00, 0x00, | |||||
| }; | |||||
| static char swarea_corner_mask[] = { | |||||
| 0x70, 0x00, 0xf8, 0x38, 0xf0, 0x7d, 0xe0, 0x7b, | |||||
| 0xc0, 0x77, 0x8e, 0x2f, 0x1f, 0x1f, 0x1f, 0x3e, | |||||
| 0x1f, 0x7c, 0x1f, 0xf8, 0x1f, 0xf0, 0xff, 0xe3, | |||||
| 0xff, 0x47, 0xff, 0x07, 0xff, 0x07, 0xfe, 0x03, | |||||
| }; | |||||
| static BCursor SWAreaCornerCursor = { | |||||
| swarea_corner_bitmap, | |||||
| swarea_corner_mask, | |||||
| 7, | |||||
| 7, | |||||
| true, | |||||
| }; | |||||
| BlenderCursor[WM_CURSOR_SW_AREA_CORNER] = &SWAreaCornerCursor; | |||||
| END_CURSOR_BLOCK; | |||||
| /**************** South-East Area Corner Cursor ****************/ | |||||
| BEGIN_CURSOR_BLOCK; | |||||
| static char searea_corner_bitmap[] = { | |||||
| 0x00, 0x04, 0x00, 0x0e, 0x1c, 0x07, 0x8c, 0x03, | |||||
| 0xc4, 0x01, 0xe0, 0x00, 0x70, 0x70, 0x38, 0x70, | |||||
| 0x1c, 0x70, 0x0e, 0x70, 0x07, 0x70, 0x02, 0x70, | |||||
| 0xc0, 0x7f, 0xc0, 0x7f, 0xc0, 0x7f, 0x00, 0x00, | |||||
| }; | |||||
| static char searea_corner_mask[] = { | |||||
| 0x00, 0x0e, 0x1c, 0x1f, 0xbe, 0x0f, 0xde, 0x07, | |||||
| 0xee, 0x03, 0xf4, 0x71, 0xf8, 0xf8, 0x7c, 0xf8, | |||||
| 0x3e, 0xf8, 0x1f, 0xf8, 0x0f, 0xf8, 0xc7, 0xff, | |||||
| 0xe2, 0xff, 0xe0, 0xff, 0xe0, 0xff, 0xc0, 0x7f, | |||||
| }; | |||||
| static BCursor SEAreaCornerCursor = { | |||||
| searea_corner_bitmap, | |||||
| searea_corner_mask, | |||||
| 7, | |||||
| 7, | |||||
| true, | |||||
| }; | |||||
| BlenderCursor[WM_CURSOR_SE_AREA_CORNER] = &SEAreaCornerCursor; | |||||
| END_CURSOR_BLOCK; | |||||
| /********************** Put the cursors in the array ***********************/ | /********************** Put the cursors in the array ***********************/ | ||||
| } | } | ||||
| Context not available. | |||||