Guiliani  Version 2.5 revision 7293 (documentation build 13)
GUIImageDataGL.h
1/*
2* Copyright (C) TES Electronic Solutions GmbH,
3* All Rights Reserved.
4* Contact: info@guiliani.de
5*
6* This file is part of the Guiliani HMI framework
7* for the development of graphical user interfaces on embedded systems.
8*/
9
10#ifndef GUIIMAGEDATAGL__H_
11#define GUIIMAGEDATAGL__H_
12
13#include "GUIImageData.h"
14
17{
18public:
21
24
28 void SetTextureID(const eC_UInt uiTextureID);
29
33 void SetTextureWidth(const eC_UInt uiTexWidth);
34
38 void SetTextureHeight(const eC_UInt uiTexHeight);
39
43 const eC_UInt GetTextureID() const;
44
48 eC_UInt GetTextureWidth() const;
49
53 eC_UInt GetTextureHeight() const;
54
58 eC_UInt GetColorFormat() const;
59
60private:
64 CGUIImageDataGL(const CGUIImageDataGL& kSource);
65
69 CGUIImageData& operator=(const CGUIImageDataGL& kSource);
70
71 eC_UInt m_uiTextureID; // OpenTexture identifier
72 eC_UInt m_uiTextureWidth; // texture size for calculating texture coordinates
73 eC_UInt m_uiTextureHeight;
74};
75
76#endif
OpenGL Version of CGUIImageData for textures.
Definition: GUIImageDataGL.h:17
void SetTextureWidth(const eC_UInt uiTexWidth)
void SetTextureHeight(const eC_UInt uiTexHeight)
eC_UInt GetTextureHeight() const
eC_UInt GetTextureWidth() const
void SetTextureID(const eC_UInt uiTextureID)
eC_UInt GetColorFormat() const
const eC_UInt GetTextureID() const
Contains information about an image loaded by CGUIImageLoader.
Definition: GUIImageData.h:29