mirror of
https://github.com/NeoFlock/neonucleus.git
synced 2025-09-24 09:03:32 +02:00
very little progress
This commit is contained in:
parent
1db76cda57
commit
76993bc971
17
src/components/screen.h
Normal file
17
src/components/screen.h
Normal file
@ -0,0 +1,17 @@
|
||||
#include "../neonucleus.h"
|
||||
|
||||
typedef struct nn_screen {
|
||||
nn_screenChar *buffer;
|
||||
nn_guard *lock;
|
||||
nn_refc refc;
|
||||
int width;
|
||||
int height;
|
||||
int viewportWidth;
|
||||
int viewportHeight;
|
||||
int maxWidth;
|
||||
int maxHeight;
|
||||
int maxDepth;
|
||||
int editableColors;
|
||||
int paletteColors;
|
||||
int *palette;
|
||||
} nn_screen;
|
@ -565,7 +565,8 @@ size_t nn_getKeyboardCount(nn_screen *screen);
|
||||
|
||||
void nn_setEditableColors(nn_screen *screen, int count);
|
||||
int nn_getEditableColors(nn_screen *screen);
|
||||
void nn_setPaletteColor(nn_screen *screen, int );
|
||||
void nn_setPaletteColor(nn_screen *screen, int idx, int color);
|
||||
int nn_getPaletteColor(nn_screen *screen, int idx);
|
||||
|
||||
int nn_maxDepth(nn_screen *screen);
|
||||
int nn_getDepth(nn_screen *screen);
|
||||
|
Loading…
x
Reference in New Issue
Block a user