Skip to content
Skip to link menu
Trinity API Reference
Trinity API Reference
superkaramba
superkaramba
superkaramba
src
clickable.cpp
1
/***************************************************************************
2
* Copyright (C) 2003 by Ralph M. Churchill *
3
* mrchucho@yahoo.com *
4
* *
5
* This program is free software; you can redistribute it and/or modify *
6
* it under the terms of the GNU General Public License as published by *
7
* the Free Software Foundation; either version 2 of the License, or *
8
* (at your option) any later version. *
9
***************************************************************************/
10
11
#include "clickable.h"
12
13
14
Clickable::Clickable(
int
x,
int
y,
int
w,
int
h )
15
{
16
boundingBox = TQRect( x, y, w, h );
17
}
18
19
Clickable::~Clickable()
20
{}
21
22
/*
23
void Clickable::setOnClick( TQString oc )
24
{
25
onClick = oc;
26
}
27
28
void Clickable::setOnMiddleClick( TQString oc )
29
{
30
onMiddleClick = oc;
31
}
32
*/
33
34
TQRect Clickable::getBoundingBox()
35
{
36
return
boundingBox;
37
}
superkaramba
Skip menu "superkaramba"
Main Page
Alphabetical List
Class List
File List
Class Members
superkaramba
Skip menu "superkaramba"
kcalc
knumber
superkaramba