add functions for centering a window on only one axis

compile in C17 mode in debug builds to detect accidental use of C23 features

(0) -100 -30 -10 -2 +2 tip

mercurial