AddAction
void AddAction(uint32 command, BHandler* target,
void AddAction(BMessage* message, BHandler* target,
fToolBar->AddAction(MSG_PREVIOUS_SCREENSHOT, this,
fToolBar->AddAction(MSG_NEXT_SCREENSHOT, this, SharedIcons::IconArrowRight22Scaled()->Bitmap(),
fToolBar->AddAction(M_NEW, this, _RetrieveVectorIcon(11), NULL,
fToolBar->AddAction(M_SEND_NOW, this, _RetrieveVectorIcon(1), NULL,
fToolBar->AddAction(M_SEND_NOW, this, _RetrieveVectorIcon(1), NULL,
fToolBar->AddAction(M_SIG_MENU, this, _RetrieveVectorIcon(2), NULL,
fToolBar->AddAction(M_SAVE_AS_DRAFT, this, _RetrieveVectorIcon(3), NULL,
fToolBar->AddAction(M_PRINT, this, _RetrieveVectorIcon(5), NULL,
fToolBar->AddAction(M_DELETE, this, _RetrieveVectorIcon(4), NULL,
fToolBar->AddAction(M_REPLY, this, _RetrieveVectorIcon(8), NULL,
fToolBar->AddAction(M_FORWARD, this, _RetrieveVectorIcon(9), NULL,
fToolBar->AddAction(M_PRINT, this, _RetrieveVectorIcon(5), NULL,
fToolBar->AddAction(M_DELETE_NEXT, this, _RetrieveVectorIcon(4), NULL,
fToolBar->AddAction(M_SPAM_BUTTON, this, _RetrieveVectorIcon(10),
fToolBar->AddAction(M_NEXTMSG, this, _RetrieveVectorIcon(6), NULL,
fToolBar->AddAction(M_UNREAD, this, _RetrieveVectorIcon(12), NULL,
fToolBar->AddAction(M_READ, this, _RetrieveVectorIcon(13), NULL,
fToolBar->AddAction(M_PREVMSG, this, _RetrieveVectorIcon(7), NULL,
fToolBar->AddAction(MSG_FILE_PREV, this,
fToolBar->AddAction(MSG_FILE_NEXT, this, tool_bar_icon(kIconGoNext),
fToolBar->AddAction(fullScreenSlideShow, this,
fToolBar->AddAction(MSG_SELECTION_MODE, this,
fToolBar->AddAction(kMsgOriginalSize, this,
fToolBar->AddAction(kMsgFitToWindow, this,
fToolBar->AddAction(MSG_ZOOM_IN, this, tool_bar_icon(kIconZoomIn),
fToolBar->AddAction(MSG_ZOOM_OUT, this, tool_bar_icon(kIconZoomOut),
fToolBar->AddAction(MSG_PAGE_PREV, this, tool_bar_icon(kIconPagePrevious),
fToolBar->AddAction(MSG_PAGE_NEXT, this, tool_bar_icon(kIconPageNext),
fToolBar->AddAction(MSG_FULL_SCREEN, this,
AddAction(new BMessage(command), target, icon, toolTipText, text, lockable);
AddAction(kNavigatorCommandForward, this, bmpForw);
AddAction(kNavigatorCommandUp, this, bmpUp);
AddAction(kNavigatorCommandBackward, this, bmpBack);