Salome HOME
bug
[tools/eficas.git] / Editeur / basestyle.py
1 # Copyright (C) 2007-2017   EDF R&D
2 #
3 # This library is free software; you can redistribute it and/or
4 # modify it under the terms of the GNU Lesser General Public
5 # License as published by the Free Software Foundation; either
6 # version 2.1 of the License.
7 #
8 # This library is distributed in the hope that it will be useful,
9 # but WITHOUT ANY WARRANTY; without even the implied warranty of
10 # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
11 # Lesser General Public License for more details.
12 #
13 # You should have received a copy of the GNU Lesser General Public
14 # License along with this library; if not, write to the Free Software
15 # Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307 USA
16 #
17 # See http://www.salome-platform.org/ or email : webmaster.salome@opencascade.com
18 #
19 try :
20   from builtins import object
21 except : pass
22
23 class STYLE(object):
24     background='gray90'
25     foreground='black'
26     entry_background='white'
27     list_background='white'
28     list_select_background='#00008b'
29     list_select_foreground='grey'
30     tooltip_background="yellow"
31
32     standard = ("Helvetica",12)
33     standard_italique = ("Helvetica",12,'italic')
34     standard_gras = ("Helvetica",12,'bold')
35     standard_gras_souligne = ("Helvetica",12,'bold','underline')
36
37     canvas = ('Helvetica',10)
38     canvas_italique = ('Helvetica',10,'italic')
39     canvas_gras = ("Helvetica",10,'bold')
40     canvas_gras_italique = ("Helvetica",12,'bold','italic')
41
42     standard12 = ("Helvetica",14)
43     standard12_gras = ("Helvetica",14,'bold')
44     standard12_gras_italique = ( "Helvetica",14,'bold','italic')
45
46     standardcourier10 = ("Courier",14)
47     statusfont = ("Helvetica",16)
48
49 style=STYLE()