#include <FWViewContextMenuHandlerBase.h>
Public Member Functions | |
int | addEntry (const char *iEntryName, int idx, bool enable=true) |
Private Member Functions | |
MenuEntryAdder (FWModelContextMenuHandler &) | |
Private Attributes | |
FWModelContextMenuHandler * | m_handler |
Friends | |
class | FWViewContextMenuHandlerBase |
Definition at line 34 of file FWViewContextMenuHandlerBase.h.
|
private |
Definition at line 26 of file FWViewContextMenuHandlerBase.cc.
int FWViewContextMenuHandlerBase::MenuEntryAdder::addEntry | ( | const char * | iEntryName, |
int | idx, | ||
bool | enable = true |
||
) |
Add an entry by name of iEntryName to the context menu. Returns the entry index which simply increments after each 'addEntry' call and starts at 0
Definition at line 29 of file FWViewContextMenuHandlerBase.cc.
References FWModelContextMenuHandler::addViewEntry(), training_settings::idx, and m_handler.
Referenced by FWViewContextMenuHandlerGL::init().
|
friend |
Definition at line 35 of file FWViewContextMenuHandlerBase.h.
|
private |
Definition at line 37 of file FWViewContextMenuHandlerBase.h.
Referenced by addEntry().