annotate src/proto/gui_w32.pro @ 7513:37e061ec063c v7.4.1058

commit https://github.com/vim/vim/commit/75bdf6aa30a5c99d67c42886cf7a4a000bbaa422 Author: Bram Moolenaar <Bram@vim.org> Date: Thu Jan 7 21:25:08 2016 +0100 patch 7.4.1058 Problem: It is not possible to test code that is only reached when memory allocation fails. Solution: Add the alloc_fail() function. Try it out with :vimgrep.
author Christian Brabandt <cb@256bit.org>
date Thu, 07 Jan 2016 21:30:05 +0100
parents 1bff71d20262
children 21b0a39d13ed
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
1 /* gui_w32.c */
6110
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5112
diff changeset
2 int directx_enabled __ARGS((void));
1bff71d20262 updated for version 7.4.393
Bram Moolenaar <bram@vim.org>
parents: 5112
diff changeset
3 int gui_mch_set_rendering_options __ARGS((char_u *s));
1119
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
4 void gui_mch_set_blinking __ARGS((long wait, long on, long off));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
5 void gui_mch_stop_blink __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
6 void gui_mch_start_blink __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
7 LRESULT WINAPI vim_WindowProc __ARGS((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
8 void gui_mch_new_colors __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
9 void gui_mch_def_colors __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
10 int gui_mch_open __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
11 int gui_mch_get_winpos __ARGS((int *x, int *y));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
12 void gui_mch_set_winpos __ARGS((int x, int y));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
13 void gui_mch_set_text_area_pos __ARGS((int x, int y, int w, int h));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
14 void gui_mch_enable_scrollbar __ARGS((scrollbar_T *sb, int flag));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
15 void gui_mch_set_scrollbar_pos __ARGS((scrollbar_T *sb, int x, int y, int w, int h));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
16 void gui_mch_create_scrollbar __ARGS((scrollbar_T *sb, int orient));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
17 int gui_mch_adjust_charheight __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
18 GuiFont gui_mch_get_font __ARGS((char_u *name, int giveErrorIfMissing));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
19 char_u *gui_mch_get_fontname __ARGS((GuiFont font, char_u *name));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
20 void gui_mch_free_font __ARGS((GuiFont font));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
21 guicolor_T gui_mch_get_color __ARGS((char_u *name));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
22 int gui_mch_haskey __ARGS((char_u *name));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
23 void gui_mch_beep __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
24 void gui_mch_invert_rectangle __ARGS((int r, int c, int nr, int nc));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
25 void gui_mch_iconify __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
26 void gui_mch_draw_hollow_cursor __ARGS((guicolor_T color));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
27 void gui_mch_draw_part_cursor __ARGS((int w, int h, guicolor_T color));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
28 void gui_mch_update __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
29 int gui_mch_wait_for_chars __ARGS((int wtime));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
30 void gui_mch_clear_block __ARGS((int row1, int col1, int row2, int col2));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
31 void gui_mch_clear_all __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
32 void gui_mch_enable_menu __ARGS((int flag));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
33 void gui_mch_set_menu_pos __ARGS((int x, int y, int w, int h));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
34 void gui_mch_menu_hidden __ARGS((vimmenu_T *menu, int hidden));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
35 void gui_mch_draw_menubar __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
36 long_u gui_mch_get_rgb __ARGS((guicolor_T pixel));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
37 void gui_mch_activate_window __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
38 void gui_mch_show_toolbar __ARGS((int showit));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
39 void gui_mch_show_tabline __ARGS((int showit));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
40 int gui_mch_showing_tabline __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
41 void gui_mch_update_tabline __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
42 void gui_mch_set_curtab __ARGS((int nr));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
43 void ex_simalt __ARGS((exarg_T *eap));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
44 void gui_mch_find_dialog __ARGS((exarg_T *eap));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
45 void gui_mch_replace_dialog __ARGS((exarg_T *eap));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
46 void gui_mch_mousehide __ARGS((int hide));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
47 void gui_mch_destroy_scrollbar __ARGS((scrollbar_T *sb));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
48 void gui_mch_getmouse __ARGS((int *x, int *y));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
49 void gui_mch_setmouse __ARGS((int x, int y));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
50 void gui_mch_flash __ARGS((int msec));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
51 void gui_mch_delete_lines __ARGS((int row, int num_lines));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
52 void gui_mch_insert_lines __ARGS((int row, int num_lines));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
53 void gui_mch_exit __ARGS((int rc));
5112
f063be86b632 updated for version 7.3.1299
Bram Moolenaar <bram@vim.org>
parents: 4055
diff changeset
54 void gui_mch_wide_font_changed __ARGS((void));
1119
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
55 int gui_mch_init_font __ARGS((char_u *font_name, int fontset));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
56 int gui_mch_maximized __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
57 void gui_mch_newfont __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
58 void gui_mch_settitle __ARGS((char_u *title, char_u *icon));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
59 void mch_set_mouse_shape __ARGS((int shape));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
60 char_u *gui_mch_browsedir __ARGS((char_u *title, char_u *initdir));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
61 char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
62 int get_cmd_args __ARGS((char *prog, char *cmdline, char ***argvp, char **tofree));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
63 int gui_is_win32s __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
64 void gui_mch_set_parent __ARGS((char *title));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
65 void gui_mch_prepare __ARGS((int *argc, char **argv));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
66 int gui_mch_init __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
67 void gui_mch_set_shellsize __ARGS((int width, int height, int min_width, int min_height, int base_width, int base_height, int direction));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
68 void gui_mch_set_scrollbar_thumb __ARGS((scrollbar_T *sb, long val, long size, long max));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
69 void gui_mch_set_font __ARGS((GuiFont font));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
70 void gui_mch_set_fg_color __ARGS((guicolor_T color));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
71 void gui_mch_set_bg_color __ARGS((guicolor_T color));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
72 void gui_mch_set_sp_color __ARGS((guicolor_T color));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
73 void im_set_font __ARGS((LOGFONT *lf));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
74 void im_set_position __ARGS((int row, int col));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
75 void im_set_active __ARGS((int active));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
76 int im_get_status __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
77 void gui_mch_draw_string __ARGS((int row, int col, char_u *text, int len, int flags));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
78 void gui_mch_flush __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
79 void gui_mch_get_screen_dimensions __ARGS((int *screen_w, int *screen_h));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
80 void gui_mch_add_menu __ARGS((vimmenu_T *menu, int pos));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
81 void gui_mch_show_popupmenu __ARGS((vimmenu_T *menu));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
82 void gui_make_popup __ARGS((char_u *path_name, int mouse_pos));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
83 void gui_make_tearoff __ARGS((char_u *path_name));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
84 void gui_mch_add_menu_item __ARGS((vimmenu_T *menu, int idx));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
85 void gui_mch_destroy_menu __ARGS((vimmenu_T *menu));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
86 void gui_mch_menu_grey __ARGS((vimmenu_T *menu, int grey));
2684
951641b8784d updated for version 7.3.102
Bram Moolenaar <bram@vim.org>
parents: 2210
diff changeset
87 int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield, int ex_cmd));
1119
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
88 void gui_mch_set_foreground __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
89 void gui_mch_drawsign __ARGS((int row, int col, int typenr));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
90 void *gui_mch_register_sign __ARGS((char_u *signfile));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
91 void gui_mch_destroy_sign __ARGS((void *sign));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
92 int multiline_balloon_available __ARGS((void));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
93 void gui_mch_disable_beval_area __ARGS((BalloonEval *beval));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
94 void gui_mch_enable_beval_area __ARGS((BalloonEval *beval));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
95 void gui_mch_post_balloon __ARGS((BalloonEval *beval, char_u *mesg));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
96 BalloonEval *gui_mch_create_beval_area __ARGS((void *target, char_u *mesg, void (*mesgCB)(BalloonEval *, int), void *clientData));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
97 void gui_mch_destroy_beval_area __ARGS((BalloonEval *beval));
dd9842fb18dd updated for version 7.1a
vimboss
parents: 811
diff changeset
98 void netbeans_draw_multisign_indicator __ARGS((int row));
2210
8c6a66e2b3cc Add :nbstart and :nbclose.
Bram Moolenaar <bram@vim.org>
parents: 1119
diff changeset
99 void netbeans_init_winsock __ARGS((void));
7
3fc0f57ecb91 updated for version 7.0001
vimboss
parents:
diff changeset
100 /* vim: set ft=c : */