2 Situare - A location system for Facebook
3 Copyright (C) 2010 Ixonos Plc. Authors:
5 Kaj Wallin - kaj.wallin@ixonos.com
7 Situare is free software; you can redistribute it and/or
8 modify it under the terms of the GNU General Public License
9 version 2 as published by the Free Software Foundation.
11 Situare is distributed in the hope that it will be useful,
12 but WITHOUT ANY WARRANTY; without even the implied warranty of
13 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 GNU General Public License for more details.
16 You should have received a copy of the GNU General Public License
17 along with Situare; if not, write to the Free Software
18 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301,
26 #include "map/mapcommon.h"
28 const int PANEL_PEEK_AMOUNT = 60; ///< Amount of pixels shown when panel is closed
30 const int FRIENDPANEL_WIDTH = 420; ///< Width of the friends list panel
31 const int FRIENDPANEL_HEIGHT = DEFAULT_SCREEN_HEIGHT; ///< Height of the friends list panel
33 const int USERPANEL_WIDTH = 300; ///< Width of the user panel
34 const int USERPANEL_HEIGHT = DEFAULT_SCREEN_HEIGHT; ///< Height of the user panetl
36 const int MARGIN_CORRECTION = 1; ///< Amount of correction to make panels touch the widnow borders
38 const int PANEL_TOP_Y = 0; ///< Y coordinate for top of both panels
40 const int FRIENDPANEL_CLOSED_X =
41 DEFAULT_SCREEN_WIDTH-PANEL_PEEK_AMOUNT; ///< X location of the friend list panel when closed
42 const int FRIENDPANEL_OPENED_X =
43 DEFAULT_SCREEN_WIDTH-FRIENDPANEL_WIDTH; ///< X location of the friend list panel when opened
45 const int USERPANEL_CLOSED_X =
46 0 - USERPANEL_WIDTH + PANEL_PEEK_AMOUNT; ///< X location of the user panel when closed
47 const int USERPANEL_OPENED_X = 0; ///< X location of the user panel when opened
50 #endif // PANELCOMMON_H