summaryrefslogtreecommitdiffstats
path: root/source/platform/platform_linux.h
blob: 898a8928b5b9c090d7312f9679c1d541e2facabf (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#ifndef PLATFORM_LINUX_H
#define PLATFORM_LINUX_H

 #define PlatformCreateWindow(arena, height, width, display_x, display_y)                           \
 LinuxCreateWindow(arena, height, width, display_x, display_y)

 #define PlatformGetDisplayWidth(display, screen_num)                                               \
 LinuxDisplayWdith(display, screen_num) // defined externally

 #define PlatformGetDisplayHeight(display, screen_num)                                              \
 LinuxDisplayHeight(display, screen_num) // defined externally

 #define PlatformLoadBitmapFromFile(display, window, path, width, height, out, hotspot_x,           \
 hotspot_y)                                                      \
 LinuxLoadBitMapFromFile(display, window, path, width, height, out, hotspot_x, hotspot_y)

#endif