aboutsummaryrefslogtreecommitdiffstats
path: root/src/newt/native/ScreenMode.h
blob: 0a760d54a0e43af8c73ebde0dca8c8c2ff01d13c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/**
 * WARNING: must be synced with com.jogamp.newt.util.ScreenModeUtil#streamIn*(int[])
 */

#ifndef _SCREEN_MODE_H
#define _SCREEN_MODE_H

#define NUM_RESOLUTION_PROPERTIES   2   /* width, height */
#define NUM_SURFACE_SIZE_PROPERTIES 1   /* bpp */
#define NUM_MONITOR_MODE_PROPERTIES 3   /* ScreenSizeMM[width, height], refresh-rate */
#define NUM_SCREEN_MODE_PROPERTIES  1   /* rotation */

#define NUM_SCREEN_MODE_PROPERTIES_ALL  8   /* count + the above */

#endif