make box, axes, ssao, antialias checkable buttons in image viewer

this reduces the antialias option to just 2x
This commit is contained in:
Axel Kohlmeyer
2023-08-14 21:37:46 -04:00
parent c11c51ba3c
commit e51845776d
10 changed files with 83 additions and 23 deletions

View File

@ -45,6 +45,10 @@ private slots:
void normalSize();
void fitToWindow();
void toggle_ssao();
void toggle_anti();
void toggle_box();
void toggle_axes();
void do_zoom_in();
void do_zoom_out();
void do_rot_left();
@ -83,6 +87,7 @@ private:
QString filename;
int hrot, vrot;
double zoom;
bool showbox, showaxes, antialias, usessao;
};
#endif