9#ifndef CO_TEXTURERECT_BACKGROUND_H
10#define CO_TEXTURERECT_BACKGROUND_H
16typedef unsigned char uchar;
17typedef unsigned short ushort;
18typedef unsigned int uint;
19typedef unsigned long ulong;
20typedef signed char schar;
21typedef signed short sshort;
22typedef signed int sint;
23typedef signed long slong;
34class coTextureRectBackground;
77 normalTextureImage = nt;
125 this->updated = update;
167 return currentTextures;
172 return normalTexName;
179 std::string normalTexName;
unsigned int uint
abbreviation for unsigned int
Definition: rel_mcast-old.h:77
unsigned long ulong
abbreviation for unsigned long
Definition: rel_mcast-old.h:78
unsigned char uchar
abbreviation for unsigned char
Definition: rel_mcast-old.h:75
unsigned short ushort
abbreviation for unsigned short
Definition: rel_mcast-old.h:76
collaborative interface manager
Definition: coVRCommunication.h:41
Definition: coAction.h:26
Definition: coBackground.h:23
Definition: coTextureRectBackground.h:41
virtual void texturePointerMoved(coTextureRectBackground *, float, float)
virtual void texturePointerClicked(coTextureRectBackground *, float, float)
virtual ~coTextureRectBackgroundActor()
Definition: coTextureRectBackground.h:43
virtual void texturePointerDragged(coTextureRectBackground *, float, float)
virtual void texturePointerLeft(coTextureRectBackground *)
virtual void texturePointerReleased(coTextureRectBackground *, float, float)
Definition: coTextureRectBackground.h:62
virtual int hit(vruiHit *hit)
coTextureRectBackground(const std::string &normalTexture, coTextureRectBackgroundActor *actor=0)
const std::string & getNormalTexName() const
Definition: coTextureRectBackground.h:170
bool getUpdated()
returns whether
Definition: coTextureRectBackground.h:129
float getTexXSize() const
returns the width of the texture
Definition: coTextureRectBackground.h:138
float getTexYSize() const
returns the height of the texture
Definition: coTextureRectBackground.h:144
virtual const char * getClassName() const
get the Element's classname
virtual void setHighlighted(bool hl)
set this widget to highlighted
coTextureRectBackgroundActor * myActor
action listener, triggered on pointer intersections
Definition: coTextureRectBackground.h:176
virtual ~coTextureRectBackground()
coTextureRectBackground(uint *normalImage, int comp, int ns, int nt, int nr, coTextureRectBackgroundActor *actor=0)
void setUpdated(bool update)
Definition: coTextureRectBackground.h:123
TextureSet * getCurrentTextures()
Definition: coTextureRectBackground.h:165
virtual bool isOfClassName(const char *) const
check if the Element or any ancestor is this classname
void setTexSize(float, float)
set the texture dimensions (need to be pixel-exact)
void setImage(uint *normalImage, int comp, int ns, int nt, int nr)
bool getRepeat() const
get texture repeat state (deprecated!)
void setRepeat(bool repeat)
set texture repeat (deprecated!)
virtual void setEnabled(bool en)
set this widget to enabled
Definition: coTextureRectBackground.h:70
int s
Definition: coTextureRectBackground.h:86
TextureSet(uint *nt, int comp, int s, int t, int r)
Definition: coTextureRectBackground.h:73
uint * normalTextureImage
Definition: coTextureRectBackground.h:84
TexCoord end
Definition: coTextureRectBackground.h:102
int t
Definition: coTextureRectBackground.h:87
int r
Definition: coTextureRectBackground.h:88
TexCoord start
Definition: coTextureRectBackground.h:101
int comp
Definition: coTextureRectBackground.h:85
Definition: coTextureRectBackground.h:91
float y
Definition: coTextureRectBackground.h:98
float x
Definition: coTextureRectBackground.h:97
TexCoord(float xv, float yv)
Definition: coTextureRectBackground.h:92