34 lines
524 B
C
34 lines
524 B
C
#ifndef __al_included_allegro5_monitor_h
|
|
#define __al_included_allegro5_monitor_h
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
|
|
/* Type: ALLEGRO_MONITOR_INFO
|
|
*/
|
|
typedef struct ALLEGRO_MONITOR_INFO
|
|
{
|
|
int x1;
|
|
int y1;
|
|
int x2;
|
|
int y2;
|
|
} ALLEGRO_MONITOR_INFO;
|
|
|
|
enum {
|
|
ALLEGRO_DEFAULT_DISPLAY_ADAPTER = -1
|
|
};
|
|
|
|
AL_FUNC(int, al_get_num_video_adapters, (void));
|
|
AL_FUNC(bool, al_get_monitor_info, (int adapter, ALLEGRO_MONITOR_INFO *info));
|
|
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|
|
|
|
#endif
|
|
|
|
/* vim: set ts=8 sts=3 sw=3 et: */
|