add tomato image generator helper functions (untested)

This commit is contained in:
Green Sky
2025-01-08 01:39:39 +01:00
parent 3647ff3d54
commit d9a6eed921
5 changed files with 923 additions and 0 deletions

18
src/icon_generator.hpp Normal file
View File

@@ -0,0 +1,18 @@
#pragma once
#include <SDL3/SDL.h>
#include <memory>
namespace IconGenerator {
// remember to SDL_DestroySurface()
// tomato icon
SDL_Surface* base(void);
// tomato icon with colored indicator
SDL_Surface* colorIndicator(float r, float g, float b, float a);
} // IconGenerator