fix some bugs & add some features

This commit is contained in:
2022-01-14 16:27:32 +03:00
parent a9ddbc39b8
commit d113aee650
14 changed files with 569 additions and 390 deletions

View File

@@ -44,6 +44,8 @@ typedef struct{
#define WINEVT_SAVEIMAGE (1<<2)
// change color palette function
#define WINEVT_ROLLCOLORFUN (1<<3)
// invert equalization status
#define WINEVT_EQUALIZE (1<<4)
// flip image
#define WIN_FLIP_LR (1<<0)
@@ -73,6 +75,7 @@ typedef enum{
} winIdType;
void imageview_init();
void closeGL();
windowData *createGLwin(char *title, int w, int h, rawimage *rawdata);
windowData *getWin();
int killwindow();