comparison src/w32term.c @ 81493:e7dfb7cb2088

(w32_delete_display): Remove leftover declaration. (w32_define_cursor, w32_initialize): Make static.
author Juanma Barranquero <lekktu@gmail.com>
date Wed, 20 Jun 2007 08:32:59 +0000
parents e892213b9815
children b98604865ea0 0ece58f6e0aa 988f1edc9674
comparison
equal deleted inserted replaced
81492:f2e567726d3f 81493:e7dfb7cb2088
216 /* A mask of extra modifier bits to put into every keyboard char. */ 216 /* A mask of extra modifier bits to put into every keyboard char. */
217 217
218 extern EMACS_INT extra_keyboard_modifiers; 218 extern EMACS_INT extra_keyboard_modifiers;
219 219
220 static void x_update_window_end P_ ((struct window *, int, int)); 220 static void x_update_window_end P_ ((struct window *, int, int));
221 void w32_delete_display P_ ((struct w32_display_info *));
222 static void w32_handle_tool_bar_click P_ ((struct frame *, 221 static void w32_handle_tool_bar_click P_ ((struct frame *,
223 struct input_event *)); 222 struct input_event *));
224 void w32_define_cursor P_ ((Window, Cursor)); 223 static void w32_define_cursor P_ ((Window, Cursor));
225 224
226 void x_lower_frame P_ ((struct frame *)); 225 void x_lower_frame P_ ((struct frame *));
227 void x_scroll_bar_clear P_ ((struct frame *)); 226 void x_scroll_bar_clear P_ ((struct frame *));
228 void x_wm_set_size_hint P_ ((struct frame *, long, int)); 227 void x_wm_set_size_hint P_ ((struct frame *, long, int));
229 void x_raise_frame P_ ((struct frame *)); 228 void x_raise_frame P_ ((struct frame *));
230 void x_set_window_size P_ ((struct frame *, int, int, int)); 229 void x_set_window_size P_ ((struct frame *, int, int, int));
231 void x_wm_set_window_state P_ ((struct frame *, int)); 230 void x_wm_set_window_state P_ ((struct frame *, int));
232 void x_wm_set_icon_pixmap P_ ((struct frame *, int)); 231 void x_wm_set_icon_pixmap P_ ((struct frame *, int));
233 void w32_initialize P_ ((void)); 232 static void w32_initialize P_ ((void));
234 static void x_font_min_bounds P_ ((XFontStruct *, int *, int *)); 233 static void x_font_min_bounds P_ ((XFontStruct *, int *, int *));
235 int x_compute_min_glyph_bounds P_ ((struct frame *)); 234 int x_compute_min_glyph_bounds P_ ((struct frame *));
236 static void x_update_end P_ ((struct frame *)); 235 static void x_update_end P_ ((struct frame *));
237 static void w32_frame_up_to_date P_ ((struct frame *)); 236 static void w32_frame_up_to_date P_ ((struct frame *));
238 static void w32_set_terminal_modes P_ ((void)); 237 static void w32_set_terminal_modes P_ ((void));
3276 note_mouse_highlight (XFRAME (last_mouse_motion_frame), 3275 note_mouse_highlight (XFRAME (last_mouse_motion_frame),
3277 LOWORD (last_mouse_motion_event.lParam), 3276 LOWORD (last_mouse_motion_event.lParam),
3278 HIWORD (last_mouse_motion_event.lParam)); 3277 HIWORD (last_mouse_motion_event.lParam));
3279 } 3278 }
3280 3279
3281 void 3280 static void
3282 w32_define_cursor (window, cursor) 3281 w32_define_cursor (window, cursor)
3283 Window window; 3282 Window window;
3284 Cursor cursor; 3283 Cursor cursor;
3285 { 3284 {
3286 PostMessage (window, WM_EMACS_SETCURSOR, (WPARAM) cursor, 0); 3285 PostMessage (window, WM_EMACS_SETCURSOR, (WPARAM) cursor, 0);
6343 w32_draw_window_cursor, 6342 w32_draw_window_cursor,
6344 w32_draw_vertical_window_border, 6343 w32_draw_vertical_window_border,
6345 w32_shift_glyphs_for_insert 6344 w32_shift_glyphs_for_insert
6346 }; 6345 };
6347 6346
6348 void 6347 static void
6349 w32_initialize () 6348 w32_initialize ()
6350 { 6349 {
6351 rif = &w32_redisplay_interface; 6350 rif = &w32_redisplay_interface;
6352 6351
6353 /* MSVC does not type K&R functions with no arguments correctly, and 6352 /* MSVC does not type K&R functions with no arguments correctly, and