aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32term.c
Commit message (Collapse)AuthorAgeFilesLines
* (x_focus_changed, w32_detect_focus_change): New functions.Jason Rumney2005-03-261-15/+80
| | | | (w32_read_socket) [WM_SETFOCUS]: Call w32_detect_focus_change.
* (x_draw_hollow_cursor): Use get_phys_cursor_geometry.Kim F. Storm2005-01-271-26/+4
|
* (x_draw_glyph_string_box): Fix last_x for full width rows.Kim F. Storm2005-01-201-9/+3
|
* (x_new_font): Set FRAME_COLUMN_WIDTH to fontp->average_width,Jason Rumney2005-01-031-4/+4
| | | | not FONT_WIDTH. Set FRAME_SPACE_WIDTH to fontp->space_width.
* * w32term.c (x_calc_absolute_position): Remove calculation ofJan Djärv2004-12-111-30/+0
| | | | | difference between inner and outer window. Don't subtract difference for left and top calculations.
* (w32_clip_to_row): Add area arg. Callers changed.Kim F. Storm2004-11-211-9/+10
| | | | (x_draw_hollow_cursor, x_draw_bar_cursor): Clip to TEXT_AREA.
* Delete region objects after use.Jason Rumney2004-11-011-0/+4
|
* (x_draw_glyph_string): Use overline_color for overlines.Jason Rumney2004-10-201-1/+1
|
* Remove excessive vertical whitespace.Jason Rumney2004-10-171-12/+0
|
* (x_update_window_end): Fix flicker on vertical line betweenKim F. Storm2004-10-071-3/+2
| | | | | windows. Update vertical line after drawing window fringes, but only if actually drawing any bitmaps--or there is no fringe.
* (fringe_bmp): Change to pointer.Kim F. Storm2004-09-291-2/+15
| | | | | | | (max_fringe_bmp): New var. (w32_define_fringe_bitmap): Expand fringe_bmp. (w32_draw_fringe_bitmap): Check max_fringe_bmp. (w32_destroy_fringe_bitmap): Likewise.
* Rename wait_reading_process_input to wait_reading_process_output.Kim F. Storm2004-08-201-1/+1
|
* (w32_num_mouse_buttons): Rename from Vw32_num_mouse_buttons and makeJason Rumney2004-05-171-5/+11
| | | | it an int.
* (x_draw_hollow_cursor): Sync with xterm.cJason Rumney2004-05-011-10/+19
|
* (w32_draw_relief_rect): Add top_p and bot_p args.Kim F. Storm2004-04-201-68/+85
| | | | | | | (x_draw_glyph_string_box): Fix call to x_draw_relief_rect. (x_draw_image_foreground, x_draw_image_relief) (w32_draw_image_foreground_1, x_draw_image_glyph_string): Draw sliced images.
* (w32_read_socket): Set mouse_face_hidden after clearing highlight.Kim F. Storm2004-04-051-3/+3
|
* (w32_read_socket): Fix last change to ButtonPress handling.Jason Rumney2004-03-011-1/+1
|
* (w32_read_socket): Remove bufp_r and numcharsp args.Kim F. Storm2004-02-271-158/+92
| | | | | | | | | | Add hold_quit arg. Rework to use just one, local, inev input_event. Store inev directly in fifo using kbd_buffer_store_event_hold. Update count in one place. Postpone call to gen_help_event until inev is stored; use new local do_help for this. Remove local emacs_event in handing of ButtonPress event; just use inev instead (so no reason to copy it later).
* (w32_draw_fringe_bitmap): Draw overlaid bitmapsJason Rumney2004-02-221-17/+29
| | | | correctly over other bitmaps.
* (w32_draw_fringe_bitmap): Handle overlay fringe bitmaps.Jason Rumney2004-02-161-28/+18
|
* (w32_define_fringe_bitmap): Bitmaps are now 16 bits wide,Kim F. Storm2004-02-131-9/+2
| | | | so it is no longer necessary to expand them here.
* (w32_draw_fringe_bitmap): Fixed a typo in the last patch.Sam Steingold2004-02-091-4/+4
|
* (w32_draw_fringe_bitmap): Copy unadapted code fromKim F. Storm2004-02-081-35/+60
| | | | | | | | | | | | xterm.c to handle overlayed fringe bitmaps and to use cursor color for displaying cursor in fringe. (w32_define_fringe_bitmap, w32_destroy_fringe_bitmap): New W32 specific functions to define and destroy fringe bitmaps in fringe_bmp. (w32_redisplay_interface): Add them to redisplay_interface. (w32_term_init): Call w32_init_fringe instead of explicitly defining fringe bitmaps in fringe_bmp array. (x_delete_display): Call w32_reset_fringes instead of explicitly destroying fringe bitmaps in fringe_bmp array.
* (x_update_window_end): Call draw_window_fringes.Kim F. Storm2004-01-161-6/+28
| | | | | | | (x_after_update_window_line): Just set redraw_fringe_bitmaps_p in row instead of actually drawing fringe bitmaps. (w32_draw_fringe_bitmap): Handle bottom aligned bitmaps. (w32_draw_window_cursor): Draw cursor in fringe.
* (w32_text_out): Use s->font, for consistency with callers.Jason Rumney2004-01-011-3/+3
|
* (Qface, Qmouse_face): Remove unused externs.Kim F. Storm2003-12-271-2/+0
|
* * w32term.c (w32_read_socket): Remove call to x_check_fullscreen_move,Jan Djärv2003-10-051-35/+1
| | | | | | | | | | | | | | | that function is removed. * xterm.c (x_set_offset): Use move_offset_left/top instead of x/y_pixels_outer_diff. (x_check_expected_move): Calculate move_offset_left/top. * xterm.h (struct x_output): New members: move_offset_top/left. * frame.c (x_set_frame_parameters): x_fullscreen_move removed, call x_set_offset directly. * frame.h (enum): FULLSCREEN_MOVE_WAIT removed.
* Add arch taglinesMiles Bader2003-09-011-0/+3
|
* Document last change.Jason Rumney2003-08-311-0/+11
|
* (w32_per_char_metric): Allow cached metrics to beJason Rumney2003-08-311-1/+2
| | | | returned even when font_type is unknown.
* (w32_read_socket): Fix WM_MOUSEWHEEL assignment.Jason Rumney2003-08-271-1/+1
|
* (construct_mouse_wheel): Construct WHEEL_EVENT.Jason Rumney2003-06-011-69/+27
| | | | | (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs WHEEL_EVENT events.
* Add missing code from previous patch by David Ponce.Juanma Barranquero2003-05-271-20/+5
|
* (GET_WHEEL_DELTA_WPARAM): New macro.Jason Rumney2003-05-271-0/+5
|
* (construct_mouse_wheel): Result is a MOUSE_CLICK_EVENT. Scrolling down/up theJuanma Barranquero2003-05-261-83/+148
| | | | | | mouse wheel is respectively mapped to mouse button 4 and 5. (w32_read_socket): Map w32 WM_MOUSEWHEEL events to Emacs MOUSE_CLICK_EVENT events. Forward w32 MSH_MOUSEWHEEL events as WM_MOUSEWHEEL events.
* Make (several) trivial substitutions for renamed andKim F. Storm2003-05-241-124/+108
| | | | | | | | | | | | | | | | new macros in dispextern.h, frame.h and window.h. (x_draw_glyph_string_box): Adapt to per-window fringes and scroll-bars. (glyph_rect): Use window coordinates returned from window_from_coordinates rather than frame_to_window_pixel_xy. (XTset_vertical_scroll_bar): Adapt to per-window fringes and scroll-bars. (w32_clip_to_row): Remove superfluous whole_line_p arg and code (fringes are now inside margins, i.e. always in the clipping area). All callers changed. (x_new_font): Set FRAME_COLUMN_WIDTH and FRAME_LINE_HEIGHT directly, then call compute_fringe_widths. Don't call frame_update_line_height.
* Break the line after the return type in function definition.Richard M. Stallman2003-04-041-4/+7
|
* (x_wm_set_icon_position): Define return value as void.Juanma Barranquero2003-03-311-1/+1
|
* Remove unnecessary extern declarations.Kim F. Storm2003-03-311-47/+3
| | | | | (x_fullscreen_adjust): Remove. Use generic instead. (x_redisplay_interface): Add w32_frame_parm_handlers member.
* (w32_draw_window_cursor): Fix last change.Kim F. Storm2003-03-231-0/+1
|
* * xdisp.c (pixel_to_glyph_coords, glyph_to_pixel_coords):Kim F. Storm2003-03-211-100/+0
| | | | | Add generic versions here. Remove system specific versions defined elsewhere.
* (struct redisplay_interface): Add active_p argument toKim F. Storm2003-03-211-10/+11
| | | | draw_window_cursor member. All uses changed.
* * w32term.c: Remove consolidated defines and code.Kim F. Storm2003-03-211-2455/+115
| | | | | | | | (BETWEEN): Remove unused macro. (w32_draw_vertical_window_border, w32_shift_glyphs_for_insert) (w32_define_frame_cursor, w32_clear_frame_area) (w32_draw_window_cursor): New W32-specific functions for RIF. (w32_redisplay_interface): Add new members.
* (w32_encode_char): Prevent double-byte chars from crashing Emacs.Jason Rumney2003-03-161-6/+8
|
* Remove consolidated defines and code.Kim F. Storm2003-03-161-2265/+34
| | | | | | | | | | | (BUILD_WCHAR_T, BYTE1, BYTE2): Macros removed; callers changed to use STORE_XCHAR2B, XCHAR2B_BYTE1, XCHAR2B_BYTE2 instead. (w32_per_char_metric): Change font_type arg to int for RIF. (w32_encode_char): Return int according to RIF requirements. (w32_compute_glyph_string_overhangs): Adapt to RIF. (w32_get_glyph_overhangs): New function for RIF. Uses generic x_get_glyph_overhangs. (w32_redisplay_interface): Add new members.
* Remove generic fringe code.Kim F. Storm2003-03-121-372/+70
| | | | | (w32_draw_fringe_bitmap): Only perform actual fringe drawing. (w32_redisplay_interface): Add w32_draw_fringe_bitmap member.
* (w32_make_rdb): New function.Juanma Barranquero2003-03-061-13/+57
| | | | | (w32_term_init): Use it to initialize xrdb member of w32_display_info struct. Delete leftover code.
* * w32term.c (x_draw_glyph_string_foreground)Jason Rumney2003-01-221-107/+162
| | | | | | | | | | | | | | | | | | | | | | | | | (x_draw_composite_glyph_string_foreground): Implement overstriking. * w32term.c (x_write_glyphs): Clear phys_cursor_on_p if current phys_cursor's hpos is overwritten. This is still not completely correct, as it doesn't really make sense to use hpos at all to get the cursor glyph (as that is relative to the width of the characters on the line, which may have changed during the update). * w32term.c (notice_overwritten_cursor): Handle the special case of the cursor being in the first blank non-text line at the end of a window. * w32term.c (x_draw_hollow_cursor, x_draw_bar_cursor) (x_draw_phys_cursor_glyph): Set phys_cursor_width here. Compute from the x position returned by x_draw_glyphs. * w32term.c (note_mode_line_or_margin_highlight): Renamed from note_mode_line_highlight and extended. * w32term.c (last_window): New variable. (w32_read_socket) <WM_MOUSEMOVE>: Generate SELECT_WINDOW_EVENTs. (note_mouse_movement): Remove reimplemented code in #if 0.
* 2003-01-21 KOBAYASHI Yasuhiro <[email protected]>Jason Rumney2003-01-211-27/+37
| | | | | | | | | | | | | | | | | | | | | * w32term.c (note_mode_line_highlight): Delete #if 0 to enable function w32_define_cursor. (note_mouse_highlight): Initialize, setup cursor accoding to mouse position, change member name output_data.x to output_data.w32 and add function w32_define_cursor. (show_mouse_face): Delete #if 0 to enable function w32_define_cursor and change member name output_data.x to output_data.w32. (w32_initialize_display_info): Setup dpyinfo->vertical_scroll_bar_cursor. 2003-01-21 David Ponce <[email protected]> * w32term.c (w32_encode_char): For DIM=1 charset, set ccl->reg[2] to -1 before calling ccl_driver. (Sync. with xterm.c x_encode_char change by Kenichi Handa <[email protected]> on 2002-09-30. (w32_draw_relief_rect): Declare all args. (w32_define_cursor): New.
* Revisited my earlier fix for the following entry in etc/PROBLEMS: 'Emacs ↵Ben Key2002-12-181-4/+8
| | | | built on Windows 9x/ME crashes at startup on Windows XP, or Emacs builtpart of on XP crashes at startup on Windows 9x/ME.' Fixed several Windows API errors detected by BoundsChecker