2
* Copyright (C) 2008 Canonical Ltd
4
* This program is free software; you can redistribute it and/or
5
* modify it under the terms of the GNU General Public
6
* License as published by the Free Software Foundation; either
7
* version 2 of the License, or (at your option) any later version.
9
* This library is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12
* Lesser General Public License for more details.
14
* You should have received a copy of the GNU General Public
15
* License along with this library; if not, write to the
16
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17
* Boston, MA 02111-1307, USA.
19
* Authored by Neil Jagdish Patel <neil.patel@canonical.com>
23
#ifndef _LAUNCHER_DEFINES_H_
24
#define _LAUNCHER_DEFINES_H_
26
#define CSW() (CLUTTER_STAGE_WIDTH ())
27
#define CSH() (CLUTTER_STAGE_HEIGHT ())
29
#define PANEL_HEIGHT 24
30
#define DECORATION_SIZE 30
31
#define DECORATION_PADDING 10
32
#define TOP_OFFSET (PANEL_HEIGHT+DECORATION_SIZE)
39
#define CAT_ICON_SIZE (CSH()*0.11)
40
#define APP_ICON_SIZE (CSH()*0.07)
42
#define HILIGHT_MAX_OPACITY 60
43
#define HILIGHT_SIZE_FACTOR 2.2
45
#define PAGE_SIZE_FACTOR 0.1
46
#define PAGE_ACTIVE_SCALE 1.3
47
#define PAGE_INACTIVE_OPACITY 160
49
#define CAT_BAR_WIDTH ((CAT_ICON_SIZE*HILIGHT_SIZE_FACTOR)*MAX_CATS)
51
#endif /* _LAUNCHER_DEFINES_H_ */