mirror of
https://github.com/NeoFlock/neonucleus.git
synced 2025-09-24 09:03:32 +02:00
32 lines
620 B
C
32 lines
620 B
C
#ifndef NN_SCREEN_H
|
|
#define NN_SCREEN_H
|
|
|
|
#include "../neonucleus.h"
|
|
|
|
typedef struct nn_screen {
|
|
nn_scrchr_t *buffer;
|
|
nn_guard *lock;
|
|
nn_refc refc;
|
|
int width;
|
|
int height;
|
|
int viewportWidth;
|
|
int viewportHeight;
|
|
int maxWidth;
|
|
int maxHeight;
|
|
int maxDepth;
|
|
int depth;
|
|
int editableColors;
|
|
int paletteColors;
|
|
int *palette;
|
|
int aspectRatioWidth;
|
|
int aspectRatioHeight;
|
|
bool isOn;
|
|
bool isTouchModeInverted;
|
|
bool isPrecise;
|
|
bool isDirty; // ooh la laa
|
|
nn_address keyboards[NN_MAX_SCREEN_KEYBOARDS];
|
|
size_t keyboardCount;
|
|
} nn_screen;
|
|
|
|
#endif
|