+2003-09-02 Angus Leeming <leeming@lyx.org>
+
+ * box.C (contains): renamed from 'contained' after a fantastic
+ amount of hot air.
+
2003-09-02 John Levon <levon@movementarian.org>
* BufferView.C:
{}
-bool Box::contained(int x, int y)
+bool Box::contains(int x, int y)
{
return (x1 < x && x2 > x && y1 < y && y2 > y);
}
* the box. Check is exclusive (point on a border
* returns false).
*/
- bool contained(int x, int y);
+ bool contains(int x, int y);
};
bool InsetCollapsable::hitButton(FuncRequest const & cmd) const
{
- return button_dim.contained(cmd.x, cmd.y);
+ return button_dim.contains(cmd.x, cmd.y);
}
cur.y() + inset->descent()
);
- if (!b.contained(x, y)) {
+ if (!b.contains(x, y)) {
lyxerr[Debug::GUI] << "Missed inset at x,y "
<< x << ',' << y
<< " box " << b << endl;