~ubuntu-branches/ubuntu/vivid/mygui/vivid

« back to all changes in this revision

Viewing changes to Demos/Demo_PanelView/DemoKeeper.h

  • Committer: Package Import Robot
  • Author(s): Scott Howard, Bret Curtis, Scott Howard
  • Date: 2014-09-18 17:57:48 UTC
  • mfrom: (1.1.1)
  • Revision ID: package-import@ubuntu.com-20140918175748-dd8va78mvpw1jbes
Tags: 3.2.1-1
[ Bret Curtis ]
* Updated license for majority of files from LGPL to Expat (MIT)

[ Scott Howard ]
* New upstream release
* Updated patch to add build option for system GLEW libraries
* All patches accepted upstream except shared_libraries.patch
* Bumped SONAME due to dropped symbols, updated *.symbols and package
  names
* Updated license of debian/* to Expat with permission of all authors
* Don't install Doxygen autogenerated md5 and map files (thanks
  lintian)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*!
2
 
        @file
3
 
        @author         Albert Semenov
4
 
        @date           08/2008
5
 
*/
6
 
#ifndef __DEMO_KEEPER_H__
7
 
#define __DEMO_KEEPER_H__
8
 
 
9
 
#include "BaseManager.h"
10
 
 
11
 
#include "PanelViewWindow.h"
12
 
#include "PanelDirector.h"
13
 
#include "PanelDynamic.h"
14
 
#include "PanelStatic.h"
15
 
 
16
 
namespace demo
17
 
{
18
 
 
19
 
        class DemoKeeper :
20
 
                public base::BaseManager
21
 
        {
22
 
        public:
23
 
                DemoKeeper();
24
 
 
25
 
                virtual void createScene();
26
 
                virtual void destroyScene();
27
 
 
28
 
        private:
29
 
                void notifyChangePanels(int _key, size_t _value);
30
 
                virtual void setupResources();
31
 
 
32
 
        private:
33
 
                PanelViewWindow* mView;
34
 
                PanelDirector* mPanelDirector;
35
 
                PanelDynamic* mPanelDynamic;
36
 
                PanelStatic* mPanelStatic;
37
 
        };
38
 
 
39
 
} // namespace demo
40
 
 
41
 
#endif // __DEMO_KEEPER_H__
 
1
/*!
 
2
        @file
 
3
        @author         Albert Semenov
 
4
        @date           08/2008
 
5
*/
 
6
#ifndef __DEMO_KEEPER_H__
 
7
#define __DEMO_KEEPER_H__
 
8
 
 
9
#include "Base/BaseDemoManager.h"
 
10
 
 
11
#include "PanelViewWindow.h"
 
12
#include "PanelDirector.h"
 
13
#include "PanelDynamic.h"
 
14
#include "PanelStatic.h"
 
15
 
 
16
namespace demo
 
17
{
 
18
 
 
19
        class DemoKeeper :
 
20
                public base::BaseDemoManager
 
21
        {
 
22
        public:
 
23
                DemoKeeper();
 
24
 
 
25
                virtual void createScene();
 
26
                virtual void destroyScene();
 
27
 
 
28
        private:
 
29
                void notifyChangePanels(int _key, size_t _value);
 
30
                virtual void setupResources();
 
31
 
 
32
        private:
 
33
                PanelViewWindow* mView;
 
34
                PanelDirector* mPanelDirector;
 
35
                PanelDynamic* mPanelDynamic;
 
36
                PanelStatic* mPanelStatic;
 
37
        };
 
38
 
 
39
} // namespace demo
 
40
 
 
41
#endif // __DEMO_KEEPER_H__