From bf2e2d58f3905625b65d51a6b258603e8071701c Mon Sep 17 00:00:00 2001 From: =?utf8?q?Andr=C3=A9=20P=C3=B6nitz?= Date: Wed, 11 Sep 2002 08:26:02 +0000 Subject: [PATCH] Running Angus' rmcopyright.sh and hand-correcting a few cases. Still a lot to be done in this area... git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@5262 a592a061-630c-0410-9148-cb99ea01b6c8 --- src/mathed/button_inset.C | 4 ++++ src/mathed/button_inset.h | 20 ++++++++++++++++++-- src/mathed/command_inset.C | 3 +++ src/mathed/command_inset.h | 19 ++++++++++++++++++- src/mathed/dimension.h | 18 ++++++++++++++++++ src/mathed/formula.h | 20 +++++++++----------- src/mathed/formulabase.h | 14 ++++++-------- src/mathed/formulamacro.h | 16 +++++++--------- src/mathed/math_amsarrayinset.h | 11 +++++++---- src/mathed/math_arrayinset.h | 7 +++++++ src/mathed/math_atom.h | 8 ++++++++ src/mathed/math_biginset.h | 23 ++++++++++++++++------- src/mathed/math_binaryopinset.h | 4 +++- src/mathed/math_binominset.h | 2 +- src/mathed/math_braceinset.h | 4 +++- src/mathed/math_charinset.h | 4 +++- src/mathed/math_commentinset.h | 4 +++- src/mathed/math_cursor.h | 2 +- src/mathed/math_data.C | 2 +- src/mathed/math_data.h | 12 +++++++----- src/mathed/math_decorationinset.h | 4 +++- src/mathed/math_deliminset.h | 4 +++- src/mathed/math_envinset.h | 4 +++- src/mathed/math_fboxinset.h | 4 +++- src/mathed/math_fontinset.h | 4 +++- src/mathed/math_fontoldinset.h | 4 +++- src/mathed/math_fracinset.h | 4 +++- src/mathed/math_frameboxinset.h | 4 +++- src/mathed/math_gridinset.h | 4 +++- src/mathed/math_hullinset.h | 2 ++ src/mathed/math_inferinset.h | 4 +++- src/mathed/math_inset.h | 2 +- src/mathed/math_macro.h | 6 ++++-- src/mathed/math_macroarg.h | 4 +++- src/mathed/math_macrotemplate.h | 4 +++- src/mathed/math_numberinset.h | 2 ++ src/mathed/math_parser.h | 2 +- src/mathed/math_rootinset.h | 6 ++++-- src/mathed/math_scriptinset.C | 7 +++++-- src/mathed/math_scriptinset.h | 4 +++- src/mathed/math_sizeinset.h | 4 +++- src/mathed/math_sqrtinset.h | 4 +++- src/mathed/math_stackrelinset.h | 4 +++- src/mathed/math_stringinset.h | 2 ++ src/mathed/math_undersetinset.h | 15 ++++++++++----- src/mathed/math_xarrowinset.h | 4 +++- src/mathed/ref_inset.C | 4 ++++ 47 files changed, 229 insertions(+), 84 deletions(-) diff --git a/src/mathed/button_inset.C b/src/mathed/button_inset.C index 6a0dabe9eb..94efecb28d 100644 --- a/src/mathed/button_inset.C +++ b/src/mathed/button_inset.C @@ -1,3 +1,7 @@ +#ifdef __GNUG__ +#pragma implementation +#endif + #include #include "button_inset.h" diff --git a/src/mathed/button_inset.h b/src/mathed/button_inset.h index 2e26af9396..464265a733 100644 --- a/src/mathed/button_inset.h +++ b/src/mathed/button_inset.h @@ -1,10 +1,26 @@ +// -*- C++ -*- + +/** + * \file button_inset.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 BUTTON_INSET_H #define BUTTON_INSET_H -#include "math_nestinset.h" +#ifdef __GNUG__ +#pragma interface +#endif -// Try to implement the reference inset "natively" for mathed. +#include "math_nestinset.h" +/// try to implement the button-like insets "natively" for mathed class ButtonInset: public MathNestInset { public: /// diff --git a/src/mathed/command_inset.C b/src/mathed/command_inset.C index 44cdd0aaab..42a0f5c1e7 100644 --- a/src/mathed/command_inset.C +++ b/src/mathed/command_inset.C @@ -1,3 +1,6 @@ +#ifdef __GNUG__ +#pragma implementation +#endif #include "command_inset.h" #include "math_mathmlstream.h" diff --git a/src/mathed/command_inset.h b/src/mathed/command_inset.h index 2474e1b909..e81f547c4a 100644 --- a/src/mathed/command_inset.h +++ b/src/mathed/command_inset.h @@ -1,9 +1,26 @@ +// -*- C++ -*- + +/** + * \file command_inset.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. + */ + +#ifdef __GNUG__ +#pragma interface +#endif + #ifndef COMMAND_INSET_H #define COMMAND_INSET_H #include "button_inset.h" -// for things like \name[options]{contents} +/// Inset for things like \name[options]{contents} class CommandInset : public ButtonInset { public: /// name, contents, options deliminited by '|++|' diff --git a/src/mathed/dimension.h b/src/mathed/dimension.h index ca19dee251..8c5bbaa610 100644 --- a/src/mathed/dimension.h +++ b/src/mathed/dimension.h @@ -1,10 +1,28 @@ +// -*- C++ -*- + +/** + * \file dimension.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 DIMENSION_H #define DIMENSION_H +#ifdef __GNUG__ +#pragma interface +#endif + #include class LyXFont; +/// Simple wrapper around three ints class Dimension { public: /// constructor diff --git a/src/mathed/formula.h b/src/mathed/formula.h index f52a6c2e9c..ab5956750e 100644 --- a/src/mathed/formula.h +++ b/src/mathed/formula.h @@ -1,17 +1,15 @@ // -*- C++ -*- -/* - * File: formula.h - * Purpose: Declaration of formula inset - * Author: Alejandro Aguilar Sierra - * Created: January 1996 - * Description: Allows the edition of math paragraphs inside Lyx. + +/** + * \file formula.h * - * Copyright: 1996, Alejandro Aguilar Sierra + * This file is part of LyX, the document processor. + * Licence details can be found in the file COPYING. * - * Version: 0.4, Lyx project. + * \author Alejandro Aguilar Sierra + * \author André Pönitz * - * You are free to use and modify this code under the terms of - * the GNU General Public Licence version 2 or later. + * Full author contact details are available in file CREDITS. */ #ifndef INSET_FORMULA_H @@ -26,7 +24,7 @@ #include -/// +/// The main LyX math inset class InsetFormula : public InsetFormulaBase { public: /// diff --git a/src/mathed/formulabase.h b/src/mathed/formulabase.h index 6654a8bfeb..c22ebf02d6 100644 --- a/src/mathed/formulabase.h +++ b/src/mathed/formulabase.h @@ -1,15 +1,13 @@ // -*- C++ -*- + /* - * File: formulabase.h - * Purpose: Common parts of the math LyX insets - * Author: André Pönitz - * Created: May 2001 - * Description: Allows the edition of math paragraphs inside Lyx. + * Common parts of the math LyX insets + * \author André Pönitz * - * Copyright: 2001, The LyX Project + * Full author contact details are available in file CREDITS * - * You are free to use and modify this code under the terms of - * the GNU General Public Licence version 2 or later. + * You are free to use and modify this code under the terms of + * the GNU General Public Licence version 2 or later. */ #ifndef INSET_FORMULABASE_H diff --git a/src/mathed/formulamacro.h b/src/mathed/formulamacro.h index d29949a17b..291d3d5e0c 100644 --- a/src/mathed/formulamacro.h +++ b/src/mathed/formulamacro.h @@ -1,17 +1,15 @@ // -*- C++ -*- + /* - * File: formula.h - * Purpose: Declaration of formula inset - * Author: Alejandro Aguilar Sierra - * Created: January 1996 - * Description: Allows the edition of math paragraphs inside Lyx. + * Main LyX Inset for defining math macros * - * Copyright: 1996, Alejandro Aguilar Sierra + * \author Alejandro Aguilar Sierra + * \author André Pönitz * - * Version: 0.4, Lyx project. + * Full author contact details are available in file CREDITS * - * You are free to use and modify this code under the terms of - * the GNU General Public Licence version 2 or later. + * You are free to use and modify this code under the terms of + * the GNU General Public Licence version 2 or later. */ #ifndef INSET_FORMULA_MACRO_H diff --git a/src/mathed/math_amsarrayinset.h b/src/mathed/math_amsarrayinset.h index 7cf5e7e5c5..9305527267 100644 --- a/src/mathed/math_amsarrayinset.h +++ b/src/mathed/math_amsarrayinset.h @@ -8,10 +8,13 @@ #pragma interface #endif -// -// used for [pbvV]matrix, psmatrix etc -// - +/** + * Inset for things like [pbvV]matrix, psmatrix etc + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS + */ class MathAMSArrayInset : public MathGridInset { public: diff --git a/src/mathed/math_arrayinset.h b/src/mathed/math_arrayinset.h index 5d77b5a2cb..cf8f4b0a21 100644 --- a/src/mathed/math_arrayinset.h +++ b/src/mathed/math_arrayinset.h @@ -8,6 +8,13 @@ #pragma interface #endif +/** + * Inset for things like \begin{array}...\end{array} + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS + */ class MathArrayInset : public MathGridInset { public: diff --git a/src/mathed/math_atom.h b/src/mathed/math_atom.h index 33b9d61824..1bf41fd2b5 100644 --- a/src/mathed/math_atom.h +++ b/src/mathed/math_atom.h @@ -7,6 +7,14 @@ #pragma interface #endif +/** + * Wrapper for MathInset * with copy-semantics + * + * \author André Pönitz + * + * Full author contact details are available in file CREDITS + */ + /** The 'atom' is the major blob in math typesetting. And 'atom' consists of a nucleus, an optional superscript, and an optional subscript. diff --git a/src/mathed/math_biginset.h b/src/mathed/math_biginset.h index 2d16590c87..cb35dc9155 100644 --- a/src/mathed/math_biginset.h +++ b/src/mathed/math_biginset.h @@ -1,18 +1,27 @@ // -*- C++ -*- + +/** + * \file math_biginset.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_BIGINSET_H #define MATH_BIGINSET_H -#include "math_diminset.h" -#include "LString.h" - #ifdef __GNUG__ #pragma interface #endif -/** Inset for \bigl & Co. - \author André Pönitz - */ +#include "math_diminset.h" +#include "LString.h" +/// Inset for \bigl & Co. class MathBigInset : public MathDimInset { public: /// @@ -20,7 +29,7 @@ public: /// MathInset * clone() const; /// - void draw(MathPainterInfo &, int x, int y) const; + void draw(MathPainterInfo & pi, int x, int y) const; /// void write(WriteStream & os) const; /// diff --git a/src/mathed/math_binaryopinset.h b/src/mathed/math_binaryopinset.h index 24cf79f4c5..215f55a346 100644 --- a/src/mathed/math_binaryopinset.h +++ b/src/mathed/math_binaryopinset.h @@ -10,7 +10,9 @@ #endif /** An inset for multiplication - \author André Pönitz + * \author André Pönitz + * + * Full author contact details are available in file CREDITS */ class MathBinaryOpInset : public MathNestInset { public: diff --git a/src/mathed/math_binominset.h b/src/mathed/math_binominset.h index c439f78103..d3fee96563 100644 --- a/src/mathed/math_binominset.h +++ b/src/mathed/math_binominset.h @@ -9,7 +9,7 @@ #endif /** Binom like objects - \author André Pönitz + * \author André Pönitz */ class MathBinomInset : public MathFracbaseInset { public: diff --git a/src/mathed/math_braceinset.h b/src/mathed/math_braceinset.h index b1133d3b31..cc2a2eaae2 100644 --- a/src/mathed/math_braceinset.h +++ b/src/mathed/math_braceinset.h @@ -9,7 +9,9 @@ #endif /** Extra nesting - \author André Pönitz + * \author André Pönitz + * + * Full author contact details are available in file CREDITS */ class MathBraceInset : public MathNestInset { diff --git a/src/mathed/math_charinset.h b/src/mathed/math_charinset.h index a25e892878..383c325ff8 100644 --- a/src/mathed/math_charinset.h +++ b/src/mathed/math_charinset.h @@ -9,7 +9,9 @@ #endif /** The base character inset. - \author André Pönitz + * \author André Pönitz + * + * Full author contact details are available in file CREDITS */ class MathCharInset : public MathDimInset { diff --git a/src/mathed/math_commentinset.h b/src/mathed/math_commentinset.h index 184b39c345..4a5446294a 100644 --- a/src/mathed/math_commentinset.h +++ b/src/mathed/math_commentinset.h @@ -9,7 +9,9 @@ #endif /** Inset for end-of-line comments - \author André Pönitz + * \author André Pönitz + * + * Full author contact details are available in file CREDITS */ class latexkeys; diff --git a/src/mathed/math_cursor.h b/src/mathed/math_cursor.h index a5518c454c..9eaf8d99a6 100644 --- a/src/mathed/math_cursor.h +++ b/src/mathed/math_cursor.h @@ -1,5 +1,5 @@ // -*- C++ -*- -/* +/** * File: math_cursor.h * Purpose: Declaration of interaction classes for mathed * Author: Alejandro Aguilar Sierra diff --git a/src/mathed/math_data.C b/src/mathed/math_data.C index 0002db98df..127d09ce89 100644 --- a/src/mathed/math_data.C +++ b/src/mathed/math_data.C @@ -379,7 +379,7 @@ void MathArray::towards(int & x, int & y) const } -void MathArray::setXY(int x, int y) +void MathArray::setXY(int x, int y) const { xo_ = x; yo_ = y; diff --git a/src/mathed/math_data.h b/src/mathed/math_data.h index 34db878f91..be003e6082 100644 --- a/src/mathed/math_data.h +++ b/src/mathed/math_data.h @@ -1,14 +1,16 @@ // -*- C++ -*- -/* +/** * You are free to use and modify this code under the terms of * the GNU General Public Licence version 2 or later. */ /** \class MathArray \brief Low level container for math insets - \author Alejandro Aguilar Sierra - \author André Pönitz - \author Lars Gullik Bjønnes + * \author Alejandro Aguilar Sierra + * \author André Pönitz + * \author Lars Gullik Bjønnes + * + * Full author contact details are available in file CREDITS \version February 2001 */ @@ -125,7 +127,7 @@ public: /// access to cached y coordinate of mid point of last drawing int ym() const { return yo_ + (dim_.d - dim_.a) / 2; } /// write access to coordinate; - void setXY(int x, int y); + void setXY(int x, int y) const; /// returns x coordinate of given position in the array int pos2x(size_type pos) const; /// returns position of given x coordinate diff --git a/src/mathed/math_decorationinset.h b/src/mathed/math_decorationinset.h index da265685f3..8552f49acc 100644 --- a/src/mathed/math_decorationinset.h +++ b/src/mathed/math_decorationinset.h @@ -10,7 +10,9 @@ #endif /** Decorations and accents over (below) a math object - \author Alejandro Aguilar Sierra + * \author Alejandro Aguilar Sierra + * + * Full author contact details are available in file CREDITS */ class latexkeys; diff --git a/src/mathed/math_deliminset.h b/src/mathed/math_deliminset.h index 7835b95f07..3806b1ff7c 100644 --- a/src/mathed/math_deliminset.h +++ b/src/mathed/math_deliminset.h @@ -10,7 +10,9 @@ #endif /** A delimiter - \author Alejandro Aguilar Sierra + * \author Alejandro Aguilar Sierra + * + * Full author contact details are available in file CREDITS */ class MathDelimInset : public MathNestInset { diff --git a/src/mathed/math_envinset.h b/src/mathed/math_envinset.h index e19faf2e80..1c189a6941 100644 --- a/src/mathed/math_envinset.h +++ b/src/mathed/math_envinset.h @@ -10,7 +10,9 @@ #endif /** Environtments á la \begin{something}...\end{something} - \author André Pönitz + * \author André Pönitz + * + * Full author contact details are available in file CREDITS */ class MathEnvInset : public MathNestInset { diff --git a/src/mathed/math_fboxinset.h b/src/mathed/math_fboxinset.h index 3a5029cede..abed52a472 100644 --- a/src/mathed/math_fboxinset.h +++ b/src/mathed/math_fboxinset.h @@ -10,7 +10,9 @@ #endif /** Extra nesting - \author André Pönitz + * \author André Pönitz + * + * Full author contact details are available in file CREDITS */ class latexkeys; diff --git a/src/mathed/math_fontinset.h b/src/mathed/math_fontinset.h index 18c8e1b4ae..fbd838baf3 100644 --- a/src/mathed/math_fontinset.h +++ b/src/mathed/math_fontinset.h @@ -9,7 +9,9 @@ #endif /** Inset for font changes - \author André Pönitz + * \author André Pönitz + * + * Full author contact details are available in file CREDITS */ class latexkeys; diff --git a/src/mathed/math_fontoldinset.h b/src/mathed/math_fontoldinset.h index c04f4eba42..8beac3c374 100644 --- a/src/mathed/math_fontoldinset.h +++ b/src/mathed/math_fontoldinset.h @@ -9,7 +9,9 @@ #endif /** Old-style font changes - \author André Pönitz + * \author André Pönitz + * + * Full author contact details are available in file CREDITS */ class latexkeys; diff --git a/src/mathed/math_fracinset.h b/src/mathed/math_fracinset.h index 45197d5981..211d404f15 100644 --- a/src/mathed/math_fracinset.h +++ b/src/mathed/math_fracinset.h @@ -9,7 +9,9 @@ #endif /** Fraction like objects (frac, binom) - \author Alejandro Aguilar Sierra + * \author Alejandro Aguilar Sierra + * + * Full author contact details are available in file CREDITS */ class MathFracInset : public MathFracbaseInset { public: diff --git a/src/mathed/math_frameboxinset.h b/src/mathed/math_frameboxinset.h index 581ec282f6..95a9dabf21 100644 --- a/src/mathed/math_frameboxinset.h +++ b/src/mathed/math_frameboxinset.h @@ -9,7 +9,9 @@ #endif /** Extra nesting - \author André Pönitz + * \author André Pönitz + * + * Full author contact details are available in file CREDITS */ class MathFrameboxInset : public MathNestInset { diff --git a/src/mathed/math_gridinset.h b/src/mathed/math_gridinset.h index 84cdaaf509..07320a8537 100644 --- a/src/mathed/math_gridinset.h +++ b/src/mathed/math_gridinset.h @@ -13,7 +13,9 @@ /** Gridded math inset base class. This is the base to all grid-like editable math objects like array and eqnarray. - \author André Pönitz 2001 + * \author André Pönitz 2001 + * + * Full author contact details are available in file CREDITS */ class MathGridInset : public MathNestInset { diff --git a/src/mathed/math_hullinset.h b/src/mathed/math_hullinset.h index 903f97ae5f..d35c9a7bce 100644 --- a/src/mathed/math_hullinset.h +++ b/src/mathed/math_hullinset.h @@ -10,6 +10,8 @@ /** This provides an interface between "LyX insets" and "LyX math insets" * \author André Pönitz + * + * Full author contact details are available in file CREDITS */ class LaTeXFeatures; diff --git a/src/mathed/math_inferinset.h b/src/mathed/math_inferinset.h index ce496f4de9..fc8e8de598 100644 --- a/src/mathed/math_inferinset.h +++ b/src/mathed/math_inferinset.h @@ -9,7 +9,9 @@ #endif /** for proof.sty's \infer - \author André Poenitz + * \author André Poenitz + * + * Full author contact details are available in file CREDITS */ class MathInferInset : public MathGridInset { public: diff --git a/src/mathed/math_inset.h b/src/mathed/math_inset.h index e27813ff7e..a1b2f2c8da 100644 --- a/src/mathed/math_inset.h +++ b/src/mathed/math_inset.h @@ -1,5 +1,5 @@ // -*- C++ -*- -/* +/** * File: math_inset.h * Purpose: Declaration of insets for mathed * Author: Alejandro Aguilar Sierra diff --git a/src/mathed/math_macro.h b/src/mathed/math_macro.h index 8ecd606b9c..b5c40f4a5b 100644 --- a/src/mathed/math_macro.h +++ b/src/mathed/math_macro.h @@ -1,5 +1,5 @@ // -*- C++ -*- -/* +/** * File: math_macro.h * Purpose: Declaration of macro class for mathed * Author: Alejandro Aguilar Sierra @@ -30,7 +30,9 @@ class MathMacroTemplate; /** This class contains the data for a macro - \author Alejandro Aguilar Sierra + * \author Alejandro Aguilar Sierra + * + * Full author contact details are available in file CREDITS \version November 1996 */ class MathMacro : public MathNestInset { diff --git a/src/mathed/math_macroarg.h b/src/mathed/math_macroarg.h index 1c642586a7..acbf8fd90a 100644 --- a/src/mathed/math_macroarg.h +++ b/src/mathed/math_macroarg.h @@ -9,7 +9,9 @@ #endif /** A macro argument - \author Alejandro Aguilar Sierra + * \author Alejandro Aguilar Sierra + * + * Full author contact details are available in file CREDITS */ class MathMacroArgument : public MathNestInset { public: diff --git a/src/mathed/math_macrotemplate.h b/src/mathed/math_macrotemplate.h index 023be74039..9ced976613 100644 --- a/src/mathed/math_macrotemplate.h +++ b/src/mathed/math_macrotemplate.h @@ -12,7 +12,9 @@ class MathMacro; /** This class contains the macro definition - \author Alejandro Aguilar Sierra + * \author Alejandro Aguilar Sierra + * + * Full author contact details are available in file CREDITS */ //class MathMacroTemplate : public MathInset, boost::noncopyable diff --git a/src/mathed/math_numberinset.h b/src/mathed/math_numberinset.h index 6c2a5c7ce5..0571cdbf45 100644 --- a/src/mathed/math_numberinset.h +++ b/src/mathed/math_numberinset.h @@ -11,6 +11,8 @@ /** Some inset that "is" a number * maily for math-extern * \author André Pönitz + * + * Full author contact details are available in file CREDITS */ class MathNumberInset : public MathDimInset { diff --git a/src/mathed/math_parser.h b/src/mathed/math_parser.h index 533496f15f..496d6f1139 100644 --- a/src/mathed/math_parser.h +++ b/src/mathed/math_parser.h @@ -1,5 +1,5 @@ // -*- C++ -*- -/* +/** * File: math_parser.h * Purpose: Declaration of parsing utilities for mathed * Author: Alejandro Aguilar Sierra diff --git a/src/mathed/math_rootinset.h b/src/mathed/math_rootinset.h index 6cc4c518a7..e117ba19ab 100644 --- a/src/mathed/math_rootinset.h +++ b/src/mathed/math_rootinset.h @@ -1,5 +1,5 @@ // -*- C++ -*- -/* +/** * File: math_root.h * Purpose: Declaration of the root object * Author: Alejandro Aguilar Sierra @@ -22,7 +22,9 @@ #endif /** The general n-th root inset. - \author Alejandro Aguilar Sierra + * \author Alejandro Aguilar Sierra + * + * Full author contact details are available in file CREDITS \version January 1999 */ class MathRootInset : public MathNestInset { diff --git a/src/mathed/math_scriptinset.C b/src/mathed/math_scriptinset.C index d1ba054d37..a815646307 100644 --- a/src/mathed/math_scriptinset.C +++ b/src/mathed/math_scriptinset.C @@ -213,8 +213,11 @@ void MathScriptInset::draw(MathPainterInfo & pi, int x, int y) const { if (nuc().size()) nuc().draw(pi, x + dxx(), y); - else if (editing()) - drawStr(pi, pi.base.font, x + dxx(), y, "."); + else { + nuc().setXY(x + dxx(), y); + if (editing()) + drawStr(pi, pi.base.font, x + dxx(), y, "."); + } MathScriptChanger dummy(pi.base); if (hasUp()) up().draw(pi, x + dx1(), y - dy1()); diff --git a/src/mathed/math_scriptinset.h b/src/mathed/math_scriptinset.h index a07cf2e563..9bb6806109 100644 --- a/src/mathed/math_scriptinset.h +++ b/src/mathed/math_scriptinset.h @@ -9,7 +9,9 @@ #endif /** Inset for super- and subscripts - \author André Pönitz + * \author André Pönitz + * + * Full author contact details are available in file CREDITS */ class MathScriptInset : public MathNestInset { diff --git a/src/mathed/math_sizeinset.h b/src/mathed/math_sizeinset.h index 4ba28743f3..fa93d50837 100644 --- a/src/mathed/math_sizeinset.h +++ b/src/mathed/math_sizeinset.h @@ -10,7 +10,9 @@ #endif /** An inset for \scriptsize etc - \author André Pönitz + * \author André Pönitz + * + * Full author contact details are available in file CREDITS */ class latexkeys; diff --git a/src/mathed/math_sqrtinset.h b/src/mathed/math_sqrtinset.h index 258d713ba7..80c72fc794 100644 --- a/src/mathed/math_sqrtinset.h +++ b/src/mathed/math_sqrtinset.h @@ -9,7 +9,9 @@ #endif /** The square root inset. - \author Alejandro Aguilar Siearra + * \author Alejandro Aguilar Siearra + * + * Full author contact details are available in file CREDITS */ class MathSqrtInset : public MathNestInset { public: diff --git a/src/mathed/math_stackrelinset.h b/src/mathed/math_stackrelinset.h index e1dab8e1e3..e8f64b2ca9 100644 --- a/src/mathed/math_stackrelinset.h +++ b/src/mathed/math_stackrelinset.h @@ -9,7 +9,9 @@ #endif /** Stackrel objects - \author André Pönitz + * \author André Pönitz + * + * Full author contact details are available in file CREDITS */ class MathStackrelInset : public MathFracbaseInset { public: diff --git a/src/mathed/math_stringinset.h b/src/mathed/math_stringinset.h index f4f53986e7..874152ea79 100644 --- a/src/mathed/math_stringinset.h +++ b/src/mathed/math_stringinset.h @@ -11,6 +11,8 @@ /** Some collection of chars with similar properties * maily for math-extern * \author André Pönitz + * + * Full author contact details are available in file CREDITS */ class MathStringInset : public MathDimInset { diff --git a/src/mathed/math_undersetinset.h b/src/mathed/math_undersetinset.h index a673a74781..5ef844b477 100644 --- a/src/mathed/math_undersetinset.h +++ b/src/mathed/math_undersetinset.h @@ -1,16 +1,21 @@ // -*- C++ -*- + +/** Underset objects + * \author André Pönitz + * + * Full author contact details are available in file CREDITS + */ + #ifndef MATH_UNDERSETINSET_H #define MATH_UNDERSETINSET_H -#include "math_fracbase.h" - #ifdef __GNUG__ #pragma interface #endif -/** Underset objects - \author André Pönitz - */ +#include "math_fracbase.h" + +/// Inset for underset class MathUndersetInset : public MathFracbaseInset { public: /// diff --git a/src/mathed/math_xarrowinset.h b/src/mathed/math_xarrowinset.h index 40078548cc..cf5e7d22f1 100644 --- a/src/mathed/math_xarrowinset.h +++ b/src/mathed/math_xarrowinset.h @@ -10,7 +10,9 @@ #endif /** Wide arrows like \xrightarrow - \author André Pönitz + * \author André Pönitz + * + * Full author contact details are available in file CREDITS */ class MathXArrowInset : public MathNestInset { diff --git a/src/mathed/ref_inset.C b/src/mathed/ref_inset.C index 33d8c48601..f90f4ac53e 100644 --- a/src/mathed/ref_inset.C +++ b/src/mathed/ref_inset.C @@ -1,3 +1,7 @@ +#ifdef __GNUG__ +#pragma implementation +#endif + #include #include "ref_inset.h" -- 2.39.2