23 lines
565 B
C++
23 lines
565 B
C++
#pragma once
|
|
#include "olcPixelGameEngine.h"
|
|
|
|
class FiestaOnlineEditor;
|
|
|
|
class Window{
|
|
private:
|
|
vi2d pos;
|
|
Decal*decWindow;
|
|
protected:
|
|
vi2d size;
|
|
Sprite*sprWindow;
|
|
static Window*focusedWindow;
|
|
public:
|
|
Window(FiestaOnlineEditor*pge,vi2d pos,vi2d size);
|
|
void InternalUpdate(FiestaOnlineEditor*pge,float fElapsedTime);
|
|
virtual void Update(FiestaOnlineEditor*pge,float fElapsedTime)=0;
|
|
virtual void Refresh(FiestaOnlineEditor*pge)=0;
|
|
void InternalRefresh(FiestaOnlineEditor*pge);
|
|
void Draw(FiestaOnlineEditor*pge);
|
|
bool IsFocusedWindow();
|
|
void Cleanup();
|
|
}; |