Files
V2TMUMemTester/Draw.h
2026-03-09 01:10:56 +01:00

46 lines
1.3 KiB
C

/* V2MemTest - A CLI Tool to test & fix Voodoo² TMU System
* Copyright (C) 2026 ChaCha
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <https://www.gnu.org/licenses/>.
*/
#ifndef _DEF_DRAW_H_
#define _DEF_DRAW_H_
#include <stdint.h>
void
drawRect( const SstRegs * const sst,
const int16_t x,
const int16_t y,
const int16_t tSizeX,
const int16_t tSizeY);
static inline void
drawSquare( const SstRegs * const sst,
const int16_t x,
const int16_t y,
const int16_t tSize)
{
drawRect(sst, x, y, tSize, tSize);
}
void
clearScreen( const SstRegs * const sst,
const uint32_t u32Color,
const int16_t u16SizeX,
const int16_t u16SizeY);
#endif //_DEF_DRAW_H_