home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / dreamscape / source / Dreamscape / Headers / objects / h / basemenu next >
Encoding:
Text File  |  1996-07-28  |  922 b   |  35 lines

  1.  
  2. // objects.h.basemenu
  3.  
  4. // Dreamscape - C++ class library for RISC OS
  5. // Copyright (c) 1996 Mark Seaborn <mseaborn@argonet.co.uk>
  6. //
  7. // This library is free software; you can redistribute it and/or
  8. // modify it under the terms of the GNU Library General Public
  9. // License as published by the Free Software Foundation; either
  10. // version 2 of the License, or (at your option) any later version.
  11. // See the Dreamscape documentation for more information.
  12.  
  13. #ifndef dreamscape_basemenu_H
  14. #define dreamscape_basemenu_H
  15.  
  16. #include "tboxobj.h"
  17.  
  18. class BaseMenu {
  19. public:
  20.   void show();
  21.   void show(const ScrCoords &pos);
  22.   void hide();
  23.   bool is_showing() const;
  24.  
  25.   virtual BaseMenu &get_next_menu() = 0;
  26.   virtual const BaseMenu &get_next_menu() const = 0;
  27.   virtual bool has_next_menu() const = 0;
  28.  
  29.   // Low level
  30.   virtual ToolboxObject &get_toolbox_object();
  31.   virtual const ToolboxObject &get_toolbox_object() const;
  32. };
  33.  
  34. #endif
  35.