summaryrefslogtreecommitdiff
path: root/inc/WNT_Icon.hxx
blob: 36dd1b6faa46a1d08741b0f3c467eebfe3292832 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
// This file is generated by WOK (CPPExt).
// Please do not edit this file; modify original file instead.
// The copyright and license terms as defined for the original file apply to 
// this header file considered to be the "object code" form of the original source.

#ifndef _WNT_Icon_HeaderFile
#define _WNT_Icon_HeaderFile

#ifndef _Standard_HeaderFile
#include <Standard.hxx>
#endif
#ifndef _Standard_DefineHandle_HeaderFile
#include <Standard_DefineHandle.hxx>
#endif
#ifndef _Handle_WNT_Icon_HeaderFile
#include <Handle_WNT_Icon.hxx>
#endif

#ifndef _Standard_PCharacter_HeaderFile
#include <Standard_PCharacter.hxx>
#endif
#ifndef _WNT_Image_HeaderFile
#include <WNT_Image.hxx>
#endif
#ifndef _Standard_CString_HeaderFile
#include <Standard_CString.hxx>
#endif
#ifndef _Aspect_Handle_HeaderFile
#include <Aspect_Handle.hxx>
#endif
#ifndef _Standard_Integer_HeaderFile
#include <Standard_Integer.hxx>
#endif
class WNT_ImageManager;
class WNT_IconBox;


//! Internal class for icon management <br>
class WNT_Icon : public WNT_Image {

public:

  //! Creates a class. <br>
  Standard_EXPORT   WNT_Icon(const Standard_CString aName,const Aspect_Handle aBitmap,const Standard_Integer aHashCode);
  //! Destroys all resources attached to the Icon. <br>
  Standard_EXPORT   virtual  void Destroy() ;
~WNT_Icon()
{
  Destroy();
}
  //! Sets a name for icon. <br>
  Standard_EXPORT     void SetName(const Standard_CString aName) ;

friend class WNT_ImageManager;
friend class WNT_IconBox;


  DEFINE_STANDARD_RTTI(WNT_Icon)

protected:


Standard_PCharacter myName;


private: 




};





// other Inline functions and methods (like "C++: function call" methods)


#endif