Mercurial > vim
comparison src/proto/menu.pro @ 12487:3f16cf18386c v8.0.1123
patch 8.0.1123: cannot define a toolbar for a window
commit https://github.com/vim/vim/commit/1b9645de3c05f37b5c30e78f999351b0cf486ade
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Sep 17 23:03:31 2017 +0200
patch 8.0.1123: cannot define a toolbar for a window
Problem: Cannot define a toolbar for a window.
Solution: Add a window-local toolbar.
author | Christian Brabandt <cb@256bit.org> |
---|---|
date | Sun, 17 Sep 2017 23:15:04 +0200 |
parents | 21b0a39d13ed |
children | 244ff1b6d2ad |
comparison
equal
deleted
inserted
replaced
12486:be9971c7a226 | 12487:3f16cf18386c |
---|---|
1 /* menu.c */ | 1 /* menu.c */ |
2 int winbar_height(win_T *wp); | |
2 void ex_menu(exarg_T *eap); | 3 void ex_menu(exarg_T *eap); |
4 void remove_winbar(win_T *wp); | |
3 char_u *set_context_in_menu_cmd(expand_T *xp, char_u *cmd, char_u *arg, int forceit); | 5 char_u *set_context_in_menu_cmd(expand_T *xp, char_u *cmd, char_u *arg, int forceit); |
4 char_u *get_menu_name(expand_T *xp, int idx); | 6 char_u *get_menu_name(expand_T *xp, int idx); |
5 char_u *get_menu_names(expand_T *xp, int idx); | 7 char_u *get_menu_names(expand_T *xp, int idx); |
6 char_u *menu_name_skip(char_u *name); | 8 char_u *menu_name_skip(char_u *name); |
7 int get_menu_index(vimmenu_T *menu, int state); | 9 int get_menu_index(vimmenu_T *menu, int state); |
15 void gui_update_menus(int modes); | 17 void gui_update_menus(int modes); |
16 int gui_is_menu_shortcut(int key); | 18 int gui_is_menu_shortcut(int key); |
17 void gui_show_popupmenu(void); | 19 void gui_show_popupmenu(void); |
18 void gui_mch_toggle_tearoffs(int enable); | 20 void gui_mch_toggle_tearoffs(int enable); |
19 void ex_emenu(exarg_T *eap); | 21 void ex_emenu(exarg_T *eap); |
22 void winbar_click(win_T *wp, int col); | |
20 vimmenu_T *gui_find_menu(char_u *path_name); | 23 vimmenu_T *gui_find_menu(char_u *path_name); |
21 void ex_menutranslate(exarg_T *eap); | 24 void ex_menutranslate(exarg_T *eap); |
22 /* vim: set ft=c : */ | 25 /* vim: set ft=c : */ |