/* 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(); };