1. 22 Mar, 2002 1 commit
  2. 21 Mar, 2002 2 commits
  3. 20 Mar, 2002 1 commit
    • Jason Rumney's avatar
      (x_set_cursor_color): Set foreground of cursor, not frame. · ac849ba4
      Jason Rumney authored
      (Fimage_size, Fimage_mask_p, XPutPixel): New functions.
      (four_corners_best, x_clear_image_1, x_clear_image)
      (x_alloc_image_color, postprocess_image)
      (x_create_x_image_and_pixmap, x_destroy_x_image, xbm_load_image)
      (x_from_x_colors, x_disable_image, pbm_load): Adapt for Windows.
      (init_xfns, syms_of_w32fns): Initialize image functions and constants.
      ac849ba4
  4. 16 Mar, 2002 1 commit
  5. 08 Mar, 2002 1 commit
  6. 23 Feb, 2002 2 commits
  7. 18 Feb, 2002 1 commit
  8. 09 Feb, 2002 2 commits
  9. 24 Jan, 2002 1 commit
  10. 23 Jan, 2002 1 commit
  11. 20 Jan, 2002 2 commits
    • Jason Rumney's avatar
      (w32_visible_system_caret_hwnd): New static variable. · 93f2ca61
      Jason Rumney authored
      (w32_wnd_proc) <WM_KILL_FOCUS, WM_EMACS_DESTROY_CARET>: Set it.
      <WM_EMACS_TRACK_CARET>: Arrange for system caret to be visible if
      the user requests it.  Use system default width when creating.
      <WM_EMACS_HIDE_CARET, WM_EMACS_SHOW_CARET>: Handle new messages.
      93f2ca61
    • Jason Rumney's avatar
      (w32_load_system_font, w32_to_x_charset): Use strnicmp · d84b082d
      Jason Rumney authored
      in place of stricmp.
      (w32_list_synthesized_fonts): Removed.
      (w32_to_all_x_charsets, enum_font_maybe_add_to_list): New functions.
      (struct enumfont_t): New element; list.
      (enum_font_cb2): List all style and charset variations of a font.
      (Fw32_select_font): New optional argument; include_proportional.
      Exclude vertical fonts.  Exclude proportional fonts unless
      include_proportional is non-nil.
      (w32_enable_synthesized_fonts): Change to a boolean.
      (Fw32_send_sys_command): Doc fix.
      d84b082d
  12. 19 Jan, 2002 1 commit
  13. 13 Jan, 2002 1 commit
  14. 05 Jan, 2002 1 commit
  15. 13 Dec, 2001 1 commit
  16. 05 Dec, 2001 1 commit
  17. 01 Dec, 2001 2 commits
  18. 28 Nov, 2001 1 commit
  19. 25 Nov, 2001 1 commit
  20. 24 Nov, 2001 1 commit
    • Jason Rumney's avatar
      (w32_wnd_proc) <WM_MENUSELECT>: Revert last change. · bfd6edcc
      Jason Rumney authored
      <WM_WINDOWPOSCHANGING>: Let tip frames resize without restriction.
      (my_create_tip_window, Fx_show_tip): Adjust size for external border.
      (my_create_tip_window): Assign tip_window.
      (x_create_tip_frame): Use same defaults as X.
      (compute_tip_xy): Remove unused variable.  Use full screen width.
      (Fx_show_tip): Do not double height. Call ShowWindow directly.
      bfd6edcc
  21. 22 Nov, 2001 1 commit
    • Jason Rumney's avatar
      (x_window_to_frame): Remove irrelevant TODO comment. · ca56d953
      Jason Rumney authored
      (w32_wnd_proc) <WM_MENUSELECT>: Show help echo directly.
      (my_create_tip_window): New function.
      (x_create_tip_frame, compute_tip_xy): Adapt for Windows.
      (Fx_show_tip, Fx_hide_tip) [TEST_TOOLTIPS]: Adapt for Windows.
      ca56d953
  22. 20 Nov, 2001 1 commit
  23. 18 Nov, 2001 1 commit
    • Jason Rumney's avatar
      (x_set_frame_parameters): Avoid infinite recursion for · a05e2bae
      Jason Rumney authored
      some items.
      (x_set_internal_border_width): Set frame garbaged when window
      doesn't exist yet.
      (Fx_create_frame): Accept zero tool_bar_button_relief.
      (x_clear_image_1, four_corners_best, image_background)
      (image_background_transparent): New functions.
      (xpm_format, png_format, jpeg_format, tiff_format, gif_format)
      (gs_format): Add `:background' entry.
      (lookup_image): Set IMG's background color if specified.
      (pbm_load, xbm_load_image, png_load): Set IMG's background field
      when appropriate.
      (x_clear_image_1): Reset `background_valid' and
      `background_transparent_valid' fields.
      (x_build_heuristic_mask): Use IMAGE_BACKGROUND instead of
      calculating it here.  Set IMG's background_transparent field.
      (enum xpm_keyword_index): Add XPM_BACKGROUND.
      (enum png_keyword_index): Add PNG_BACKGROUND.
      (enum jpeg_keyword_index): Add JPEG_BACKGROUND.
      (enum tiff_keyword_index): Add TIFF_BACKGROUND.
      (enum gif_keyword_index): Add GIF_BACKGROUND.
      (enum gs_keyword_index): Add GS_BACKGROUND.
      (pbm_load, png_load, jpeg_load, tiff_load, gif_load):
      Pre-calculate image background color where necessary.
      (x_create_x_image_and_pixmap, xbm_load, gs_load): Use
      display info's n_cbits entry for screen depth.
      (Fx_show_tip): Remove unused variables `buffer', `top',
      `left', `max_width' and `max_height'.
      a05e2bae
  24. 16 Nov, 2001 1 commit
  25. 13 Nov, 2001 3 commits
  26. 10 Nov, 2001 1 commit
  27. 02 Nov, 2001 1 commit
  28. 30 Oct, 2001 1 commit
  29. 27 Oct, 2001 1 commit
  30. 21 Oct, 2001 1 commit
    • Jason Rumney's avatar
      (Fx_file_dialog): Pass a filter to GetOpenFileName. · 3cf3436e
      Jason Rumney authored
      Sync with xfns.c:
      (x_laplace_read_row, x_laplace_write_row): Removed.
      (postprocess_image): New function.
      (lookup_image): Call it for all image types except PostScript.
      (x_kill_gs_process): Call postprocess_image.
      (tiff_error_handler, tiff_warning_handler): New functions.
      (tiff_load): Install them as handlers.
      (x_kill_gs_process): Recognize if someone has cleared the image
      cache under us.
      (valid_image_p): Protect better against invalid image
      specifications.  Previous code could signal an error.
      (Fx_hide_tip, Fshow_tip): Doc fix.
      (Fv_max_tooltip_size): New variable.
      (syns_of_xfns): DEFVAR_LISP it.
      (Fx_show_tip): Add parameter TEXT.  Set the tip frame's root
      window buffer to *tip* right after creating the frame. Set frame's
      window_width.  Use a maximum tooltip size specified by
      Vx_max_tooltip_size, if that has valid contents.
      (compute_tip_xy): Add parameters WIDTH and HEIGHT.
      Make sure the tooltip is completely visible.
      (x_create_tip_frame): Set tooltip buffer's truncate-lines to nil.
      (Fx_create_frame): Adjust the frame's height for presence
      of the tool bar before calling x_figure_window_size.
      (x_set_tool_bar_lines): Clear the tool bar window's current matrix
      when the window gets smaller.
      (x_set_foreground_color): Set frame's cursor_pixel.
      (x_set_foreground_color, x_set_background_color): Cleaned up.
      (x_set_font): Handle case of x_new_fontset returning the same name
      as before, although there was a change in fontsets.
      3cf3436e
  31. 17 Oct, 2001 1 commit
  32. 16 Oct, 2001 1 commit
  33. 12 Oct, 2001 1 commit