Created
December 28, 2021 15:22
-
-
Save Andrej123456789/463a5df470f96b2d9fe9c30701385fd9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include "Window.h" | |
int status = 0; | |
void Basic::Rectangle(size_t x, size_t y, size_t width, size_t height, uint32_t colour) | |
{ | |
for (size_t y1 = y; y1 < y + height; y1++) | |
{ | |
for (size_t x1 = x; x1 < x + width; x1++) | |
{ | |
GlobalRenderer->PutPix(x1, y1, colour); | |
} | |
} | |
} | |
void Basic::Square(size_t x, size_t y, size_t width, size_t height, uint32_t colour) | |
{ | |
BasicStuff->Rectangle(x, y, width, height, colour); | |
} | |
void StartMenu::DrawStartMenu(int rows, uint32_t color) | |
{ | |
BasicStuff->Rectangle(0, 720, 300, 300, color); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment