mirror of
https://github.com/reactos/reactos.git
synced 2024-06-01 02:01:57 +00:00
c25a0e1919
- UiMessageBox(): Enlarge the default buffer used to printf msgbox strings. - TuiUpdateDateTime(): When displaying the time, don't pad too much with spaces on the left. - TuiDrawShadow(): * Pre-calculate whether we need to show the right/bottom shadows, and whether the right-shadow has a double width. * Cap the right and bottom upper-bound coordinates before looping, in order to avoid buffer overflows if the given coordinates go beyond the screen. - TuiDrawMsgBoxCommon(): Improve how the message box centering calculations are done: * When the "full-UI" is used (and center-menu is used), try to center the message box in the space between the header and the status bar. * Ensure the top-left box corner is inside the screen, in case the calculated message box borders go off-screen. - TuiCalcMenuBoxSize(): * Uniformize the way the menu box coordinates are calculated. * Reduce the space between menu box margins and the longest item. * Ensure the top-left menu corner is inside the screen, in case the calculated menu box borders go off-screen. |
||
---|---|---|
.. | ||
directui.c | ||
gui.c | ||
minitui.c | ||
noui.c | ||
tui.c | ||
tuimenu.c | ||
ui.c | ||
video.c |