|
|
@ -106,10 +106,11 @@ int xray_demo(struct notcurses* nc){
|
|
|
|
struct ncvisual_options vopts = {
|
|
|
|
struct ncvisual_options vopts = {
|
|
|
|
.n = n,
|
|
|
|
.n = n,
|
|
|
|
.y = NCALIGN_CENTER,
|
|
|
|
.y = NCALIGN_CENTER,
|
|
|
|
|
|
|
|
.x = NCALIGN_CENTER,
|
|
|
|
.scaling = NCSCALE_SCALE_HIRES,
|
|
|
|
.scaling = NCSCALE_SCALE_HIRES,
|
|
|
|
.blitter = NCBLIT_PIXEL,
|
|
|
|
.blitter = NCBLIT_PIXEL,
|
|
|
|
.flags = NCVISUAL_OPTION_NODEGRADE // to test for NCBLIT_PIXEL
|
|
|
|
.flags = NCVISUAL_OPTION_NODEGRADE // to test for NCBLIT_PIXEL
|
|
|
|
| NCVISUAL_OPTION_VERALIGNED,
|
|
|
|
| NCVISUAL_OPTION_VERALIGNED | NCVISUAL_OPTION_HORALIGNED,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
float dm = 0;
|
|
|
|
float dm = 0;
|
|
|
|
// returns 0 if the selected blitter isn't available
|
|
|
|
// returns 0 if the selected blitter isn't available
|
|
|
|