1. 28 Dec, 2003 7 commits
    • Kim F. Storm's avatar
    • Kim F. Storm's avatar
      (Qarrow, Qhand, Qtext, Qpointer): New variables for · 493fdc3c
      Kim F. Storm authored
      pointer types.
      (Qrelative_width, Qalign_to): Remove unused variables.
      (Vvoid_text_area_pointer): Replace Vshow_text_cursor_in_void.
      (QCmap, QCpointer, Qrect, Qcircle, Qpoly): New variables for
      image maps.
      (x_y_to_hpos_vpos): Return glyph relative coordinates through
      new dx and dy args.
      Remove buffer_only_p arg (always 0).  Simplify code accordingly.
      (get_glyph_string_clip_rect): Draw cursor using glyph's rather
      than row's ascent and height, to get sensible height on tall rows.
      (build_desired_tool_bar_string): Remove Qimage extern.
      (get_tool_bar_item): Fix call to x_y_to_hpos_vpos.
      (produce_image_glyph): Adjust it.ascent to minimum row ascent if
      image glyph is alone on the last line.
      (append_glyph, append_composite_glyph, produce_image_glyph)
      (append_stretch_glyph): Set glyph's ascent and descent.
      (on_hot_spot_p): New function to check if position is inside an
      rectangular, circular, or polygon-shaped image hot-spot,
      (find_hot_spot): New function to search for image hot-spot.
      (Flookup_image_map): New defun to search for image hot-spot.
      (define_frame_cursor1): New aux function to determine frame pointer.
      (note_mode_line_or_margin_highlight, note_mouse_highlight):
      Handle `pointer' text property and :pointer image property to
      control frame pointer shape.  Detect image hot-spots for pointer
      and help_echo properties.  Use define_frame_cursor1.
      (note_mouse_highlight):	Use Vvoid_text_area_pointer.
      (syms_of_xdisp): Defsubr new defun. Intern and staticpro new variables.
      DEFVAR_LISP Vvoid_text_area_pointer instead of Vshow_text_cursor_in_void.
    • Kim F. Storm's avatar
      (Qimage): Remove extern (now in lisp.h). · 82cf95a7
      Kim F. Storm authored
      (valid_image_p, parse_image_spec): Use IMAGEP macro.
    • Kim F. Storm's avatar
      (IMAGEP): New macro to test for image object type. · dea9b521
      Kim F. Storm authored
      (Qimage): Declare extern.
    • Kim F. Storm's avatar
      (Qimage): Remove extern (now in lisp.h). · 2e3f0f61
      Kim F. Storm authored
      (QCmap): Declare extern.
      (make_lispy_position): When position is inside image hot-spot,
      use hot-spot element as posn element.
    • Kim F. Storm's avatar
      (buffer_posn_from_coords): Fix calculation of dy for · 60bf1629
      Kim F. Storm authored
      image glyph using image's ascent.
      (mode_line_string): Return image glyph as object clicked on.
      Adjust y0 for image glyph using image's ascent.
    • Kim F. Storm's avatar
      (FACE_ID_BITS, MAX_FACE_ID): New defines. · 01b1f0c0
      Kim F. Storm authored
      (struct glyph): New members, ascent and descent.  Used to save
      this glyph's ascent and descent, instead of having.
      (struct glyph): Declare member face_id using FACE_ID_BITS.
      (find_hot_spot): Add prototype.
  2. 27 Dec, 2003 9 commits
  3. 26 Dec, 2003 1 commit
  4. 25 Dec, 2003 21 commits
  5. 24 Dec, 2003 2 commits