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

panda/src/pgui/pgMouseWatcherBackground.cxx

Go to the documentation of this file.
00001 // Filename: pgMouseWatcherBackground.cxx
00002 // Created by:  drose (23Aug01)
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 #include "pgMouseWatcherBackground.h"
00020 #include "pgItem.h"
00021 
00022 TypeHandle PGMouseWatcherBackground::_type_handle;
00023 
00024 ////////////////////////////////////////////////////////////////////
00025 //     Function: PGMouseWatcherBackground::Constructor
00026 //       Access: Public
00027 //  Description: 
00028 ////////////////////////////////////////////////////////////////////
00029 PGMouseWatcherBackground::
00030 PGMouseWatcherBackground() :
00031   MouseWatcherRegion("PGMouseWatcherBackground", 0, 0, 0, 0)
00032 {
00033   set_active(false);
00034   set_keyboard(true);
00035 }
00036 
00037 ////////////////////////////////////////////////////////////////////
00038 //     Function: PGMouseWatcherBackground::Destructor
00039 //       Access: Public, Virtual
00040 //  Description: 
00041 ////////////////////////////////////////////////////////////////////
00042 PGMouseWatcherBackground::
00043 ~PGMouseWatcherBackground() {
00044 }
00045 
00046 ////////////////////////////////////////////////////////////////////
00047 //     Function: PGMouseWatcherBackground::press
00048 //       Access: Public, Virtual
00049 //  Description: This is a callback hook function, called whenever a
00050 //               mouse or keyboard button is depressed while the mouse
00051 //               is within the background.
00052 ////////////////////////////////////////////////////////////////////
00053 void PGMouseWatcherBackground::
00054 press(const MouseWatcherParameter &param) {
00055   PGItem::background_press(param);
00056 }
00057 
00058 ////////////////////////////////////////////////////////////////////
00059 //     Function: PGMouseWatcherBackground::release
00060 //       Access: Public, Virtual
00061 //  Description: This is a callback hook function, called whenever a
00062 //               mouse or keyboard button previously depressed with
00063 //               press() is released.
00064 ////////////////////////////////////////////////////////////////////
00065 void PGMouseWatcherBackground::
00066 release(const MouseWatcherParameter &param) {
00067   PGItem::background_release(param);
00068 }
00069 
00070 ////////////////////////////////////////////////////////////////////
00071 //     Function: PGMouseWatcherBackground::keystroke
00072 //       Access: Public, Virtual
00073 //  Description: This is a callback hook function, called whenever
00074 //               the user presses a key.
00075 ////////////////////////////////////////////////////////////////////
00076 void PGMouseWatcherBackground::
00077 keystroke(const MouseWatcherParameter &param) {
00078   PGItem::background_keystroke(param);
00079 }

Generated on Fri May 2 00:42:41 2003 for Panda by doxygen1.3