| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
| |
|
|
|
|
|
| |
(clear_image_cache): Block input, fix logic, clear matrices in
all frames that share this cache.
|
| |
|
|
|
|
| |
initialization (is now declared in process.c).
|
|
|
|
|
|
|
|
|
| |
(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.
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
(menu_free_timer): New variable.
(MENU_FREE_ID, MENU_FREE_DELAY): New constants.
(w32_wnd_proc) <WM_TIMER>: Handle menu_free_timer.
<WM_EXITMENULOOP>: Delay before freeing menu. Do nothing if a
menu command is in progress.
<WM_COMMAND>: Set the menu_command_in_progress flag. Kill
any menu_free_timer that is running.
|
| |
|
|
|
|
| |
(Fx_show_tip): Ensure tip frames are above other topmost windows.
|
|
|
|
| |
match each other.
|
|
|
|
| |
Combine the regions returned by BeginPaint and GetUpdateRect.
|
| |
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
call to face-set-after-frame-default.
|
|
|
|
|
| |
(syms_of_w32fns): DEFVAR_BOOL it.
(w32_wnd_proc): Handle new "XBUTTON" messages.
|
|
|
|
|
|
| |
to the left or to the right of the pointer, put it against
the left screen edge.
(x_frame_parms): Add missing braces around initializer.
|
|
|
|
| |
a numeric value all the time.
|
| |
|
|
|
|
|
|
|
| |
(w32_wnd_proc) <WM_MOUSEMOVE>: Notice when mouse enters frame.
<WM_EXITMENULOOP>: Free menu strings.
<WM_MOUSELEAVE>: Stop tracking mouse.
(x_create_tip_frame): Specify no minibuffer, modeline or fringes.
|
| |
|
|
|
|
| |
(Fx_show_tip): Don't subtract last width from row width.
|
|
|
|
|
| |
(Fx_show_tip): Block input during frame creation.
(Fx_show_tip, Fx_hide_tip): Enable.
|
|
|
|
|
|
|
|
|
| |
<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.
|
|
|
|
|
|
|
| |
(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.
|
|
|
|
| |
(w32_to_x_font, x_to_w32_font): Use Vlocale_coding_system.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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'.
|
|
|
|
| |
Use renamed symbols.
|
| |
|
| |
|
|
|
|
|
| |
Don't define max.
(Fx_open_connection): Only execute once.
|
|
|
|
|
|
| |
vertical fonts. Allow them if face name is explicitly specified.
Do not give up if we find a font that cannot be converted to an
xlfd.
|
| |
|
|
|
|
| |
(enum_font_cb2): Ignore fonts with vertical orientation.
|
|
|
|
|
| |
<WM_EMACS_DESTROY_CARET, WM_EMACS_TRACK_CARET>: Track cursor
position using the system caret.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
font_info.charset field.
|
|
|
|
| |
with lisp system changes.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(w32_load_system_font): Don't believe what GetLanguageFontInfo
says; query codepage info directly to determine if font is double
byte.
(x_to_w32_charset): Handle private format for unknown charsets.
Handle wildcards in charset spec, by ignoring them.
(w32_codepage_for_font): Fix argument to alloca. Don't remove
"*-" prefix from charset.
(x_to_w32_font): Enlarge remainder array for safety. Specifically
handle the truncated font spec form constructed by font_list_1, so
that we correctly identify the charset fields. Don't remove "*-"
prefix from charset.
(w32_list_synthesized_fonts): Fix argument to alloca.
|
| |
|
|
|
|
|
|
|
|
| |
from Emacs frames, so that calls to GetClipBox in w32term.c
correctly report when part of a frame is visible (including
scrollbars, etc). This prevents repeated redrawing of frames when
only a scrollbar is visible.
(w32_wnd_proc): Add more frame information to debugging output.
|
|
|
|
| |
(x_to_w32_font): Add prototype.
|
| |
|
|
|
|
| |
to height unconditionally.
|
|
|
|
|
|
|
| |
to *hourglass*.
(syms_of_w32fns): Rename x-busy-pointer-shape to
x-hourglass-pointer-shape, display-busy-cursor to
display-hourglass, busy-cursor-delay to hourglass-delay.
|
|
|
|
| |
Emacs frame above the screen size.
|