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

« back to all changes in this revision

Viewing changes to Demos/Demo_ItemBox/ToolTip.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           07/2008
5
 
*/
6
 
#ifndef __TOOL_TIP_H__
7
 
#define __TOOL_TIP_H__
8
 
 
9
 
#include <MyGUI.h>
10
 
#include "BaseLayout/BaseLayout.h"
11
 
#include "ItemData.h"
12
 
 
13
 
namespace demo
14
 
{
15
 
 
16
 
        class ToolTip :
17
 
                public wraps::BaseLayout
18
 
        {
19
 
        public:
20
 
                ToolTip();
21
 
 
22
 
                void show(ItemData* _data);
23
 
                void hide();
24
 
                void move(const MyGUI::IntPoint& _point);
25
 
 
26
 
        private:
27
 
                MyGUI::TextBox* mTextName;
28
 
                MyGUI::TextBox* mTextCount;
29
 
                MyGUI::EditBox* mTextDesc;
30
 
                MyGUI::ImageBox* mImageInfo;
31
 
 
32
 
                int mOffsetHeight;
33
 
        };
34
 
 
35
 
} // namespace demo
36
 
 
37
 
#endif // __TOOL_TIP_H__
 
1
/*!
 
2
        @file
 
3
        @author         Albert Semenov
 
4
        @date           07/2008
 
5
*/
 
6
#ifndef __TOOL_TIP_H__
 
7
#define __TOOL_TIP_H__
 
8
 
 
9
#include <MyGUI.h>
 
10
#include "BaseLayout/BaseLayout.h"
 
11
#include "ItemData.h"
 
12
 
 
13
namespace demo
 
14
{
 
15
 
 
16
        class ToolTip :
 
17
                public wraps::BaseLayout
 
18
        {
 
19
        public:
 
20
                ToolTip();
 
21
 
 
22
                void show(ItemData* _data);
 
23
                void hide();
 
24
                void move(const MyGUI::IntPoint& _point);
 
25
 
 
26
        private:
 
27
                MyGUI::TextBox* mTextName;
 
28
                MyGUI::TextBox* mTextCount;
 
29
                MyGUI::EditBox* mTextDesc;
 
30
                MyGUI::ImageBox* mImageInfo;
 
31
 
 
32
                int mOffsetHeight;
 
33
        };
 
34
 
 
35
} // namespace demo
 
36
 
 
37
#endif // __TOOL_TIP_H__