feisty meow concerns codebase  2.140
menu_common_base Class Reference

a common base class for referring to menu_items or menus polymorphically. More...

#include <menu_base.h>

Inheritance diagram for menu_common_base:
Collaboration diagram for menu_common_base:

Public Member Functions

virtual ~menu_common_base ()
 
bool enabled () const
 
void enable (bool enable=true)
 

Detailed Description

a common base class for referring to menu_items or menus polymorphically.

Definition at line 31 of file menu_base.h.

Constructor & Destructor Documentation

◆ ~menu_common_base()

menu_common_base::~menu_common_base ( )
virtual

Definition at line 29 of file menu_base.cpp.

Member Function Documentation

◆ enable()

void menu_common_base::enable ( bool  enable = true)
inline

Definition at line 37 of file menu_base.h.

References enable().

Referenced by enable(), menu_base::enable_item(), and menu_base::enable_submenu().

◆ enabled()

bool menu_common_base::enabled ( ) const
inline

Definition at line 36 of file menu_base.h.


The documentation for this class was generated from the following files: