#ifndef MENUSYSTEMTEST_H
#define MENUSYSTEMTEST_H 

#include <vector>
using namespace std;

//#include <myglutgui.h>
#include <gobj.h>
#include <zpr.h>
#include <menusystem.h>
#include <primitivewindow.h>


/*!
\brief  Display the capabilities of the menusystem class.
*/
class menusystemtest 
{
  /** Global graphics stream. */
  gobjContainer xGraphics;

  static primitiveWindow *pw;

public:

  /** Constructor. */
  menusystemtest()
    : xGraphics(true) {}

  /** The menu is contained as a composite member. */
  static menusystem * current;

  /** This gui forwards keyboard input to the current 
      menu. */
  static void keyboard01(unsigned char key, int x, int y);
  /** Display the current menu and primitive window. */
  static void display01();

  static void keyboard02(unsigned char key, int x, int y);
  static void display02();

  /** Display a menu with keyboard interaction. */
  void test01(int & argc,char** & argv);

  /** Test message menu functionality. */
  void test02(int & argc,char** & argv);

  /** Cleanup. */
  //~menusystemtest();

};


#endif



