home *** CD-ROM | disk | FTP | other *** search
/ ARM Club 3 / TheARMClub_PDCD3.iso / hensa / programming / dreamscape / source / Dreamscape / Headers / utils / h / viewwindow < prev    next >
Encoding:
Text File  |  1996-09-20  |  856 b   |  32 lines

  1.  
  2. // utils.h.viewwindow
  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_viewwindow_H
  14. #define dreamscape_viewwindow_H
  15.  
  16. #include "document.h"
  17.  
  18. class ViewWindow: public View, private Command {
  19.   void reset_title();
  20.   void reset_extent();
  21.   void execute();
  22.  
  23. public:
  24.   ViewWindow(Document *document, BaseWindow *window);
  25.   virtual ~ViewWindow();
  26.  
  27.   void document_info_changed(const DocumentInfo &info);
  28.   void view_info_changed(const ViewInfo &info);
  29. };
  30.  
  31. #endif
  32.