annotate src/bitmaps/cntrptr.xbm @ 82944:827101d5eacc

(image-type): New variable. (image-mode): Set default major mode name to "Image[text]". (image-minor-mode): Change LIGHTER to display image-type in the mode line. (image-minor-mode): Set default image-type to "text". (image-toggle-display): After switching to text mode, set image-type to "text" and major mode name to "Image[text]". After switching to image mode, set image-type to actual image type, and add image type to major mode name. Let-bind the same variable names as arguments of `image-type' and `create-image'. Bind `type' to the result of `image-type' and use it as arg of `create-image' to not determine the image type twice.
author Juri Linkov <juri@jurta.org>
date Tue, 28 Aug 2007 22:31:41 +0000
parents 8f14d08e19f7
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
25830
Dave Love <fx@gnu.org>
parents:
diff changeset
1 #define cntr_ptr_width 16
Dave Love <fx@gnu.org>
parents:
diff changeset
2 #define cntr_ptr_height 16
Dave Love <fx@gnu.org>
parents:
diff changeset
3 #define cntr_ptr_x_hot 7
Dave Love <fx@gnu.org>
parents:
diff changeset
4 #define cntr_ptr_y_hot 1
Dave Love <fx@gnu.org>
parents:
diff changeset
5 static unsigned char cntr_ptr_bits[] = {
Dave Love <fx@gnu.org>
parents:
diff changeset
6 0x00, 0x00, 0x80, 0x01, 0x80, 0x01, 0xc0, 0x03, 0xc0, 0x03, 0xe0, 0x07,
Dave Love <fx@gnu.org>
parents:
diff changeset
7 0xe0, 0x07, 0xf0, 0x0f, 0xf0, 0x0f, 0x98, 0x19, 0x88, 0x11, 0x80, 0x01,
Dave Love <fx@gnu.org>
parents:
diff changeset
8 0x80, 0x01, 0x80, 0x01, 0x80, 0x01, 0x00, 0x00};