0c09a6c42b371ead36c404198b8b46dc34a747f0
[maevies] / ui / maeviesui / util / constants.py
1 # -*- coding: utf-8 -*-
2
3 ###########################################################################
4 #    Maevies
5 #    Copyright (C) 2010 Simón Pena <spenap@gmail.com>
6 #
7 #    This program is free software: you can redistribute it and/or modify
8 #    it under the terms of the GNU General Public License as published by
9 #    the Free Software Foundation, either version 3 of the License, or
10 #    (at your option) any later version.
11 #
12 #    This program is distributed in the hope that it will be useful,
13 #    but WITHOUT ANY WARRANTY; without even the implied warranty of
14 #    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
15 #    GNU General Public License for more details.
16 #
17 #    You should have received a copy of the GNU General Public License
18 #    along with this program.  If not, see <http://www.gnu.org/licenses/>.
19 ###########################################################################
20
21 import os
22
23 LOCAL_DATA_DIR = os.path.abspath(os.path.join(os.path.dirname(__file__),
24                                               os.pardir,
25                                               os.pardir,
26                                               os.pardir,
27                                               'data'))
28
29 PLACEHOLDER_IMAGE = os.path.join(LOCAL_DATA_DIR, 'placeholderimage.png')
30
31 IMAGE_WIDTH = 100
32
33 IMAGE_HEIGHT = 60
34
35 TIMEOUT_TIME_MILLIS = 2000