clickable.cpp
00001 /*************************************************************************** 00002 * Copyright (C) 2003 by Ralph M. Churchill * 00003 * mrchucho@yahoo.com * 00004 * * 00005 * This program is free software; you can redistribute it and/or modify * 00006 * it under the terms of the GNU General Public License as published by * 00007 * the Free Software Foundation; either version 2 of the License, or * 00008 * (at your option) any later version. * 00009 ***************************************************************************/ 00010 00011 #include "clickable.h" 00012 00013 00014 Clickable::Clickable( int x, int y, int w, int h ) 00015 { 00016 boundingBox = TQRect( x, y, w, h ); 00017 } 00018 00019 Clickable::~Clickable() 00020 {} 00021 00022 /* 00023 void Clickable::setOnClick( TQString oc ) 00024 { 00025 onClick = oc; 00026 } 00027 00028 void Clickable::setOnMiddleClick( TQString oc ) 00029 { 00030 onMiddleClick = oc; 00031 } 00032 */ 00033 00034 TQRect Clickable::getBoundingBox() 00035 { 00036 return boundingBox; 00037 }