blob: c5c6585dbc8b94224b3fd9e1acbfedbd421dd898 [file] [log] [blame]
Bram Moolenaar071d4272004-06-13 20:20:40 +00001/* gui_w32.c */
Bram Moolenaaref269542016-01-19 13:22:12 +01002int gui_mch_set_rendering_options(char_u *s);
Bram Moolenaar703a8042016-06-04 16:24:32 +02003int gui_mch_is_blinking(void);
Bram Moolenaar9d5d3c92016-07-07 16:43:02 +02004int gui_mch_is_blink_off(void);
Bram Moolenaaref269542016-01-19 13:22:12 +01005void gui_mch_set_blinking(long wait, long on, long off);
Bram Moolenaar1dd45fb2018-01-31 21:10:01 +01006void gui_mch_stop_blink(int may_call_gui_update_cursor);
Bram Moolenaaref269542016-01-19 13:22:12 +01007void gui_mch_start_blink(void);
Bram Moolenaaref269542016-01-19 13:22:12 +01008void gui_mch_new_colors(void);
9void gui_mch_def_colors(void);
10int gui_mch_open(void);
11int gui_mch_get_winpos(int *x, int *y);
12void gui_mch_set_winpos(int x, int y);
13void gui_mch_set_text_area_pos(int x, int y, int w, int h);
14void gui_mch_enable_scrollbar(scrollbar_T *sb, int flag);
15void gui_mch_set_scrollbar_pos(scrollbar_T *sb, int x, int y, int w, int h);
Bram Moolenaar203ec772020-07-17 20:43:43 +020016int gui_mch_get_scrollbar_xpadding(void);
17int gui_mch_get_scrollbar_ypadding(void);
Bram Moolenaaref269542016-01-19 13:22:12 +010018void gui_mch_create_scrollbar(scrollbar_T *sb, int orient);
19int gui_mch_adjust_charheight(void);
20GuiFont gui_mch_get_font(char_u *name, int giveErrorIfMissing);
21char_u *gui_mch_get_fontname(GuiFont font, char_u *name);
22void gui_mch_free_font(GuiFont font);
23guicolor_T gui_mch_get_color(char_u *name);
Bram Moolenaar26af85d2017-07-23 16:45:10 +020024guicolor_T gui_mch_get_rgb_color(int r, int g, int b);
Bram Moolenaaref269542016-01-19 13:22:12 +010025int gui_mch_haskey(char_u *name);
26void gui_mch_beep(void);
27void gui_mch_invert_rectangle(int r, int c, int nr, int nc);
28void gui_mch_iconify(void);
29void gui_mch_draw_hollow_cursor(guicolor_T color);
30void gui_mch_draw_part_cursor(int w, int h, guicolor_T color);
31void gui_mch_update(void);
32int gui_mch_wait_for_chars(int wtime);
33void gui_mch_clear_block(int row1, int col1, int row2, int col2);
34void gui_mch_clear_all(void);
35void gui_mch_enable_menu(int flag);
36void gui_mch_set_menu_pos(int x, int y, int w, int h);
37void gui_mch_menu_hidden(vimmenu_T *menu, int hidden);
38void gui_mch_draw_menubar(void);
Bram Moolenaar1b58cdd2016-08-22 23:04:33 +020039guicolor_T gui_mch_get_rgb(guicolor_T pixel);
Bram Moolenaaref269542016-01-19 13:22:12 +010040void gui_mch_show_toolbar(int showit);
41void gui_mch_show_tabline(int showit);
42int gui_mch_showing_tabline(void);
43void gui_mch_update_tabline(void);
44void gui_mch_set_curtab(int nr);
45void ex_simalt(exarg_T *eap);
46void gui_mch_find_dialog(exarg_T *eap);
47void gui_mch_replace_dialog(exarg_T *eap);
48void gui_mch_mousehide(int hide);
49void gui_mch_destroy_scrollbar(scrollbar_T *sb);
50void gui_mch_getmouse(int *x, int *y);
51void gui_mch_setmouse(int x, int y);
52void gui_mch_flash(int msec);
53void gui_mch_delete_lines(int row, int num_lines);
54void gui_mch_insert_lines(int row, int num_lines);
55void gui_mch_exit(int rc);
56void gui_mch_wide_font_changed(void);
57int gui_mch_init_font(char_u *font_name, int fontset);
58int gui_mch_maximized(void);
59void gui_mch_newfont(void);
60void gui_mch_settitle(char_u *title, char_u *icon);
61void mch_set_mouse_shape(int shape);
Bram Moolenaaref269542016-01-19 13:22:12 +010062char_u *gui_mch_browse(int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter);
Bram Moolenaar1c321dc2019-02-01 20:42:22 +010063char_u *gui_mch_browsedir(char_u *title, char_u *initdir);
Bram Moolenaaref269542016-01-19 13:22:12 +010064void gui_mch_set_parent(char *title);
Bram Moolenaarafde13b2019-04-28 19:46:49 +020065char *gui_mch_do_spawn(char_u *arg);
Bram Moolenaaref269542016-01-19 13:22:12 +010066void 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);
Bram Moolenaar433a5eb2019-03-30 16:24:16 +010074void im_set_font(LOGFONTW *lf);
Bram Moolenaaref269542016-01-19 13:22:12 +010075void 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);
Bram Moolenaaref269542016-01-19 13:22:12 +010093void gui_mch_disable_beval_area(BalloonEval *beval);
94void gui_mch_enable_beval_area(BalloonEval *beval);
95void gui_mch_post_balloon(BalloonEval *beval, char_u *mesg);
96BalloonEval *gui_mch_create_beval_area(void *target, char_u *mesg, void (*mesgCB)(BalloonEval *, int), void *clientData);
97void gui_mch_destroy_beval_area(BalloonEval *beval);
98void netbeans_draw_multisign_indicator(int row);
Christopher Plewright20b795e2022-12-20 20:01:58 +000099int test_gui_w32_sendevent(char_u *event, dict_T *args);
Bram Moolenaar071d4272004-06-13 20:20:40 +0000100/* vim: set ft=c : */