~didrocks/unity/launcher-bug-fix-fest

« back to all changes in this revision

Viewing changes to src/PanelHomeButton.h

Import the work done so far with Compiz

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright (C) 2010 Canonical Ltd
 
3
 *
 
4
 * This program is free software: you can redistribute it and/or modify
 
5
 * it under the terms of the GNU General Public License version 3 as
 
6
 * published by the Free Software Foundation.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful,
 
9
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 
10
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 
11
 * GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License
 
14
 * along with this program.  If not, see <http://www.gnu.org/licenses/>.
 
15
 *
 
16
 * Authored by: Neil Jagdish Patel <neil.patel@canonical.com>
 
17
 */
 
18
 
 
19
#ifndef PANEL_HOME_BUTTON_H
 
20
#define PANEL_HOME_BUTTON_H
 
21
 
 
22
#include <Nux/TextureArea.h>
 
23
#include <Nux/View.h>
 
24
#include <NuxImage/CairoGraphics.h>
 
25
#include <NuxGraphics/OpenGLEngine.h>
 
26
 
 
27
class PanelHomeButton : public nux::TextureArea
 
28
{
 
29
public:
 
30
  PanelHomeButton ();
 
31
  ~PanelHomeButton ();
 
32
 
 
33
private:
 
34
  void Refresh ();
 
35
 
 
36
private:
 
37
  nux::CairoGraphics _util_cg;
 
38
  GdkPixbuf *_pixbuf;
 
39
};
 
40
 
 
41
#endif // PANEL_HOME_BUTTON_H