Files
dangerzone/include/dangerzone/render/rect.h
T

23 lines
369 B
C

#pragma once
#include <dangerzone/engine.h>
#include <stdint.h>
void
put_rect(
framebuffer_e framebuffer,
uint32_t x,
uint32_t y,
uint32_t w,
uint32_t h,
uint32_t color
);
// TODO: remove, deprecated, you can use put_rect for the same thing
void
clear_rect(int x, int y, int w, int h, uint32_t color);
void
mark_dirty_rect(int x, int y, int w, int h);