~brandontschaefer/nux/xim-tests

« back to all changes in this revision

Viewing changes to Nux/BasicView.h

  • Committer: Brandon Schaefer
  • Date: 2012-10-19 00:23:27 UTC
  • mfrom: (637.2.55 trunk)
  • Revision ID: brandon.schaefer@canonical.com-20121019002327-60e88jn3k8chi7gt
* Merged trunk

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 * Copyright 2012 Inalogic Inc.
 
3
 *
 
4
 * This program is free software: you can redistribute it and/or modify it
 
5
 * under the terms of the GNU General Public License version 3, as published
 
6
 * by the  Free Software Foundation.
 
7
 *
 
8
 * This program is distributed in the hope that it will be useful, but
 
9
 * WITHOUT ANY WARRANTY; without even the implied warranties of
 
10
 * MERCHANTABILITY, SATISFACTORY QUALITY or FITNESS FOR A PARTICULAR
 
11
 * PURPOSE.  See the GNU General Public License for more details.
 
12
 *
 
13
 * You should have received a copy of the GNU General Public License
 
14
 * version 3 along with this program.  If not, see
 
15
 * <http://www.gnu.org/licenses/>
 
16
 *
 
17
 * Authored by: Jay Taoko <jaytaoko@inalogic.com>
 
18
 *
 
19
 */
 
20
 
 
21
#ifndef BASIC_VIEW_H
 
22
#define BASIC_VIEW_H
 
23
 
 
24
 
 
25
namespace nux {
 
26
 
 
27
//! A very basic View object with no rendering.
 
28
class BasicView: public nux::View
 
29
{
 
30
  NUX_DECLARE_OBJECT_TYPE(BasicView, View);
 
31
public:
 
32
  BasicView(NUX_FILE_LINE_PROTO);
 
33
  ~BasicView();
 
34
 
 
35
  
 
36
protected:
 
37
  void Draw(nux::GraphicsEngine& graphics_engine, bool force_draw);
 
38
};
 
39
 
 
40
}
 
41
#endif // BASIC_VIEW_H
 
42