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

Last change on this file since 69 was 69, checked in by epyon, 12 years ago
  • gui::element - render_data, class, dirty and text fields added with proper accessors
  • gui::element - on_event implemented and draw calling environment
  • gui::environment skeleton class added
File size: 753 bytes
RevLine 
[66]1// Copyright (C) 2012-2013 ChaosForge / Kornel Kisielewicz
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/object.hh>
17
18namespace nv
19{
20        namespace gui
21        {
22                enum alignment
23                {
24                        ALIGN_TOP,
25                        ALIGN_BOTTOM,
26                        ALIGN_CENTER,
27                        ALIGN_SCALE,
28                        ALIGN_LEFT = ALIGN_TOP,
29                        ALIGN_RIGHT = ALIGN_BOTTOM,
30                };
31
[69]32                class render_data
33                {
34                public:
35                        ~render_data(){}
36                };
37
38                class element;
39                class environment;
40
[66]41        } // namespace gui
42
43} // namespace nv
44
45#endif // NV_GUI_ELEMENT_HH
Note: See TracBrowser for help on using the repository browser.