18 lines
362 B
C++
18 lines
362 B
C++
|
|
#ifndef PLATFORM_UNIX_XRANDR_H
|
|
#define PLATFORM_UNIX_XRANDR_H
|
|
|
|
#include <X11/extensions/Xrandr.h>
|
|
|
|
namespace sp { namespace Xrandr {
|
|
|
|
struct VideoMode {
|
|
SizeID size;
|
|
short rate;
|
|
};
|
|
|
|
bool FindMode(::Display* disp, unsigned int width, unsigned int height, unsigned int bpp, SizeID *id, short *rate);
|
|
|
|
} } // sp::Xrandr
|
|
|
|
#endif /* PLATFORM_UNIX_XRANDR_H */
|