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