mirror of
https://github.com/InvisibleUp/uvmac.git
synced 2024-06-02 05:41:30 +00:00
fa4bbacf3a
I still need to re-do most of the rendering system to throw out all the jank, but this feels like a half-decent start imo. Yes, every page is just a separate .png file. I'm lazy. That works.
23 lines
506 B
C
23 lines
506 B
C
/*
|
|
* CONFIG Mode
|
|
*
|
|
* A replacement for Control Mode, with prettier grapgics and actual settings
|
|
*
|
|
*/
|
|
|
|
#include <SDL2.h> // everything else is deprecated now
|
|
#include <stdlib.h>
|
|
#include <stdint.h>
|
|
#include "CONFIGM.h"
|
|
#include "UI/SDL2/OSGLUSD2.h"
|
|
|
|
/* -- Public Functions -- */
|
|
|
|
void ConfigMode_Tick()
|
|
{
|
|
// Get the screen context and just draw something there for now
|
|
|
|
SDL_SetRenderDrawColor(renderer, 255, 255, 255, 255);
|
|
SDL_RenderDrawRect(renderer, {.x = 16, .y = 16, .w = 128, .h = 128});
|
|
}
|