blob: 5280291f5fee7d8fff54b04fbb8058cee5cdcf31 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* gui_w32.c */
Bram Moolenaarc01140a2006-03-24 22:21:52 +00002extern void gui_mch_set_blinking __ARGS((long wait, long on, long off));
3extern void gui_mch_stop_blink __ARGS((void));
4extern void gui_mch_start_blink __ARGS((void));
5extern LRESULT WINAPI vim_WindowProc __ARGS((HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam));
6extern void gui_mch_new_colors __ARGS((void));
7extern void gui_mch_def_colors __ARGS((void));
8extern int gui_mch_open __ARGS((void));
9extern int gui_mch_get_winpos __ARGS((int *x, int *y));
10extern void gui_mch_set_winpos __ARGS((int x, int y));
11extern void gui_mch_set_text_area_pos __ARGS((int x, int y, int w, int h));
12extern void gui_mch_enable_scrollbar __ARGS((scrollbar_T *sb, int flag));
13extern void gui_mch_set_scrollbar_pos __ARGS((scrollbar_T *sb, int x, int y, int w, int h));
14extern void gui_mch_create_scrollbar __ARGS((scrollbar_T *sb, int orient));
15extern int gui_mch_adjust_charheight __ARGS((void));
16extern GuiFont gui_mch_get_font __ARGS((char_u *name, int giveErrorIfMissing));
17extern char_u *gui_mch_get_fontname __ARGS((GuiFont font, char_u *name));
18extern void gui_mch_free_font __ARGS((GuiFont font));
19extern guicolor_T gui_mch_get_color __ARGS((char_u *name));
20extern int gui_mch_haskey __ARGS((char_u *name));
21extern void gui_mch_beep __ARGS((void));
22extern void gui_mch_invert_rectangle __ARGS((int r, int c, int nr, int nc));
23extern void gui_mch_iconify __ARGS((void));
24extern void gui_mch_draw_hollow_cursor __ARGS((guicolor_T color));
25extern void gui_mch_draw_part_cursor __ARGS((int w, int h, guicolor_T color));
26extern void gui_mch_update __ARGS((void));
27extern int gui_mch_wait_for_chars __ARGS((int wtime));
28extern void gui_mch_clear_block __ARGS((int row1, int col1, int row2, int col2));
29extern void gui_mch_clear_all __ARGS((void));
30extern void gui_mch_enable_menu __ARGS((int flag));
31extern void gui_mch_set_menu_pos __ARGS((int x, int y, int w, int h));
32extern void gui_mch_menu_hidden __ARGS((vimmenu_T *menu, int hidden));
33extern void gui_mch_draw_menubar __ARGS((void));
34extern long_u gui_mch_get_rgb __ARGS((guicolor_T pixel));
35extern void gui_mch_activate_window __ARGS((void));
36extern void gui_mch_show_toolbar __ARGS((int showit));
Bram Moolenaar3991dab2006-03-27 17:01:56 +000037extern void gui_mch_show_tabline __ARGS((int showit));
38extern int gui_mch_showing_tabline __ARGS((void));
39extern void gui_mch_update_tabline __ARGS((void));
40extern void gui_mch_set_curtab __ARGS((int nr));
Bram Moolenaarc01140a2006-03-24 22:21:52 +000041extern void ex_simalt __ARGS((exarg_T *eap));
42extern void gui_mch_find_dialog __ARGS((exarg_T *eap));
43extern void gui_mch_replace_dialog __ARGS((exarg_T *eap));
44extern void gui_mch_mousehide __ARGS((int hide));
45extern void gui_mch_destroy_scrollbar __ARGS((scrollbar_T *sb));
46extern void gui_mch_getmouse __ARGS((int *x, int *y));
47extern void gui_mch_setmouse __ARGS((int x, int y));
48extern void gui_mch_flash __ARGS((int msec));
49extern void gui_mch_delete_lines __ARGS((int row, int num_lines));
50extern void gui_mch_insert_lines __ARGS((int row, int num_lines));
51extern void gui_mch_exit __ARGS((int rc));
52extern int gui_mch_init_font __ARGS((char_u *font_name, int fontset));
53extern int gui_mch_maximized __ARGS((void));
54extern void gui_mch_newfont __ARGS((void));
55extern void gui_mch_settitle __ARGS((char_u *title, char_u *icon));
56extern void mch_set_mouse_shape __ARGS((int shape));
57extern char_u *gui_mch_browsedir __ARGS((char_u *title, char_u *initdir));
58extern char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter));
59extern int get_cmd_args __ARGS((char *prog, char *cmdline, char ***argvp, char **tofree));
60extern int gui_is_win32s __ARGS((void));
61extern void gui_mch_set_parent __ARGS((char *title));
62extern void gui_mch_prepare __ARGS((int *argc, char **argv));
63extern int gui_mch_init __ARGS((void));
Bram Moolenaar2e2a2812006-03-27 20:55:21 +000064extern void gui_mch_set_shellsize __ARGS((int width, int height, int min_width, int min_height, int base_width, int base_height, int direction));
Bram Moolenaarc01140a2006-03-24 22:21:52 +000065extern void gui_mch_set_scrollbar_thumb __ARGS((scrollbar_T *sb, long val, long size, long max));
66extern void gui_mch_set_font __ARGS((GuiFont font));
67extern void gui_mch_set_fg_color __ARGS((guicolor_T color));
68extern void gui_mch_set_bg_color __ARGS((guicolor_T color));
69extern void gui_mch_set_sp_color __ARGS((guicolor_T color));
70extern void im_set_font __ARGS((LOGFONT *lf));
71extern void im_set_position __ARGS((int row, int col));
72extern void im_set_active __ARGS((int active));
73extern int im_get_status __ARGS((void));
74extern void gui_mch_draw_string __ARGS((int row, int col, char_u *text, int len, int flags));
75extern void gui_mch_flush __ARGS((void));
76extern void gui_mch_get_screen_dimensions __ARGS((int *screen_w, int *screen_h));
77extern void gui_mch_add_menu __ARGS((vimmenu_T *menu, int pos));
78extern void gui_mch_show_popupmenu __ARGS((vimmenu_T *menu));
79extern void gui_make_popup __ARGS((char_u *path_name, int mouse_pos));
80extern void gui_make_tearoff __ARGS((char_u *path_name));
81extern void gui_mch_add_menu_item __ARGS((vimmenu_T *menu, int idx));
82extern void gui_mch_destroy_menu __ARGS((vimmenu_T *menu));
83extern void gui_mch_menu_grey __ARGS((vimmenu_T *menu, int grey));
84extern int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield));
85extern void gui_mch_set_foreground __ARGS((void));
86extern void gui_mch_drawsign __ARGS((int row, int col, int typenr));
87extern void *gui_mch_register_sign __ARGS((char_u *signfile));
88extern void gui_mch_destroy_sign __ARGS((void *sign));
89extern int multiline_balloon_available __ARGS((void));
90extern void gui_mch_disable_beval_area __ARGS((BalloonEval *beval));
91extern void gui_mch_enable_beval_area __ARGS((BalloonEval *beval));
92extern void gui_mch_post_balloon __ARGS((BalloonEval *beval, char_u *mesg));
93extern BalloonEval *gui_mch_create_beval_area __ARGS((void *target, char_u *mesg, void (*mesgCB)(BalloonEval *, int), void *clientData));
94extern void gui_mch_destroy_beval_area __ARGS((BalloonEval *beval));
95extern void netbeans_draw_multisign_indicator __ARGS((int row));
Bram Moolenaar071d4272004-06-13 20:20:40 +000096/* vim: set ft=c : */