remove files that have not been used since two years

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@10271 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2005-07-17 10:36:19 +00:00
parent 6b14cbd9c4
commit a2e8af4509
2 changed files with 0 additions and 122 deletions

View File

@ -1,78 +0,0 @@
#if 0
/**
* \file math_binaryopinset.C
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author Alejandro Aguilar Sierra
* \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#include <config.h>
#include "math_binaryopinset.h"
#include "metricsinfo.h"
#include "support/std_ostream.h"
#include "math_support.h"
#include "math_mathmlstream.h"
using std::max;
MathBinaryOpInset::MathBinaryOpInset(char op)
: MathNestInset(2), op_(op)
{}
std::auto_ptr<InsetBase> MathBinaryOpInset::clone() const
{
return auto_ptr<InsetBase>(new MathBinaryOpInset(*this));
}
int MathBinaryOpInset::opwidth() const
{
return mathed_char_width(LM_TC_CONST, mi_, op_);
}
#ifdef WITH_WARNINGS
#warning Andre, have a look here. (Lgb)
#endif
#if 0
// That this is not declared in class MathBinaryOpInset makes
// Doxygen give warnings. (Lgb)
void MathBinaryOpInset::metrics(MetricsInfo & mi, Dimension & dim) const
{
mi_ = mi;
cell(0).metrics(mi);
cell(1).metrics(mi);
width_ = cell(0).width() + cell(1).width() + opwidth();
ascent_ = max(cell(0).ascent(), cell(1).ascent());
descent_ = max(cell(0).descent(), cell(1).descent());
}
#endif
void MathBinaryOpInset::draw(PainterInfo & pi, int x, int y) const
{
cell(0).draw(pain, x, y);
pi.draw(pain, LM_TC_CONST, mi_, x + cell(0).width() , y, op_);
cell(1).draw(pain, x + width() - cell(1).width(), y);
}
void MathBinaryOpInset::write(WriteStream & os) const
{
os << '{' << cell(0) << op_ << cell(1) << '}';
}
void MathBinaryOpInset::normalize(NormalStream & os) const
{
os << "[binop " << op_ << ' ' << cell(0) << ' ' << cell(1) << ']';
}
#endif

View File

@ -1,44 +0,0 @@
#if 0
// -*- C++ -*-
/**
* \file math_binaryopinset.h
* This file is part of LyX, the document processor.
* Licence details can be found in the file COPYING.
*
* \author André Pönitz
*
* Full author contact details are available in file CREDITS.
*/
#ifndef MATH_BINARYOPINSET_H
#define MATH_BINARYOPINSET_H
#include "math_nestinset.h"
#include "metricsinfo.h"
/// An inset for multiplication
class MathBinaryOpInset : public MathNestInset {
public:
///
explicit MathBinaryOpInset(char op);
///
virtual std::auto_ptr<InsetBase> clone() const;
///
void draw(PainterInfo &, int x, int y) const;
///
void write(WriteStream & os) const;
///
void normalize(NormalStream &) const;
///
void metrics(MetricsInfo & st) const;
private:
///
int opwidth() const;
///
char op_;
///
mutable MetricsInfo mi_;
};
#endif
#endif