]> SALOME platform Git repositories - tools/eficas.git/blobdiff - Aster/style.py
Salome HOME
sauve0206
[tools/eficas.git] / Aster / style.py
index 0d3877279deeea6ab1235abec0b848e74e9c45ff..7ee50545f614c61a0c85aa30996978319c32978b 100644 (file)
@@ -1,4 +1,22 @@
 # -*- coding: utf-8 -*-
+# Copyright (C) 2007-2012   EDF R&D
+#
+# This library is free software; you can redistribute it and/or
+# modify it under the terms of the GNU Lesser General Public
+# License as published by the Free Software Foundation; either
+# version 2.1 of the License.
+#
+# This library is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+# Lesser General Public License for more details.
+#
+# You should have received a copy of the GNU Lesser General Public
+# License along with this library; if not, write to the Free Software
+# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
+#
+# See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
+#
 """
 Pour modifier le style d'EFICAS  il faut ajouter un fichier style.py qui contiendra les
 informations sur le style voulu dans son repertoire Eficas_install.
@@ -52,12 +70,15 @@ Les modifications de style contenues dans ce fichier et dans le fichier style.py
 sont prises en compte dans cet ordre.
 """
 
+p1=10
+p2=14
+f1="Helvetica"
 
 style.background='gray90'
 style.foreground='black'
-style.standard = ("Helvetica",10)
-style.standard_italique = ("Helvetica",10,'italic')
-style.standard_gras = ("Helvetica",10,'bold')
-style.canvas_italique = ('Helvetica',10,'italic')
-style.canvas_gras = ("Helvetica",10,'bold')
-style.statusfont = ("Helvetica",14)
+style.standard = (f1,p1)
+style.standard_italique = (f1,p1,'italic')
+style.standard_gras = (f1,p1,'bold')
+style.canvas_italique = (f1,p1,'italic')
+style.canvas_gras = (f1,p1,'bold')
+style.statusfont = (f1,p2)