mirror of
https://github.com/InvisibleUp/uvmac.git
synced 2024-06-02 05:41:30 +00:00
5c6bbec87a
Also tweaked with the UseLargeScreen hack and factored out some more stuff into src/HW/RAM.
24 lines
535 B
C
24 lines
535 B
C
/*
|
|
* CONFIG Mode
|
|
*
|
|
* A replacement for Control Mode, with prettier graphics and actual settings
|
|
*
|
|
*/
|
|
|
|
#include <SDL.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);
|
|
const SDL_Rect rect = {.x = 16, .y = 16, .w = 128, .h = 128};
|
|
SDL_RenderDrawRect(renderer, &rect);
|
|
}
|