Defines | Functions

ap_Toolbar_LabelSet.cpp File Reference

#include <string.h>
#include "ap_Features.h"
#include "ut_types.h"
#include "ut_string.h"
#include "ut_assert.h"
#include "ev_Toolbar_Labels.h"
#include "xap_App.h"
#include "xap_Toolbar_ActionSet.h"
#include "ap_Toolbar_Id.h"
#include "ap_Strings.h"
#include "ap_Toolbar_Id_List.h"

Defines

#define toolbaritem(id)

Functions

EV_Toolbar_LabelSetAP_CreateToolbarLabelSet (const char *szLanguage_)

Define Documentation

#define toolbaritem (   id  ) 
Value:
iconname = #id; \
        iconname += "_"; \
        iconname += szLanguage; \
        pLabelSet->setLabel(    (AP_TOOLBAR_ID_##id), \
                                pSS->getValue(AP_STRING_ID_TOOLBAR_LABEL_##id), \
                                iconname.c_str(), \
                                pSS->getValue(AP_STRING_ID_TOOLBAR_TOOLTIP_##id), \
                                pSS->getValue(AP_STRING_ID_TOOLBAR_STATUSLINE_##id) );

Function Documentation

EV_Toolbar_LabelSet* AP_CreateToolbarLabelSet ( const char *  szLanguage_  ) 

This file defines the set of Id's used for all toolbar

things. Each Id defines a conceptual unit which may be

used on one or more toolbars or not at all.

References AP_TOOLBAR_ID__BOGUS1__, XAP_App::getApp(), XAP_App::getStringSet(), and EV_Toolbar_LabelSet::setLabel().

Referenced by EV_Toolbar::EV_Toolbar(), and s_addToolsToProvider().