Fix classique titles display
[ryzomcore.git] / ryzom / client / src / custom_matrix.h
blobb3fb82feeaeee81c7221f5b8e4b165fef040b105
1 // Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
2 // Copyright (C) 2010 Winch Gate Property Limited
3 //
4 // This program is free software: you can redistribute it and/or modify
5 // it under the terms of the GNU Affero General Public License as
6 // published by the Free Software Foundation, either version 3 of the
7 // License, or (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU Affero General Public License for more details.
14 // You should have received a copy of the GNU Affero General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
17 #ifndef RY_CUSTOM_MATRIX_H
18 #define RY_CUSTOM_MATRIX_H
20 #include "nel/misc/matrix.h"
22 // a matrix with an on / off flag.
23 class CCustomMatrix
25 public:
26 NLMISC::CMatrix Matrix;
27 bool On;
28 public:
29 CCustomMatrix() : On(false) {}
30 // change the 'on' flag and the matrix, return true if new value was different
31 bool set(bool on, const NLMISC::CMatrix &newMat);
34 #endif