1. 05 Jan, 2002 1 commit
    • Jason Rumney's avatar
      (x_setup_relief_colors): Don't compute an image's · 6637c996
      Jason Rumney authored
      background color if it doesn't have a Pixmap.
      (notice_overwritten_cursor): Don't depend on
      output_cursor and updated_area.  Compare pixel coordinates with
      window's cursor pixel coordinates.
      (x_draw_glyphs, x_clear_end_of_line, show_mouse_face): Call
      notice_overwritten_cursor with new arg list.
      (show_mouse_face): Fix bug setting a row's mouse_face_p flag
      unconditionally.
      (x_draw_image_relief): Use predefined macro instead of
      constant when the value of `tool_bar_button_relief' is negative.
      
      (x_display_and_set_cursor): Fix PostMessage arg types.
      6637c996
  2. 20 Dec, 2001 1 commit
  3. 01 Dec, 2001 2 commits
  4. 28 Nov, 2001 1 commit
  5. 24 Nov, 2001 1 commit
  6. 18 Nov, 2001 1 commit
    • Jason Rumney's avatar
      (note_mouse_highlight): Fix type of variable `ignore'. · 6ff3e5e3
      Jason Rumney authored
      (x_draw_bar_cursor): If the background color of the glyph under
      the cursor equals the frame's cursor color, use the glyph's
      foreground color for drawing the bar cursor.
      (x_after_update_window_line): Clear internal border in different
      circumstances.
      (w32_set_vertical_scroll_bar): Check for width and height > 0.
      (w32_draw_relief_rect): Correct relief by 1 pixel.
      (x_set_glyph_string_background_width): Set
      extends_to_end_of_line_p if the row's fill_line_p is set and
      drawing the last glyph with DRAW_IMAGE_{RAISED,SUNKEN}.
      (x_display_and_set_cursor): If cursor_in_echo_area, use NO_CURSOR
      if cursor_in_non_selected_windows is false.
      (show_mouse_face): Clean up.  Recognize overwritten cursor
      differently.
      (x_draw_glyphs): Remove parameters REAL_START and REAL_END.
      Notice if cursor gets overwritten.
      (notice_overwritten_cursor): Renamed from
      note_overwritten_text_cursor.  Rewritten to take glyph widths
      into account, and to take X positions as parameters.
      (x_draw_phys_cursor_glyph): Save state of w->phys_cursor_on_p
      around call to x_draw_glyphs.
      (x_setup_relief_colors): Use `IMAGE_BACKGROUND' and
      `IMAGE_BACKGROUND_TRANSPARENT' to calculate the correct background
      color to use for image glyph reliefs.
      (x_draw_image_relief): Accept zero tool_bar_button_relief.
      (glyph_rect): Remove unused variable `area'.
      6ff3e5e3
  7. 16 Nov, 2001 1 commit
    • Kim F. Storm's avatar
      Fringe cleanup. · 33c34bea
      Kim F. Storm authored
      Comment fixes. Use renamed symbols.
      (fringe_bitmap_type): Renamed from bitmap_type.
      (NO_FRINGE_BITMAP): Renamed from NO_BITMAP.
      (w32_draw_fringe_bitmap): Renamed from w32_draw_bitmap.
      (x_draw_row_fringe_bitmaps): Renamed from x_draw_row_bitmaps.
      33c34bea
  8. 12 Nov, 2001 1 commit
  9. 07 Nov, 2001 1 commit
  10. 05 Nov, 2001 2 commits
  11. 27 Oct, 2001 1 commit
    • Jason Rumney's avatar
      (w32_system_caret_hwnd, w32_system_caret_width) · abb15ebd
      Jason Rumney authored
      (w32_system_caret_height, w32_system_caret_x)
      (w32_system_caret_y): New variables for tracking system caret.
      (w32_initialize): Initialize them.
      (x_display_and_set_cursor): Make system caret follow the active cursor.
      abb15ebd
  12. 24 Oct, 2001 1 commit
  13. 21 Oct, 2001 3 commits
    • Jason Rumney's avatar
      (x_erase_phys_cursor): Remove inverse_p. · 98515cf0
      Jason Rumney authored
      98515cf0
    • Jason Rumney's avatar
      Fix formatting for new function. · 565153ff
      Jason Rumney authored
      565153ff
    • Jason Rumney's avatar
      (remember_mouse_glyph): New function. · 9f5a911b
      Jason Rumney authored
      (w32_mouse_position): Use it.
      (note_mouse_movement): If the mouse moved off the glyph, remember its
      new position.
      
      Sync with xterm.c:
      (notice_overwritten_cursor): Renamed from note_overwritten_text_cursor.
      Rewritten to take glyph widths into account.
      (x_y_to_hpos_vpos): Add parameter BUFFER_ONLY_P.
      (fast_find_string_pos): New function.
      (fast_find_position): Return the correct vpos.  Add parameter STOP.
      In the final row, stop before glyphs having STOP as object.
      Don't consider glyphs that are not from a buffer.
      (fast_find_position) [0]: Add a presumably more correct version for after 21.1.
      (expose_window_tree, expose_frame): Don't compute intersections here.
      (expose_window): Do it here instead.
      (expose_window_tree, expose_window, expose_line): Return 1 when
      overwriting mouse-face.
      (expose_window): If W is the window currently being updated, mark
      the frame garbaged.
      (expose_frame): If mouse-face was overwritten, redo it.
      (x_use_underline_position_properties): New variable.
      (syms_of_xterm): DEFVAR_BOOL it.
      (x_draw_glyph_string): Add comment to use it in future.
      (x_draw_glyph_string): Restore clipping after drawing box.
      Fix a computation of the underline position.
      (w32_get_glyph_string_clip_rect): Minor cleanup.
      (x_fill_stretch_glyph_string): Remove an assertion.
      (x_produce_glyphs): Don't convert multibyte characters
      to unibyte characters in unibyte buffers.
      (cursor_in_mouse_face_p): New function.
      (x_draw_stretch_glyph_string): Use it to choose a different GC
      when drawing a cursor within highlighted text.  Don't draw
      background again if it has already been drawn.
      (x_draw_glyph_string_box): Don't draw a full-width
      box just because the glyph row's full_width_p flag is set.
      (x_draw_glyphs): Fix computation of rightmost x for full-width rows.
      (x_dump_glyph_string): Put in #if GLYPH_DEBUG.
      (w32_draw_relief_rect): Extend left shadow to the bottom and left;
      change bottom shadow accordingly. Some cleanup.
      (x_update_window_end): Handle overwritten mouse face
      also for tool bar windows.
      (show_mouse_face): Set the glyph row's mouse_face_p flag also when
      DRAW is DRAW_IMAGE_RAISED.
      (clear_mouse_face): Return 1 if text with mouse face was
      actually redrawn.  Make the function static.  Reset
      dpyinfo->mouse_face_overlay otherwise note_mouse_highlight might
      optimize away highlighting if we pass over that same overlay again.
      (note_mouse_highlight): Call mouse_face_overlay_overlaps
      to detect a case where we have to highlight a different region
      despite not having left the currently highlighted region.
      Set mouse_face_overlay in the x_display_info.  Avoid changing the
      mouse pointer shape when show_mouse_face has already done it, or
      there is no need.  Handle mouse-face and help-echo in strings.
      (glyph_rect): New function.
      (w32_mouse_position): Use it to raise the threshold for mouse
      movement event generation.
      (w32_initialize_display_info): Initialize the x_display_info's
      mouse_face_overlay.
      (w32_set_vertical_scroll_bar): Don't clear a zero height or width area.
      (w32_set_vertical_scroll_bar, x_scroll_bar_create): Don't configure
      a widget to zero height.
      9f5a911b
  14. 20 Oct, 2001 1 commit
  15. 17 Oct, 2001 2 commits
  16. 16 Oct, 2001 1 commit
  17. 08 Oct, 2001 2 commits
  18. 04 Sep, 2001 1 commit
  19. 28 Aug, 2001 1 commit
  20. 14 Aug, 2001 1 commit
  21. 26 Jul, 2001 1 commit
  22. 23 Feb, 2001 1 commit
  23. 12 Feb, 2001 1 commit
    • Andrew Innes's avatar
      (x_produce_image_glyph): Pay attention to the case that · 60222d69
      Andrew Innes authored
      face->box_line_width is negative.
      (x_produce_stretch_glyph): Likewise.
      (x_produce_glyphs): Likewise.
      (x_estimate_mode_line_height): Likewise.
      (x_draw_glyph_string_background): Likewise.
      (x_draw_glyph_string_foreground): Likewise.
      (x_draw_composite_glyph_string_foreground): Likewise.
      (x_draw_glyph_string_box): Likewise.
      (x_draw_image_foreground): Likewise.
      (x_draw_image_relief): Likewise.
      (x_draw_image_foreground_1): Likewise.
      (x_draw_image_glyph_string): Likewise.
      60222d69
  24. 09 Feb, 2001 1 commit
    • Jason Rumney's avatar
      (w32_encode_char): Treat eight bit graphic and control · 49be9f70
      Jason Rumney authored
      characters the same as ASCII and latin-1.
      (x_display_and_set_cursor): Check for the focus	frame's selected
      window instead of selected_window.
      (x_after_update_window_line): Don't clear if frame's internal
      border width is zero.
      (x_new_font): Don't change a tooltip's size.
      (w32_initialize): Set char_ins_del_ok to 1.
      49be9f70
  25. 08 Feb, 2001 1 commit
  26. 29 Jan, 2001 1 commit
  27. 20 Jan, 2001 1 commit
  28. 18 Jan, 2001 1 commit
    • Jason Rumney's avatar
      (x_produce_stretch_glyph): Only use Qspace when GLYPH_DEBUG is defined. · c2cc16fa
      Jason Rumney authored
      (x_produce_glyphs): Don't xassert `it->descent > 0'; this isn't
      true for images with `:ascent 100'.
      (x_set_mouse_face_gc): If the last used mouse face has gone in the
      meantime, use face MOUSE_FACE_ID.
      If first glyph isn't a character glyph, use the ASCII NUL
      character to determine the face.
      (expose_area): Do not treat left margin specially.
      (note_mode_line_highlight): If no local_map, check global keymap.
      (note_mouse_highlight): Initialize overlay.
      (clear_mouse_face): Don't return if tip_frame is non-nil.
      (show_scroll_bars): Remove unused function.
      (w32_read_socket) [WM_KILLFOCUS]: Set help_echo to Qnil.
      (x_draw_bar_cursor): Remove extra test for out of bounds cursor.
      Clip to row.
      (x_erase_phys_cursor): Don't apply XWINDOW to variable that may be nil.
      (x_free_frame_resources): Unload relief colors.
      c2cc16fa
  29. 13 Jan, 2001 1 commit
    • Jason Rumney's avatar
      (x_produce_image_glyph, x_draw_image_foreground) · d6ff54d5
      Jason Rumney authored
      (x_draw_image_relief, x_draw_image_foreground_1)
      (x_draw_image_glyph_string): Adapt to change of image margins.
      (w32_fill_rect, w32_read_socket, x_bitmap_icon)
      (x_new_fontset, x_calc_absolute_position, x_iconify_frame):
      Add parentheses.
      d6ff54d5
  30. 02 Jan, 2001 1 commit
    • Andrew Innes's avatar
      (x_update_begin): · 7e6ac5b9
      Andrew Innes authored
      (x_update_end):
      (x_clear_frame):
      (x_ins_del_lines):
      (x_change_line_highlight):
      (x_delete_glyphs):
      (w32_ring_bell):
      (x_update_begin):
      (x_update_end):
      (w32_reassert_line_highlight):
      (w32_frame_rehighlight):
      (w32_frame_raise_lower): Do nothing if not w32 frame.
      7e6ac5b9
  31. 27 Dec, 2000 1 commit
  32. 22 Dec, 2000 1 commit
  33. 21 Dec, 2000 2 commits