On 08/12/09 17:16, epanda wrote:
> Hi,
>
> I am modifying my toolbar under XP, I have change tools.bmp.
>
> I have some problems to know how is calculated the position of each
> icons from the tools.bmp to the toolbar.
>
> Pos in the toolbar :
> iconOpenFile(TB_1) iconOpenSave(TB_2) iconOpenSaveAll(TB_3)
>
> Pos in the bitmap :
> iconNewFile(BMP_1) iconOpenFile(BMP_2) iconOpenSave (BMP_3) .....
> iconOpenSaveAll(BMP_12)
>
> I have seen the menu.vim runtime file but don't understand the
> transposition.
>
> Thanks for help
> Epanda
>

see

        :help toolbar-icon

and in particular

        :help builtin-tools

Note that the numbering used here by Vim is zero-based. For the default 
toolbar, correspondence is by menu name: Builtin00 == New, Builtin01 == 
Open, Builtin02 == Save, ..., Builtin11 == SaveAll, ..., Builtin30 == 
WinMinWidth, which explains the correspondence you found. AFAICT there 
is no "Toolbar.New" menuitem though apparently there is an icon for it.


Best regards,
Tony.
-- 
It is not true that life is one damn thing after another -- it's one
damn thing over and over.
                -- Edna St. Vincent Millay

-- 
You received this message from the "vim_dev" maillist.
For more information, visit http://www.vim.org/maillist.php

Raspunde prin e-mail lui