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"
29 enum Side{LEFT, RIGHT}; ///< Enumerator for panel sideness
31 const int PANEL_PEEK_AMOUNT = 25; ///< Amount of pixels shown when panel is closed
33 const int FRIENDPANEL_WIDTH = 430; ///< Width of the friends list panel
34 const int FRIENDPANEL_HEIGHT = DEFAULT_SCREEN_HEIGHT; ///< Height of the friends list panel
36 const int USERPANEL_WIDTH = 300; ///< Width of the user panel
37 const int USERPANEL_HEIGHT = DEFAULT_SCREEN_HEIGHT; ///< Height of the user panetl
39 const int MARGIN_CORRECTION = 1; ///< Amount of correction to make panels touch the window borders
40 const int MARGIN_CORRECTION2 = 2; ///< Amount of correction to make panels touch the window borders
42 const int PANEL_TOP_Y = 0; ///< Y coordinate for top of both panels
43 const int TOP_CORNER_X = 0; ///< X coordinate for top left corner
45 const int FRIENDPANEL_CLOSED_X =
46 DEFAULT_SCREEN_WIDTH-PANEL_PEEK_AMOUNT; ///< X location of the friend list panel when closed
47 const int FRIENDPANEL_OPENED_X =
48 DEFAULT_SCREEN_WIDTH-FRIENDPANEL_WIDTH; ///< X location of the friend list panel when opened
50 const int USERPANEL_CLOSED_X =
51 2 - USERPANEL_WIDTH + PANEL_PEEK_AMOUNT; ///< X location of the user panel when closed
52 const int USERPANEL_OPENED_X = 0; ///< X location of the user panel when opened
55 const int SIDEBAR_WIDTH = 23;
56 const int SIDEBAR_HEIGHT = 424;
58 const int SLIDINGBAR_WIDTH = 24;
59 const int SLIDINGBAR_HEIGHT = 424;
61 #endif // PANELCOMMON_H