Toolbar strings are moved to the string files.  This is in preparation for
moving to a gettext mode.  All ap_TB_LabelSet_xx-XX.h are deprecated and
will be removed from HEAD shortly.

Adding of new toolbars items can be accomplished by updating the
ap_Toolbar_Id_List.h and the appropriate TOOLBAR_LABEL_<ID>
TOOLBAR_STATUSLINE_<ID> and TOOLBAR_TOOLTIP_<ID> in the ap_String_Id.h
file.

Default icons are mapped from ID tag to the icons string name in
ap_Toolbar_Iconmap.h  Language specific icons are mapped by ID_LANG.

This should shrink the executable by ~150kb.

I will update the xx-XX.strings files shortly with strings from the
TB_LabelSet headers.

Cheers!


Michael D. Pritchett

Added Files
src/wp/ap/xp/ap_Toolbar_Id_List.h
src/wp/ap/xp/ap_Toolbar_Iconmap.h

Modified Files
src/af/xap/xp/xap_Toolbar_LabelSet.h
src/wp/ap/xp/ap_String_Id.h
src/wp/ap/xp/ap_Toolbar_Icons.cpp
src/wp/ap/xp/ap_Toolbar_Id.h
src/wp/ap/xp/ap_Toolbar_LabelSet.cpp

Reply via email to