forked from Green-Sky/tomato
add tomato image generator helper functions (untested)
This commit is contained in:
18
src/icon_generator.hpp
Normal file
18
src/icon_generator.hpp
Normal 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
|
||||
|
||||
Reference in New Issue
Block a user