00001 /* HippoPlot DrawBorder class interface 00002 * 00003 * Copyright (C) 2001 The Board of Trustees of The Leland Stanford 00004 * Junior University. All Rights Reserved. 00005 * 00006 * $Id: DrawBorder.h,v 1.4 2003/09/24 22:31:30 pfkeb Exp $ 00007 * 00008 * 00009 */ 00010 00011 class ViewBase; 00012 00015 class DrawBorder 00016 { 00017 private: 00018 00020 static DrawBorder * s_instance; 00021 00023 DrawBorder ( const DrawBorder & ); 00024 00026 ViewBase * m_view; 00027 00029 DrawBorder(); 00030 00031 public: 00032 00034 static DrawBorder * instance (); 00035 00037 void setView (ViewBase * view); 00038 00040 ViewBase * getView (); 00041 00043 void draw(); 00044 00046 void drawKnob ( double x, double y ); 00047 00048 };