aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
Commit message (Collapse)AuthorAgeFilesLines
...
* (x_display_and_set_cursor): Get active_cursor fromKim F. Storm2002-10-241-3/+2
| | | | get_window_cursor_type to track system caret.
* (w32_term_init): Pass XColor to w32_define_color, not COLORREF.Juanma Barranquero2002-10-231-1/+1
|
* Changed all occurrences of w32_highlight_frame with x_highlight_frame.Kim F. Storm2002-08-301-14/+14
|
* (x_specified_cursor_type): Remove prototype.Kim F. Storm2002-08-301-72/+4
| | | | | | | (x_draw_bar_cursor): Use FRAME_CURSOR_WIDTH. (x_display_and_set_cursor): Use get_window_cursor_type. Remove unused local variables cursor_off_state. Redraw cursor if hbar cursor width changes.
* (x_display_and_set_cursor): Use FRAME_BLINK_OFF_CURSORRichard M. Stallman2002-08-291-44/+106
| | | | | | | | | and FRAME_BLINK_OFF_CURSOR_WIDTH for blinking cursor off. (x_display_and_set_cursor): Check FRAME_CURSOR_WIDTH for bar cursor. (expose_overlaps): New function. (expose_window): Use it to fix the display of overlapping rows.
* Most uses of XSTRING combined with STRING_BYTES or indirection changed toKen Raeburn2002-07-151-13/+13
| | | | | SCHARS, SBYTES, STRING_INTERVALS, SREF, SDATA; explicit size_byte references left unchanged for now.
* Rename enum event_kind items.Pavel Janík2002-06-131-16/+16
|
* (x_draw_bar_cursor): Update parameter list in declaration.Jason Rumney2002-05-251-1/+2
|
* (x_draw_bar_cursor): New argument KIND; callers changed.Jason Rumney2002-05-221-6/+22
| | | | | Handle the `hbar' cursor type. (x_display_and_set_cursor): Handle the HBAR_CURSOR case.
* (x_draw_image_foreground, w32_draw_image_foreground_1):Kim F. Storm2002-05-081-4/+12
| | | | Enlarge cursor rectangle drawn around image with non-zero relief.
* (construct_drag_n_drop): Likewise.Jason Rumney2002-04-161-1/+1
|
* Rename autoselect_window_p to mouse_autoselect_window.Pavel Janík2002-04-031-4/+4
|
* Rename x_autoselect_window_p to autoselect_window_p.Pavel Janík2002-04-011-4/+6
| | | | (note_mouse_movement): Put code for x_autoselect_window_p in #if 0.
* Fix typo.Pavel Janík2002-03-311-1/+1
|
* (w32_draw_relief_rect): Fix calculations of line lengths.Jason Rumney2002-03-291-4/+4
|
* (w32_handle_tool_bar_click): Detect up and down eventsJason Rumney2002-03-231-2/+3
| | | | correctly. Do not pass up_modifier to keyboard buffer.
* (zv_bits): Declare as short, for word alignment.Jason Rumney2002-03-221-7/+3
| | | | | (w32_read_socket) <WM_XBUTTONUP>: Fix last change. (syms_of_w32term): Define x-use-underline-position-properties.
* (w32_read_socket) <WM_XBUTTONUP>: Use XFASTINT to extract mouse co-ordinates.Jason Rumney2002-03-201-1/+4
|
* (x_draw_hollow_cursor): Draw same size as block cursor.Jason Rumney2002-03-061-2/+2
|
* Change defvar_int def and vars to use EMACS_INT instead of just int.Stefan Monnier2002-03-041-1/+1
|
* (x_display_and_set_cursor): Fix typo.Juanma Barranquero2002-03-041-1/+1
|
* (x_display_and_set_cursor): Blink box cursor usingKim F. Storm2002-03-011-4/+17
| | | | hollow box cursor. Blink bar cursor using 1 pixel wide bar.
* (enter_timestamp): Remove unused static variable to prevent warning.Pavel Janík2002-02-231-6/+0
|
* (w32_text_out): Renamed from W32_TEXTOUT.Jason Rumney2002-02-221-5/+6
| | | | Call ExtTextOutA rather than ExtTextOut.
* (glyph_rect): Determine the row and glyph more precisely.Jason Rumney2002-02-181-11/+28
|
* * w32term.c (x_autoselect_window_p): New variable.Jason Rumney2002-02-171-0/+153
| | | | | | | | | | | | (syms_of_w32term): DEFVAR_BOOL and initialize it. (note_mouse_movement): Use it. * w32term.c (x_check_fullscreen, x_check_fullscreen_move) (x_fullscreen_adjust): New functions. (w32_read_socket) <WM_WINDOWPOSCHANGED>: Don't resize to fullscreen. Call x_check_fullscreen_move, and set the want_fullscreen member of output_data.w32 <WM_ACTIVATE, WM_ACTIVATEAPP>: Call x_check_fullscreen.
* (disable_mouse_highlight): Removed variable.Kim F. Storm2002-02-161-6/+22
| | | | | | | | (note_mouse_highlight): Disable highlight if Vmouse_highlight is nil. (show_mouse_face): Don't show highlight if mouse_face_hidden is set. (w32_read_socket): Turn mouse_face_hidden off after mouse movement, and on after keyboard input. (w32_initialize_display_info): Initialize mouse_face_hidden.
* (w32_native_per_char_metric): Disable 2002-01-20 change.Jason Rumney2002-02-061-3/+7
|
* (x_scroll_run): Use ScrollWindowEx in place of BitBlt.Jason Rumney2002-01-241-5/+30
| | | | | If region left to draw is not what was expected, mark the frame as garbaged.
* (x_update_window_begin): Only hide caret ifJason Rumney2002-01-231-6/+9
| | | | | | | w32_use_visible_system_caret is set. (x_update_window_end): Only show caret if w32_use_visible_system_caret is set. (syms_of_w32term): Handle SystemParametersInfo call failing.
* (w32_system_caret_width): Remove.Jason Rumney2002-01-201-29/+57
| | | | | | | | | | (w32_use_visible_system_caret): New user flag. (syms_of_w32term): DEFVAR_BOOL it. Initialize based on whether Windows reports a screen reader running. (x_update_window_begin): Hide the system caret. (x_update_window_end): Show the system caret. (x_display_and_set_cursor): Don't draw a cursor when w32_use_visible_system_caret is set. Do not adjust width.
* (w32_native_per_char_metric): Don't trust the metricsJason Rumney2002-01-201-3/+14
| | | | | that Windows returns. If a double check fails, try to guess how ExtTextOut is going to act.
* (x_erase_phys_cursor): Don't erase cursor if cursor rowKim F. Storm2002-01-161-0/+6
| | | | | is invisible. This can happen if cursor is on top line of a window, and we switch to a buffer with a header line.
* (parse_button): New parameter xbutton. Callers changed.Jason Rumney2002-01-131-4/+20
| | | | (w32_read_socket): Handle new "XBUTTON" messages.
* Fix typos.Pavel Janík2002-01-121-2/+2
|
* (x_draw_glyphs): Don't call notice_overwritten_cursorJason Rumney2002-01-051-1/+6
| | | | if OVERLAPS_P.
* (x_setup_relief_colors): Don't compute an image'sJason Rumney2002-01-051-16/+28
| | | | | | | | | | | | | | | 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.
* Doc fix.Pavel Janík2001-12-201-1/+1
|
* (w32_read_socket) <WM_MOUSELEAVE>: Cancel help echoJason Rumney2001-12-011-0/+30
| | | | and mouse face.
* Merged fringe width related changes from xterm.c.Kim F. Storm2001-12-011-98/+198
|
* (w32_read_socket) <WM_MENUSELECT>: Remove.Jason Rumney2001-11-281-13/+1
| | | | (w32_read_socket): Use EQ to compare frames.
* (x_after_update_window_line): Doc fix.Jason Rumney2001-11-241-2/+16
| | | | | (w32_read_socket): Doc fix. Avoid SET_FRAME_GARBAGED for tip frames. <WM_SHOWWINDOW>: Redo mouse highlight when hiding tip frame.
* (note_mouse_highlight): Fix type of variable `ignore'.Jason Rumney2001-11-181-152/+149
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | (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'.
* Fringe cleanup.Kim F. Storm2001-11-161-59/+59
| | | | | | | | 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.
* Change doc-string comments to `new style'. [w/`doc:' keyword]. Doc fixes.Jason Rumney2001-11-121-25/+25
|
* (x_display_and_set_cursor): Do not move system caretJason Rumney2001-11-071-22/+24
| | | | if cursor_glyph is NULL.
* (x_display_and_set_cursor): Fix w32 compilation error.Sam Steingold2001-11-051-1/+1
|
* (x_display_and_set_cursor): Use buffer-localRichard M. Stallman2001-11-051-2/+5
| | | | value of `cursor-in-non-selected-windows'.
* (w32_system_caret_hwnd, w32_system_caret_width)Jason Rumney2001-10-271-1/+54
| | | | | | | (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.
* (fast_find_position): Call row_containing_posGerd Moellmann2001-10-241-1/+1
| | | | with additional argument.