the game where you go into mines and start crafting! but for consoles (forked directly from smartcmd's github)
at main 19 lines 593 B view raw
1#pragma once 2class Font; 3using namespace std; 4 5class GuiComponent 6{ 7protected: 8 float blitOffset; 9protected: 10 void hLine(int x0, int x1, int y, int col); 11 void vLine(int x, int y0, int y1, int col); 12 void fill(int x0, int y0, int x1, int y1, int col); 13 void fillGradient(int x0, int y0, int x1, int y1, int col1, int col2); 14public: 15 GuiComponent(); // 4J added 16 void drawCenteredString(Font *font, const wstring& str, int x, int y, int color); 17 void drawString(Font *font, const wstring& str, int x, int y, int color); 18 void blit(int x, int y, int sx, int sy, int w, int h); 19};