ui: Added support for fetching movie images
[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 TIMEOUT_TIME_MILLIS = 1000
29 LEFT_ALIGNMENT = 0
30 CENTER_ALIGNMENT = 0.5
31 LOREM_IPSUM = 'Lorem ipsum dolor sit amet, consectetur adipiscing elit. \
32 Vestibulum sit amet dolor sit amet enim ultricies iaculis eu sed leo. Donec \
33 ultrices massa ut leo porttitor facilisis. Fusce neque nisl, varius id \
34 vestibulum non, tincidunt eu magna. Curabitur consectetur, nisl nec volutpat \
35 iaculis, odio neque venenatis diam, vitae cursus lectus orci a felis. \
36 Pellentesque sit amet elementum lorem. Duis tempor pulvinar augue nec \
37 bibendum. Suspendisse sit amet placerat lectus.'