blob: 3c99f97e5e45be82e6455af889269168aab0c788 [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 Moolenaar9d5d3c92016-07-07 16:43:02 +02005int gui_mch_is_blink_off(void);
Bram Moolenaaref269542016-01-19 13:22:12 +01006void gui_mch_set_blinking(long wait, long on, long off);
7void gui_mch_stop_blink(void);
8void gui_mch_start_blink(void);
9LRESULT WINAPI vim_WindowProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam);
10void gui_mch_new_colors(void);
11void gui_mch_def_colors(void);
12int gui_mch_open(void);
13int gui_mch_get_winpos(int *x, int *y);
14void gui_mch_set_winpos(int x, int y);
15void gui_mch_set_text_area_pos(int x, int y, int w, int h);
16void gui_mch_enable_scrollbar(scrollbar_T *sb, int flag);
17void gui_mch_set_scrollbar_pos(scrollbar_T *sb, int x, int y, int w, int h);
18void 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);
24int gui_mch_haskey(char_u *name);
25void gui_mch_beep(void);
26void gui_mch_invert_rectangle(int r, int c, int nr, int nc);
27void gui_mch_iconify(void);
28void gui_mch_draw_hollow_cursor(guicolor_T color);
29void gui_mch_draw_part_cursor(int w, int h, guicolor_T color);
30void gui_mch_update(void);
31int gui_mch_wait_for_chars(int wtime);
32void gui_mch_clear_block(int row1, int col1, int row2, int col2);
33void gui_mch_clear_all(void);
34void gui_mch_enable_menu(int flag);
35void gui_mch_set_menu_pos(int x, int y, int w, int h);
36void gui_mch_menu_hidden(vimmenu_T *menu, int hidden);
37void gui_mch_draw_menubar(void);
Bram Moolenaar1b58cdd2016-08-22 23:04:33 +020038guicolor_T gui_mch_get_rgb(guicolor_T pixel);
Bram Moolenaaref269542016-01-19 13:22:12 +010039void gui_mch_activate_window(void);
40void 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);
62char_u *gui_mch_browsedir(char_u *title, char_u *initdir);
63char_u *gui_mch_browse(int saving, char_u *title, char_u *dflt, char_u *ext, char_u *initdir, char_u *filter);
64int get_cmd_args(char *prog, char *cmdline, char ***argvp, char **tofree);
Bram Moolenaaref269542016-01-19 13:22:12 +010065void 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 : */