# GlutWrapper::MenuEntry Struct Reference

An entry of the right button mouse menu. It contains the text to be displayed and the option which is related to. More...

`#include <MenuEntry.h>`

List of all members.

## Public Member Functions
| MenuEntry (const std::string &name, int option)
## Public Attributes
std::string | m_name
| Text to be displayed.
int | m_option
| The option.

## Detailed Description

An entry of the right button mouse menu. It contains the text to be displayed and the option which is related to.

## Constructor & Destructor Documentation

GlutWrapper::MenuEntry::MenuEntry | ( | const std::string & | name,
|  | int | option |
| ) |  |  | `[inline]`

Constructor

Parameters:

  | name | the description displayed
  | option | the option

The documentation for this struct was generated from the following file:

- src/tests/2dRender/MenuEntry.h