Buttons now children of BaseButton Buttons now render over and down modes Text buttons now exist Buttons render differently
13 lines
292 B
C++
13 lines
292 B
C++
#pragma once
|
|
#include "BaseButtonInstance.h"
|
|
|
|
class ImageButtonInstance : public BaseButtonInstance
|
|
{
|
|
public:
|
|
ImageButtonInstance(G3D::TextureRef,G3D::TextureRef,G3D::TextureRef);
|
|
~ImageButtonInstance(void);
|
|
void drawObj(RenderDevice*, Vector2, bool);
|
|
Vector2 size;
|
|
Vector2 position;
|
|
};
|