File: sdlutils.h

package info (click to toggle)
tslib 1.22-1.1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 3,016 kB
  • sloc: ansic: 18,859; sh: 4,167; makefile: 550
file content (11 lines) | stat: -rw-r--r-- 359 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
/*
 * Copyright (C) 2017 Martin Keppligner <martink@posteo.de>
 *
 * SPDX-License-Identifier: GPL-2.0+
 */
#ifndef _SDLUTILS_H
#define _SDLUTILS_H
void draw_line(SDL_Renderer *r, int32_t x1, int32_t y1, int32_t x2, int32_t y2);
void draw_crosshair(SDL_Renderer *r, int32_t x, int32_t y);
void getxy(struct tsdev *ts, int *x, int *y);
#endif /* _SDLUTILS_H */