32 lines
716 B
C
32 lines
716 B
C
#ifndef ARC_GRAPHICS_WINDOW_H_
|
|
#define ARC_GRAPHICS_WINDOW_H_
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct ARC_Window ARC_Window;
|
|
|
|
typedef struct ARC_WindowInfo ARC_WindowInfo;
|
|
|
|
/**
|
|
* @brief creates ARC_Window type
|
|
*
|
|
* @note the parameter data is determined by which graphics library you are using
|
|
* please refer to the graphics library section to see what needs to be passed
|
|
*
|
|
* @param window ARC_Window to initialize
|
|
* @param info Info on how to create ARC_Window
|
|
*/
|
|
void ARC_Window_Create(ARC_Window **window, ARC_WindowInfo *info);
|
|
|
|
/**
|
|
* @brief destroys ARC_Window type
|
|
*/
|
|
void ARC_Window_Destroy(ARC_Window *window);
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif // !ARC_GRAPHICS_WINDOW_H_
|