Main Page   Class Hierarchy   Compound List   File List   Header Files   Compound Members   File Members  

monitorWindow.h

This is the verbatim text of the monitorWindow.h include file.
/* Sun-$Revision: 23.2 $ */

/* Copyright 1992-9 Sun Microsystems, Inc. and Stanford University.
   See the LICENSE file for license information. */

# pragma interface

// I implement a window specialized for the spy.

class Monitor;

class MonitorWindow: public PlatformWindow  {
 protected:
  Monitor* _m; // backpointer to the spy
  Monitor* my_monitor() { return _m; }
  
 public:
  MonitorWindow();
  
  bool  open_and_resize(Monitor*); // opens window and resizes for spy
  void  close();
  
  // Handy operations:
  void  adjust_after_resize();
  void  full_redraw();
  
protected:
  // Desired default size/place of spy window (spanning bottom of screen):
  int   initial_left(),  initial_top(),  initial_width(),  initial_height();

  // platform fns:
  char* compute_window_name();
  char* compute_display_name();
}; 

Generated at Tue Jun 27 12:08:24 2000 for SelfVM by doxygen 1.0.0 written by Dimitri van Heesch, © 1997-1999