Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members  

panda/src/chancfg/chanviewport.h

Go to the documentation of this file.
00001 // Filename: chanviewport.h
00002 // Created by:  cary (06Feb99)
00003 //
00004 ////////////////////////////////////////////////////////////////////
00005 //
00006 // PANDA 3D SOFTWARE
00007 // Copyright (c) 2001, Disney Enterprises, Inc.  All rights reserved
00008 //
00009 // All use of this software is subject to the terms of the Panda 3d
00010 // Software license.  You should have received a copy of this license
00011 // along with this source code; you will also find a current copy of
00012 // the license at http://www.panda3d.org/license.txt .
00013 //
00014 // To contact the maintainers of this program write to
00015 // panda3d@yahoogroups.com .
00016 //
00017 ////////////////////////////////////////////////////////////////////
00018 
00019 #ifndef __CHANVIEWPORT_H__
00020 #define __CHANVIEWPORT_H__
00021 
00022 
00023 class EXPCL_PANDA ChanViewport {
00024 private:
00025   float _left, _right, _bottom, _top;
00026 
00027   INLINE ChanViewport(void);
00028 public:
00029   INLINE ChanViewport(float, float, float, float);
00030   INLINE ChanViewport(const ChanViewport&);
00031   INLINE ~ChanViewport(void);
00032   INLINE ChanViewport& operator=(const ChanViewport&);
00033 
00034   INLINE float left(void) const;
00035   INLINE float right(void) const;
00036   INLINE float bottom(void) const;
00037   INLINE float top(void) const;
00038 };
00039 
00040 #include <pandabase.h>
00041 
00042 #include "chanviewport.I"
00043 
00044 #endif /* __CHANVIEWPORT_H__ */

Generated on Fri May 2 00:35:19 2003 for Panda by doxygen1.3