mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-09 21:20:45 -08:00
Add more cursor bitmaps on Haiku
* src/haikufns.c (cursor_bitmaps): Register new cursor bitmaps. * src/haikugui.h (hand_ptr_bits, hand_ptrmask_bits) (horizd_ptr_bits, horizd_ptrmask_bits, vertd_ptr_bits) (vertd_ptrmask_bits, hourglass_bits, hourglass_mask_bits): New cursor bitmaps.
This commit is contained in:
parent
3e23957bd6
commit
320eaa0017
2 changed files with 60 additions and 4 deletions
|
|
@ -1856,10 +1856,10 @@ struct user_cursor_bitmap_info cursor_bitmaps[] =
|
|||
{ ibeam_ptr_bits, ibeam_ptrmask_bits, 15, 15, 7, 7 }, /* text_cursor */
|
||||
{ left_ptr_bits, left_ptrmsk_bits, 16, 16, 3, 1 }, /* nontext_cursor */
|
||||
{ left_ptr_bits, left_ptrmsk_bits, 16, 16, 3, 1 }, /* modeline_cursor */
|
||||
{ NULL, NULL, 0, 0, 0, 0 }, /* hand_cursor */
|
||||
{ NULL, NULL, 0, 0, 0, 0 }, /* hourglass_cursor */
|
||||
{ NULL, NULL, 0, 0, 0, 0 }, /* horizontal_drag_cursor */
|
||||
{ NULL, NULL, 0, 0, 0, 0 }, /* vertical_drag_cursor */
|
||||
{ hand_ptr_bits, hand_ptrmask_bits, 15, 15, 4, 3 }, /* hand_cursor */
|
||||
{ hourglass_bits, hourglass_mask_bits, 15, 15, 7, 7 }, /* hourglass_cursor */
|
||||
{ horizd_ptr_bits, horizd_ptrmask_bits, 15, 15, 7, 7 }, /* horizontal_drag_cursor */
|
||||
{ vertd_ptr_bits, vertd_ptrmask_bits, 15, 15, 7, 7 }, /* vertical_drag_cursor */
|
||||
{ NULL, NULL, 0, 0, 0, 0 }, /* left_edge_cursor */
|
||||
{ NULL, NULL, 0, 0, 0, 0 }, /* top_left_corner_cursor */
|
||||
{ NULL, NULL, 0, 0, 0, 0 }, /* top_edge_cursor */
|
||||
|
|
|
|||
|
|
@ -144,4 +144,60 @@ MAYBE_UNUSED static unsigned char ibeam_ptrmask_bits[] =
|
|||
0xfc, 0x1f, 0xfe, 0x3f, 0xfc, 0x1f, 0x00, 0x00
|
||||
};
|
||||
|
||||
MAYBE_UNUSED static unsigned char hand_ptr_bits[] =
|
||||
{
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0xa0, 0x02, 0xa0, 0x02, 0xa0,
|
||||
0x02, 0xf0, 0x07, 0xf0, 0x07, 0xf0, 0x07, 0xf0, 0x07, 0xf0, 0x07,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
MAYBE_UNUSED static unsigned char hand_ptrmask_bits[] =
|
||||
{
|
||||
0x00, 0x00, 0x00, 0x00, 0xa0, 0x02, 0xf0, 0x07, 0xf0, 0x07, 0xf8,
|
||||
0x0f, 0xf8, 0x0f, 0xf8, 0x0f, 0xf8, 0x0f, 0xf8, 0x0f, 0xf8, 0x0f,
|
||||
0xf0, 0x07, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
MAYBE_UNUSED static unsigned char horizd_ptr_bits[] =
|
||||
{
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x04, 0x28,
|
||||
0x0a, 0xf4, 0x17, 0x02, 0x20, 0xf4, 0x17, 0x28, 0x0a, 0x10, 0x04,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
MAYBE_UNUSED static unsigned char horizd_ptrmask_bits[] =
|
||||
{
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x10, 0x04, 0x38,
|
||||
0x0e, 0xfc, 0x1f, 0xfe, 0x3f, 0xfc, 0x1f, 0x38, 0x0e, 0x10, 0x04,
|
||||
0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
MAYBE_UNUSED static unsigned char vertd_ptr_bits[] =
|
||||
{
|
||||
0x00, 0x00, 0x80, 0x00, 0x40, 0x01, 0x20, 0x02, 0x50, 0x05, 0x60,
|
||||
0x03, 0x40, 0x01, 0x40, 0x01, 0x40, 0x01, 0x60, 0x03, 0x50, 0x05,
|
||||
0x20, 0x02, 0x40, 0x01, 0x80, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
MAYBE_UNUSED static unsigned char vertd_ptrmask_bits[] =
|
||||
{
|
||||
0x00, 0x00, 0x80, 0x00, 0xc0, 0x01, 0xe0, 0x03, 0xf0, 0x07, 0xe0,
|
||||
0x03, 0xc0, 0x01, 0xc0, 0x01, 0xc0, 0x01, 0xe0, 0x03, 0xf0, 0x07,
|
||||
0xe0, 0x03, 0xc0, 0x01, 0x80, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
MAYBE_UNUSED static unsigned char hourglass_bits[] =
|
||||
{
|
||||
0x00, 0x00, 0x00, 0x00, 0xe0, 0x03, 0x10, 0x04, 0x08, 0x08, 0x24,
|
||||
0x10, 0x44, 0x10, 0x84, 0x10, 0x84, 0x10, 0x84, 0x10, 0x88, 0x08,
|
||||
0x10, 0x04, 0xe0, 0x03, 0x00, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
MAYBE_UNUSED static unsigned char hourglass_mask_bits[] =
|
||||
{
|
||||
0x00, 0x00, 0x00, 0x00, 0xe0, 0x03, 0xf0, 0x07, 0xf8, 0x0f, 0xfc,
|
||||
0x1f, 0xfc, 0x1f, 0xfc, 0x1f, 0xfc, 0x1f, 0xfc, 0x1f, 0xf8, 0x0f,
|
||||
0xf0, 0x07, 0xe0, 0x03, 0x00, 0x00, 0x00, 0x00
|
||||
};
|
||||
|
||||
#endif /* _HAIKU_GUI_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue