| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
(syms_of_win32fns): Initialize and staticpro Qright.
(x_set_vertical_scroll_bars): Check for left<->right<->none
scroll bar changes, and modify the vertical scroll bar type as appropriate.
(x_figure_window_size): Use new SET_FRAME_WIDTH macro.
(Fx_create_frame): Likewise.
|
| |
|
| |
|
|
|
|
| |
(syms_of_win32fns): Delete the duplicate assignment and staticpro.
|
|
|
|
| |
WM_PALETTECHANGED messages inline (as they should be).
|
|
|
|
|
| |
(win32_get_modifiers): Map Alt to alt_modifier if required.
(syms_of_win32fns): DEFVAR new variable.
|
| |
|
| |
|
|
|
|
| |
(w32_wnd_proc): Synchronize modifiers on each key down.
|
|
|
|
|
|
| |
detected to have been released since Emacs lost focus.
(win32_wnd_proc): Have Windows translate VK_NUMLOCK and VK_SCROLL key
downs; don't reset the modifier state when Emacs loses focus.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(syms_of_win32fns): Add Vwin32_mouse_move_interval to syms.
(saved_mouse_msg): Renamed to saved_mouse_button_msg.
(timer_id): Renamed to mouse_button_timer.
(saved_mouse_move_msg, mouse_move_timer): New variables.
(win_msg_worker): Delete WM_TIMER code.
(win32_wnd_proc): Handle WM_TIMER events here. Use separate timers
for mouse down and mouse move (including scroll bar drag) events.
Add new handling code for WM_VSCROLL and WM_MOUSEMOVE events.
Only filter WM_MOUSEMOVE events when a button is held down.
Always pass on message to DefWindowProc after calling
TranslateMessage. Reset keyboard modifiers when losing focus.
(win32_wnd_proc): When passing modifier keystrokes back
to Windows, invoke TranslateMessage on them.
|
|
|
|
| |
if modifiers are not being recorded.
|
| |
|
|
|
|
| |
at this opoint
|
|
|
|
|
|
|
|
|
| |
(win32_wnd_proc): Don't abort if button_state & this, just return.
Use post_msg instead of my_post_msg in some places.
(win32_to_x_font): Major rewrite.
(struct enumfont_t): New element logfont.
(enum_font_cb2): Add special code for TRUETYPE_FONTTYPE.
(Fx_list_fonts): Call x_to_win32_font.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
(Fwin32_rgb): Dead procedure removed.
(Fwin32_define_rgb_color, Fwin32_load_color_file, win32_map_color,
win32_regenerate_palette, win32_unmap_color): New functions.
(syms_of_w32fns): Set up new lisp functions.
(define_color): Use palettes. Simulate use of PALETTE_RGB to
use closest color instead of dithering.
(map_mode): Function removed.
(WIN32_COLOR, SET_WIN32_COLOR): New macros.
(win32_init_class): Don't set CS_OWNDC in the WNDCLASS style.
(win32_createwindow): Invoke ShowWindow to discard defaults
from parent.
(win32_wnd_proc): Use separate critical sections appropriately.
Handle palette change, show window, and set window position messages.
Record WINDOWPLACEMENT structure length.
D
Detect quit_char.
(Fx_create_frame): Set scrollbar width to be the system standard.
(Ffocus_frame, Funfocus_frame): Functions now do nothing.
(x_to_win32_weight, win32_to_x_weight): Handle "heavy", "extrabold",
"light", "extralight", and "thin" fonts.
(x_to_win32_charset, win32_to_x_charset): New functions.
(win32_to_x_font): Use new height units. Use win32_to_x_charset.
(x_to_win32_font): Use x_to_win32_charset. Support Win32 font names
in addition to X font names.
(win32_load_font, Fx_list_fonts, Fx_display_color_cells,
Fx_display_mm_height, Fx_display_mm_width: Use GetDC directly.
(Fx_open_connection): Support external color mapping files.
(win32_abort): Map abort button to abort, retry to debug, and
ignore to continue.
|
|
|
|
|
| |
New variables.
(syms_of_win32fns): Set up new lisp variables.
|
|
|
|
| |
(win32_wnd_proc): Special handling for WM_CLOSE.
|
| |
|
|
|
|
|
|
|
|
| |
Vwin32_pass_optional_keys_to_system): New variables.
(reset_modifiers, map_keypad_keys): New functions.
(win32_wnd_proc): Fixup keypad function keys.
Handle the three new keys on Windows keyboards.
Reset internal keyboard modifier state upon window focus.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
modifiers_recorded): New variables.
(EMACS_LCONTROL, EMACS_RCONTROL, EMACS_LMENU,
EMACS_RMENU): New macros.
(test_modifier_support, record_keydown, record_keyup,
modifier_set, construct_modifiers): New functions.
(win32_wnd_proc): Monitor modifier keyup and keydown messages.
Map window modifiers into console modifiers to unify input.
(x_create_frame): Use the FixedSys font as the default font.
(x_to_win32_font): For now, always use ANSI_CHARSET.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
New variables.
(syms_of_win32fns): Set up new lisp variables.
(x_set_frame_parameters, x_real_positions, win32_load_font,
win32_abort): Conform to coding style.
(Fwin32_define_rgb_color, Fwin32_load_color_file, Fwin32_map_color,
Fwin32_unmap_color, Fwin32_regenerate_palette): New functions.
(syms_of_win32fns): Set up new lisp subroutines.
(defined_color): Use palettes.
(map_mode): Function removed.
(win32_init_class): Don't CS_OWNDC.
(win32_wnd_proc): Use segregated critical sections appropriately.
Handle WM_PALETTECHANGED.
Record WINDOWPLACEMENT structure length.
(x_to_win32_weight, win32_to_x_weight): Handle "heavy", "extrabold",
"light", "extralight", and "thin" fonts.
(x_to_win32_charset, win32_to_x_charset): New functions.
(win32_to_x_font): Use win32_to_x_charset.
(x_to_win32_font): Use x_to_win32_charset.
Support Windows font names.
(Fx_list_fonts, Fx_display_color_cells, Fx_display_mm_height.
Fx_display_mm_width): Use GetDC directly.
(Fx_open_connection): Support external color mapping files.
|
| |
|
|
|