00001 //--------------------------------------------------------------------------- 00002 /// \file CATButton.cpp 00003 /// \brief Momentary push button for GUI 00004 /// \ingroup CATGUI 00005 /// 00006 /// Copyright (c) 2003-2008 by Michael Ellison. 00007 /// See COPYING.txt for the \ref gaslicense License (MIT License). 00008 /// 00009 // $Author: mikeellison $ 00010 // $Date: 2008-01-23 01:43:25 -0600 (Wed, 23 Jan 2008) $ 00011 // $Revision: $ 00012 // $NoKeywords: $ 00013 //--------------------------------------------------------------------------- 00014 #include "CATButton.h" 00015 #include "CATWindow.h" 00016 //--------------------------------------------------------------------------- 00017 /// CATButton constructor (inherited from CATControl->CATXMLObject) 00018 /// \param element - Type name ("Button") 00019 /// \param rootDir - root directory of skin 00020 //--------------------------------------------------------------------------- 00021 CATButton::CATButton( const CATString& element, 00022 const CATString& rootDir) 00023 : CATControl(element, rootDir) 00024 { 00025 fValue = 1.0f; 00026 } 00027 00028 00029 00030 //--------------------------------------------------------------------------- 00031 /// CATButton destructor 00032 //--------------------------------------------------------------------------- 00033 CATButton::~CATButton() 00034 { 00035 } 00036