aboutsummaryrefslogtreecommitdiff
path: root/sdl2/rect.ha
diff options
context:
space:
mode:
authorVlad-Stefan Harbuz <vlad@vladh.net>2022-02-07 13:08:52 +0100
committerDrew DeVault <sir@cmpwn.com>2022-02-07 18:56:08 +0100
commit2276dc7ad067f7af7504783239103c1abd7b4433 (patch)
tree20f2f98f4af8b2ff0efeb3b15f1a26e09702e908 /sdl2/rect.ha
parentcorrect indentation (diff)
downloadhare-chip8-2276dc7ad067f7af7504783239103c1abd7b4433.tar.gz
refactor names from e.g. sdl2::init() to sdl2::SDL_Init()
Signed-off-by: Vlad-Stefan Harbuz <vlad@vladh.net>
Diffstat (limited to 'sdl2/rect.ha')
-rw-r--r--sdl2/rect.ha8
1 files changed, 4 insertions, 4 deletions
diff --git a/sdl2/rect.ha b/sdl2/rect.ha
index 00fae87..012088e 100644
--- a/sdl2/rect.ha
+++ b/sdl2/rect.ha
@@ -1,19 +1,19 @@
// TODO: Flesh me out
// The structure that defines a point (integer)
-export type point = struct {
+export type SDL_Point = struct {
x: int,
y: int,
};
// The structure that defines a point (floating point)
-export type fpoint = struct {
+export type SDL_FPoint = struct {
x: f32,
y: f32,
};
// A rectangle, with the origin at the upper left (integer).
-export type rect = struct {
+export type SDL_Rect = struct {
x: int,
y: int,
w: int,
@@ -21,7 +21,7 @@ export type rect = struct {
};
// A rectangle, with the origin at the upper left (floating point).
-export type frect = struct {
+export type SDL_FRect = struct {
x: f32,
y: f32,
w: f32,