diff options
| author | Jason Rumney | 2001-11-18 22:01:13 +0000 |
|---|---|---|
| committer | Jason Rumney | 2001-11-18 22:01:13 +0000 |
| commit | 2cd2396094533266292ab827c9160f8b0e980c88 (patch) | |
| tree | 735091bffdc8c0d4f39e57815309deee421af364 /src | |
| parent | a05e2bae0da8cc92a36af09b4035c0b898445709 (diff) | |
| download | emacs-2cd2396094533266292ab827c9160f8b0e980c88.tar.gz emacs-2cd2396094533266292ab827c9160f8b0e980c88.zip | |
(w32_menu_show, push_menu_pane): Doc fixes.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 61 | ||||
| -rw-r--r-- | src/w32menu.c | 4 |
2 files changed, 63 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index 562a0b2786b..afc688be464 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,64 @@ | |||
| 1 | 2001-11-18 Jason Rumney <jasonr@gnu.org> | ||
| 2 | |||
| 3 | * w32term.c (note_mouse_highlight): Fix type of variable `ignore'. | ||
| 4 | (x_draw_bar_cursor): If the background color of the glyph under | ||
| 5 | the cursor equals the frame's cursor color, use the glyph's | ||
| 6 | foreground color for drawing the bar cursor. | ||
| 7 | (x_after_update_window_line): Clear internal border in different | ||
| 8 | circumstances. | ||
| 9 | (w32_set_vertical_scroll_bar): Check for width and height > 0. | ||
| 10 | (w32_draw_relief_rect): Correct relief by 1 pixel. | ||
| 11 | (x_set_glyph_string_background_width): Set | ||
| 12 | extends_to_end_of_line_p if the row's fill_line_p is set and | ||
| 13 | drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}. | ||
| 14 | (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR | ||
| 15 | if cursor_in_non_selected_windows is false. | ||
| 16 | (show_mouse_face): Clean up. Recognize overwritten cursor | ||
| 17 | differently. | ||
| 18 | (x_draw_glyphs): Remove parameters REAL_START and REAL_END. | ||
| 19 | Notice if cursor gets overwritten. | ||
| 20 | (notice_overwritten_cursor): Renamed from | ||
| 21 | note_overwritten_text_cursor. Rewritten to take glyph widths | ||
| 22 | into account, and to take X positions as parameters. | ||
| 23 | (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p | ||
| 24 | around call to x_draw_glyphs. | ||
| 25 | (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and | ||
| 26 | `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background | ||
| 27 | color to use for image glyph reliefs. | ||
| 28 | (x_draw_image_relief): Accept zero tool_bar_button_relief. | ||
| 29 | (glyph_rect): Remove unused variable `area'. | ||
| 30 | |||
| 31 | * w32fns.c (x_set_frame_parameters): Avoid infinite recursion for | ||
| 32 | some items. | ||
| 33 | (x_set_internal_border_width): Set frame garbaged when window | ||
| 34 | doesn't exist yet. | ||
| 35 | (Fx_create_frame): Accept zero tool_bar_button_relief. | ||
| 36 | (x_clear_image_1, four_corners_best, image_background) | ||
| 37 | (image_background_transparent): New functions. | ||
| 38 | (xpm_format, png_format, jpeg_format, tiff_format, gif_format) | ||
| 39 | (gs_format): Add `:background' entry. | ||
| 40 | (lookup_image): Set IMG's background color if specified. | ||
| 41 | (pbm_load, xbm_load_image, png_load): Set IMG's background field | ||
| 42 | when appropriate. | ||
| 43 | (x_clear_image_1): Reset `background_valid' and | ||
| 44 | `background_transparent_valid' fields. | ||
| 45 | (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of | ||
| 46 | calculating it here. Set IMG's background_transparent field. | ||
| 47 | (enum xpm_keyword_index): Add XPM_BACKGROUND. | ||
| 48 | (enum png_keyword_index): Add PNG_BACKGROUND. | ||
| 49 | (enum jpeg_keyword_index): Add JPEG_BACKGROUND. | ||
| 50 | (enum tiff_keyword_index): Add TIFF_BACKGROUND. | ||
| 51 | (enum gif_keyword_index): Add GIF_BACKGROUND. | ||
| 52 | (enum gs_keyword_index): Add GS_BACKGROUND. | ||
| 53 | (pbm_load, png_load, jpeg_load, tiff_load, gif_load): | ||
| 54 | Pre-calculate image background color where necessary. | ||
| 55 | (x_create_x_image_and_pixmap, xbm_load, gs_load): Use | ||
| 56 | display info's n_cbits entry for screen depth. | ||
| 57 | (Fx_show_tip): Remove unused variables `buffer', `top', | ||
| 58 | `left', `max_width' and `max_height'. | ||
| 59 | |||
| 60 | * w32menu.c (w32_menu_show, push_menu_pane): Doc fixes. | ||
| 61 | |||
| 1 | 2001-11-18 Gerd Moellmann <gerd@gnu.org> | 62 | 2001-11-18 Gerd Moellmann <gerd@gnu.org> |
| 2 | 63 | ||
| 3 | * puresize.h (BASE_PURESIZE): Increase to 750000. | 64 | * puresize.h (BASE_PURESIZE): Increase to 750000. |
diff --git a/src/w32menu.c b/src/w32menu.c index 46252f17a56..101f4b33a6f 100644 --- a/src/w32menu.c +++ b/src/w32menu.c | |||
| @@ -333,7 +333,7 @@ push_left_right_boundary () | |||
| 333 | XVECTOR (menu_items)->contents[menu_items_used++] = Qquote; | 333 | XVECTOR (menu_items)->contents[menu_items_used++] = Qquote; |
| 334 | } | 334 | } |
| 335 | 335 | ||
| 336 | /* Start a new menu pane in menu_items.. | 336 | /* Start a new menu pane in menu_items. |
| 337 | NAME is the pane name. PREFIX_VEC is a prefix key for this pane. */ | 337 | NAME is the pane name. PREFIX_VEC is a prefix key for this pane. */ |
| 338 | 338 | ||
| 339 | static void | 339 | static void |
| @@ -1703,7 +1703,7 @@ w32_menu_show (f, x, y, for_click, keymaps, title, error) | |||
| 1703 | wv->key = (char *) XSTRING (descrip)->data; | 1703 | wv->key = (char *) XSTRING (descrip)->data; |
| 1704 | wv->value = 0; | 1704 | wv->value = 0; |
| 1705 | /* Use the contents index as call_data, since we are | 1705 | /* Use the contents index as call_data, since we are |
| 1706 | restricted to 16-bits.. */ | 1706 | restricted to 16-bits. */ |
| 1707 | wv->call_data = !NILP (def) ? (void *) (EMACS_INT) i : 0; | 1707 | wv->call_data = !NILP (def) ? (void *) (EMACS_INT) i : 0; |
| 1708 | wv->enabled = !NILP (enable); | 1708 | wv->enabled = !NILP (enable); |
| 1709 | 1709 | ||