Last change
on this file since 108 was
108,
checked in by epyon, 12 years ago
|
- gui_common.hh - render_data did not have virtual destructor - fixed
- position.hh - fixed comparison operators (were not const)
- gl_context - draw will not be done if count = 0 (state will be applied though?)
- gl_context - unpack alignment set to 1 (possibly not needed if careful)
|
File size:
780 bytes
|
Rev | Line | |
---|
[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 |
|
---|
| 18 | namespace 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:
|
---|
[108] | 35 | virtual ~render_data(){}
|
---|
[69] | 36 | };
|
---|
| 37 |
|
---|
| 38 | class element;
|
---|
| 39 | class environment;
|
---|
[108] | 40 | class renderer;
|
---|
[69] | 41 |
|
---|
[66] | 42 | } // namespace gui
|
---|
| 43 |
|
---|
| 44 | } // namespace nv
|
---|
| 45 |
|
---|
| 46 | #endif // NV_GUI_ELEMENT_HH
|
---|
Note: See
TracBrowser
for help on using the repository browser.