18 mScreenTextureNeedsUpdate(false)
31 mOverlay->SetTexture(mScreenTexture);
74 for (
unsigned int i = 0; i < numTexels; ++i)
148 ImageUtility2::DrawFloodFill4<unsigned int>(
x,
y,
mXSize,
mYSize, foreColor, backColor,
150 [
this](
int x,
int y) {
return GetPixel(x, y); });
void DrawEllipse(int xCenter, int yCenter, int xExtent, int yExtent, unsigned int color)
static void DrawCircle(int xCenter, int yCenter, int radius, bool solid, std::function< void(int, int)> const &callback)
void DrawFloodFill4(int x, int y, unsigned int foreColor, unsigned int backColor)
static void DrawLine(int x0, int y0, int x1, int y1, std::function< void(int, int)> const &callback)
virtual bool OnResize(int xSize, int ySize) override
void DrawRectangle(int xMin, int yMin, int xMax, int yMax, unsigned int color, bool solid)
std::shared_ptr< ProgramFactory > mProgramFactory
void SetPixel(int x, int y, unsigned int color)
std::shared_ptr< Texture2 > mScreenTexture
std::function< void(int, int)> mDrawPixel
virtual void OnDisplay() override
std::shared_ptr< DepthStencilState > mNoDepthStencilState
bool mScreenTextureNeedsUpdate
virtual void DrawScreenOverlay()
std::shared_ptr< OverlayEffect > mOverlay
std::shared_ptr< GraphicsEngine > mEngine
static void DrawEllipse(int xCenter, int yCenter, int xExtent, int yExtent, std::function< void(int, int)> const &callback)
void ClearScreen(unsigned int color)
static void DrawRectangle(int xMin, int yMin, int xMax, int yMax, bool solid, std::function< void(int, int)> const &callback)
GLuint GLfloat GLfloat GLfloat x1
void DrawCircle(int xCenter, int yCenter, int radius, unsigned int color, bool solid)
Window2(Parameters ¶meters)
GLuint GLfloat GLfloat y0
static void DrawThickPixel(int x, int y, int thick, std::function< void(int, int)> const &callback)
void DrawThickPixel(int x, int y, int thick, unsigned int color)
void DrawLine(int x0, int y0, int x1, int y1, unsigned int color)
unsigned int GetPixel(int x, int y)