00001 // Filename: hardwareChannel.I 00002 // Created by: mike (04Feb99) 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 //////////////////////////////////////////////////////////////////// 00020 // Function: get_id 00021 // Access: Public 00022 // Description: 00023 //////////////////////////////////////////////////////////////////// 00024 INLINE int HardwareChannel::get_id( void ) const 00025 { 00026 return _id; 00027 } 00028 00029 //////////////////////////////////////////////////////////////////// 00030 // Function: get_xorg 00031 // Access: Public 00032 // Description: 00033 //////////////////////////////////////////////////////////////////// 00034 INLINE int HardwareChannel::get_xorg( void ) const 00035 { 00036 return _xorg; 00037 } 00038 00039 //////////////////////////////////////////////////////////////////// 00040 // Function: get_yorg 00041 // Access: Public 00042 // Description: 00043 //////////////////////////////////////////////////////////////////// 00044 INLINE int HardwareChannel::get_yorg( void ) const 00045 { 00046 return _yorg; 00047 } 00048 00049 //////////////////////////////////////////////////////////////////// 00050 // Function: get_xsize 00051 // Access: Public 00052 // Description: 00053 //////////////////////////////////////////////////////////////////// 00054 INLINE int HardwareChannel::get_xsize( void ) const 00055 { 00056 return _xsize; 00057 } 00058 00059 //////////////////////////////////////////////////////////////////// 00060 // Function: get_ysize 00061 // Access: Public 00062 // Description: 00063 //////////////////////////////////////////////////////////////////// 00064 INLINE int HardwareChannel::get_ysize( void ) const 00065 { 00066 return _ysize; 00067 }