From f75becdc4e8f02085212e6d2b016c76dc76c5980 Mon Sep 17 00:00:00 2001 From: Pavel Sanda Date: Sat, 25 May 2013 16:40:19 -0700 Subject: [PATCH] Years forgotten file --- src/Makefile.am | 1 - src/mathed/MathGridInfo.h | 69 --------------------------------------- 2 files changed, 70 deletions(-) delete mode 100644 src/mathed/MathGridInfo.h diff --git a/src/Makefile.am b/src/Makefile.am index fc4a5fe15d..b40d4e04d6 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -498,7 +498,6 @@ HEADERFILESMATHED = \ mathed/MathCompletionList.h \ mathed/MathExtern.h \ mathed/MathFactory.h \ - mathed/MathGridInfo.h \ mathed/MathMacro.h \ mathed/MathMacroArgument.h \ mathed/MacroTable.h \ diff --git a/src/mathed/MathGridInfo.h b/src/mathed/MathGridInfo.h deleted file mode 100644 index 07ba78a9d9..0000000000 --- a/src/mathed/MathGridInfo.h +++ /dev/null @@ -1,69 +0,0 @@ -// -*- C++ -*- -/** - * \file MathGridInfo.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_GRIDINFO_H -#define MATH_GRIDINFO_H - -#include - - -namespace lyx { - - -class ColInfo -{ -public: - ColInfo() : align('c'), rightline(0), leftline(false) {} - char align; // column alignment - docstring width; // column width - docstring special; // special column alignment - int rightline; // a line on the right? - bool leftline; -}; - - -class RowInfo -{ -public: - RowInfo() : topline(false), bottomline(false) {} - bool topline; // horizontal line above - int bottomline; // horizontal line below -}; - - -class CellInfo -{ -public: - CellInfo() - : multi(0), leftline(false), rightline(false), - topline(false), bottomline(false) - {} - - docstring content; // cell content - int multi; // multicolumn flag - char align; // cell alignment - bool leftline; // do we have a line on the left? - bool rightline; // do we have a line on the right? - bool topline; // do we have a line above? - bool bottomline; // do we have a line below? -}; - - -inline char const * verbose_align(char c) -{ - return c == 'c' ? "center" : c == 'r' ? "right" : c == 'l' ? "left" : "none"; -} - - - -} // namespace lyx - -#endif -- 2.39.5