annotate src/bitmaps/leftptr.xbm @ 69651:b69c19d38ce9

(enum mac_menu_kind): New enum. (min_menu_id): New variable. (POPUP_SUBMENU_ID, MIN_POPUP_SUBMENU_ID, MIN_MENU_ID) (MIN_SUBMENU_ID): Remove defines. All uses are replaced with min_menu_id and enumerators in enum mac_menu_kind. (fill_menu, dispose_menus, install_menu_quit_handler): New arg KIND. All uses changed. Add range check for menu ID. (fill_menubar): Add range check for menu ID. [HAVE_CANCELMENUTRACKING] (menu_quit_handler): Check error code of GetEventParameter. (set_frame_menubar, mac_menu_show): Call install_menu_quit_handler for each menu kind.
author YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
date Fri, 24 Mar 2006 08:11:34 +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 left_ptr_width 16
Dave Love <fx@gnu.org>
parents:
diff changeset
2 #define left_ptr_height 16
Dave Love <fx@gnu.org>
parents:
diff changeset
3 #define left_ptr_x_hot 3
Dave Love <fx@gnu.org>
parents:
diff changeset
4 #define left_ptr_y_hot 1
Dave Love <fx@gnu.org>
parents:
diff changeset
5 static unsigned char left_ptr_bits[] = {
Dave Love <fx@gnu.org>
parents:
diff changeset
6 0x00, 0x00, 0x08, 0x00, 0x18, 0x00, 0x38, 0x00, 0x78, 0x00, 0xf8, 0x00,
Dave Love <fx@gnu.org>
parents:
diff changeset
7 0xf8, 0x01, 0xf8, 0x03, 0xf8, 0x07, 0xf8, 0x00, 0xd8, 0x00, 0x88, 0x01,
Dave Love <fx@gnu.org>
parents:
diff changeset
8 0x80, 0x01, 0x00, 0x03, 0x00, 0x03, 0x00, 0x00};