Made BaseButton class
Buttons now children of BaseButton Buttons now render over and down modes Text buttons now exist Buttons render differently
This commit is contained in:
@@ -1,10 +1,12 @@
|
||||
#pragma once
|
||||
#include "instance.h"
|
||||
#include "BaseButtonInstance.h"
|
||||
|
||||
class ImageButtonInstance :
|
||||
public Instance
|
||||
class ImageButtonInstance : public BaseButtonInstance
|
||||
{
|
||||
public:
|
||||
ImageButtonInstance(G3D::TextureRef,G3D::TextureRef,G3D::TextureRef);
|
||||
~ImageButtonInstance(void);
|
||||
void drawObj(RenderDevice*, Vector2, bool);
|
||||
Vector2 size;
|
||||
Vector2 position;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user