home *** CD-ROM | disk | FTP | other *** search
-
- // objects.h.basemenu
-
- // Dreamscape - C++ class library for RISC OS
- // Copyright (c) 1996 Mark Seaborn <mseaborn@argonet.co.uk>
- //
- // This library is free software; you can redistribute it and/or
- // modify it under the terms of the GNU Library General Public
- // License as published by the Free Software Foundation; either
- // version 2 of the License, or (at your option) any later version.
- // See the Dreamscape documentation for more information.
-
- #ifndef dreamscape_basemenu_H
- #define dreamscape_basemenu_H
-
- #include "tboxobj.h"
-
- class BaseMenu {
- public:
- void show();
- void show(const ScrCoords &pos);
- void hide();
- bool is_showing() const;
-
- virtual BaseMenu &get_next_menu() = 0;
- virtual const BaseMenu &get_next_menu() const = 0;
- virtual bool has_next_menu() const = 0;
-
- // Low level
- virtual ToolboxObject &get_toolbox_object();
- virtual const ToolboxObject &get_toolbox_object() const;
- };
-
- #endif
-