In article <1992Jun23.173243.13512@pyra.co.uk> jimmy@pyramid.com (Jimmy Aitken) writes: >I seem to remember someone posting the colour required for a 'real' X >pink traingle. I'm wanting to change my boring 'x' in motif to a >slightly more interesting shape, but I though I'd start at first with >a pink triangle, bu I want to get the colour correct. Can anyone help? > >many thanks, >Jimmy >-- I posted this last year. Here are three different cursor sizes; 32, 24, and 16 pixels wide: -------tri32.xbm---------------------------------- #define tri32_width 32 #define tri32_height 32 static char tri32_bits[] = { 0xff, 0xff, 0xff, 0x7f, 0xfe, 0xff, 0xff, 0x3f, 0xfe, 0xff, 0xff, 0x3f, 0xfc, 0xff, 0xff, 0x1f, 0xfc, 0xff, 0xff, 0x1f, 0xf8, 0xff, 0xff, 0x0f, 0xf8, 0xff, 0xff, 0x0f, 0xf0, 0xff, 0xff, 0x07, 0xe0, 0xff, 0xff, 0x03, 0xe0, 0xff, 0xff, 0x03, 0xc0, 0xff, 0xff, 0x01, 0xc0, 0xff, 0xff, 0x01, 0x80, 0xff, 0xff, 0x00, 0x00, 0xff, 0xff, 0x00, 0x00, 0xff, 0x7f, 0x00, 0x00, 0xfe, 0x3f, 0x00, 0x00, 0xfe, 0x3f, 0x00, 0x00, 0xfc, 0x1f, 0x00, 0x00, 0xfc, 0x1f, 0x00, 0x00, 0xf8, 0x0f, 0x00, 0x00, 0xf0, 0x07, 0x00, 0x00, 0xf0, 0x07, 0x00, 0x00, 0xe0, 0x03, 0x00, 0x00, 0xe0, 0x03, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0xc0, 0x01, 0x00, 0x00, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; -------------------------------------------------- -------tri24.xbm---------------------------------- #define tri24_width 24 #define tri24_height 24 static char tri24_bits[] = { 0xff, 0xff, 0x7f, 0xfe, 0xff, 0x3f, 0xfe, 0xff, 0x3f, 0xfc, 0xff, 0x1f, 0xfc, 0xff, 0x1f, 0xf8, 0xff, 0x0f, 0xf8, 0xff, 0x0f, 0xf0, 0xff, 0x07, 0xe0, 0xff, 0x03, 0xe0, 0xff, 0x03, 0xc0, 0xff, 0x01, 0xc0, 0xff, 0x01, 0x80, 0xff, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x7f, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x3e, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x1c, 0x00, 0x00, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; -------------------------------------------------- -------tri16.xbm---------------------------------- #define tri16_width 16 #define tri16_height 16 static char tri16_bits[] = { 0xff, 0x7f, 0xfe, 0x3f, 0xfe, 0x3f, 0xfc, 0x1f, 0xfc, 0x1f, 0xf8, 0x0f, 0xf8, 0x0f, 0xf0, 0x07, 0xe0, 0x03, 0xe0, 0x03, 0xc0, 0x01, 0xc0, 0x01, 0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00}; -------------------------------------------------- The color I liked best was "HotPink1", or #FF69B4; the command to use is: xsetroot -cursor tri16.xbm tri16.xbm -fg '#FF69B4' Enjoy! /ji ______ "Intellectuals trying to \ / ji@cs.columbia.edu out-intellectual other \ / B5 f+ w++ cd g+(+) k+? sv r- p+ intellectuals" (Fritz the Cat) \/ ... It's all greek to me!