source: trunk/nv/gui/gui_common.hh @ 319

Last change on this file since 319 was 319, checked in by epyon, 11 years ago
  • created core module and moved all free source files there
  • took the opportunity to update all copyright lines and minor cleanup
  • minor fixes
  • not all examples are up to date
File size: 832 bytes
Line 
1// Copyright (C) 2012-2014 ChaosForge Ltd
2// http://chaosforge.org/
3//
4// This file is part of NV Libraries.
5// For conditions of distribution and use, see copyright notice in nv.hh
6
7/**
8 * @file gui_common.hh
9 * @author Kornel Kisielewicz
10 * @brief common GUI
11 */
12
13#ifndef NV_GUI_COMMON_HH
14#define NV_GUI_COMMON_HH
15
16#include <nv/core/common.hh>
17#include <nv/core/handle.hh>
18
19namespace nv
20{
21        namespace gui
22        {
23                enum alignment
24                {
25                        ALIGN_TOP,
26                        ALIGN_BOTTOM,
27                        ALIGN_CENTER,
28                        ALIGN_SCALE,
29                        ALIGN_LEFT = ALIGN_TOP,
30                        ALIGN_RIGHT = ALIGN_BOTTOM,
31                };
32
33                class render_data
34                {
35                public:
36                        virtual ~render_data(){}
37                };
38
39                class element;
40                class environment;
41                class renderer;
42
43                typedef nv::handle<> handle;
44
45        } // namespace gui
46
47} // namespace nv
48
49#endif // NV_GUI_ELEMENT_HH
Note: See TracBrowser for help on using the repository browser.