blob: 9e411565eb4cced66b6fa61fdc337553f3657225 [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));
37extern void ex_simalt __ARGS((exarg_T *eap));
38extern void gui_mch_find_dialog __ARGS((exarg_T *eap));
39extern void gui_mch_replace_dialog __ARGS((exarg_T *eap));
40extern void gui_mch_mousehide __ARGS((int hide));
41extern void gui_mch_destroy_scrollbar __ARGS((scrollbar_T *sb));
42extern void gui_mch_getmouse __ARGS((int *x, int *y));
43extern void gui_mch_setmouse __ARGS((int x, int y));
44extern void gui_mch_flash __ARGS((int msec));
45extern void gui_mch_delete_lines __ARGS((int row, int num_lines));
46extern void gui_mch_insert_lines __ARGS((int row, int num_lines));
47extern void gui_mch_exit __ARGS((int rc));
48extern int gui_mch_init_font __ARGS((char_u *font_name, int fontset));
49extern int gui_mch_maximized __ARGS((void));
50extern void gui_mch_newfont __ARGS((void));
51extern void gui_mch_settitle __ARGS((char_u *title, char_u *icon));
52extern void mch_set_mouse_shape __ARGS((int shape));
53extern char_u *gui_mch_browsedir __ARGS((char_u *title, char_u *initdir));
54extern char_u *gui_mch_browse __ARGS((int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter));
55extern int get_cmd_args __ARGS((char *prog, char *cmdline, char ***argvp, char **tofree));
56extern int gui_is_win32s __ARGS((void));
57extern void gui_mch_set_parent __ARGS((char *title));
58extern void gui_mch_prepare __ARGS((int *argc, char **argv));
59extern int gui_mch_init __ARGS((void));
60extern void gui_mch_set_shellsize __ARGS((int width, int height, int min_width, int min_height, int base_width, int base_height));
61extern void gui_mch_set_scrollbar_thumb __ARGS((scrollbar_T *sb, long val, long size, long max));
62extern void gui_mch_set_font __ARGS((GuiFont font));
63extern void gui_mch_set_fg_color __ARGS((guicolor_T color));
64extern void gui_mch_set_bg_color __ARGS((guicolor_T color));
65extern void gui_mch_set_sp_color __ARGS((guicolor_T color));
66extern void im_set_font __ARGS((LOGFONT *lf));
67extern void im_set_position __ARGS((int row, int col));
68extern void im_set_active __ARGS((int active));
69extern int im_get_status __ARGS((void));
70extern void gui_mch_draw_string __ARGS((int row, int col, char_u *text, int len, int flags));
71extern void gui_mch_flush __ARGS((void));
72extern void gui_mch_get_screen_dimensions __ARGS((int *screen_w, int *screen_h));
73extern void gui_mch_add_menu __ARGS((vimmenu_T *menu, int pos));
74extern void gui_mch_show_popupmenu __ARGS((vimmenu_T *menu));
75extern void gui_make_popup __ARGS((char_u *path_name, int mouse_pos));
76extern void gui_make_tearoff __ARGS((char_u *path_name));
77extern void gui_mch_add_menu_item __ARGS((vimmenu_T *menu, int idx));
78extern void gui_mch_destroy_menu __ARGS((vimmenu_T *menu));
79extern void gui_mch_menu_grey __ARGS((vimmenu_T *menu, int grey));
80extern int gui_mch_dialog __ARGS((int type, char_u *title, char_u *message, char_u *buttons, int dfltbutton, char_u *textfield));
81extern void gui_mch_set_foreground __ARGS((void));
82extern void gui_mch_drawsign __ARGS((int row, int col, int typenr));
83extern void *gui_mch_register_sign __ARGS((char_u *signfile));
84extern void gui_mch_destroy_sign __ARGS((void *sign));
85extern int multiline_balloon_available __ARGS((void));
86extern void gui_mch_disable_beval_area __ARGS((BalloonEval *beval));
87extern void gui_mch_enable_beval_area __ARGS((BalloonEval *beval));
88extern void gui_mch_post_balloon __ARGS((BalloonEval *beval, char_u *mesg));
89extern BalloonEval *gui_mch_create_beval_area __ARGS((void *target, char_u *mesg, void (*mesgCB)(BalloonEval *, int), void *clientData));
90extern void gui_mch_destroy_beval_area __ARGS((BalloonEval *beval));
91extern void netbeans_draw_multisign_indicator __ARGS((int row));
Bram Moolenaar071d4272004-06-13 20:20:40 +000092/* vim: set ft=c : */