X-Git-Url: https://git.ucc.asn.au/?p=tpg%2Facess2.git;a=blobdiff_plain;f=Usermode%2FApplications%2Faxwin4_src%2FUI%2Ftaskbar.c;h=f6261d4e371c6b405fef452ba08bd777f9cfa23e;hp=3f632682bd4c6766daba1e5572cd676bedf2215e;hb=8b72370eae1a3cfa8916136fd8ffc1460e9291ba;hpb=5aa0872d2bf98d6123861d8ebaca3521bb9ea788 diff --git a/Usermode/Applications/axwin4_src/UI/taskbar.c b/Usermode/Applications/axwin4_src/UI/taskbar.c index 3f632682..f6261d4e 100644 --- a/Usermode/Applications/axwin4_src/UI/taskbar.c +++ b/Usermode/Applications/axwin4_src/UI/taskbar.c @@ -83,7 +83,12 @@ void Taskbar_Redraw(void) time(&rawtime); strftime(timestr, 5, "%H%M", localtime(&rawtime)); //AxWin4_DrawControl(gpTaskbar_Window, clock_start_x, TASKBAR_BORDER, TASKBAR_CLOCKSIZE, active_height, AXWIN4_CTL_BOX); + + //unsigned int clock_height = 16; // Hard-code the standard font height + //unsigned int clock_yofs = (active_height - clock_height)/2; + //AxWin4_DrawText(gpTaskbar_Window, clock_start_x, TASKBAR_BORDER + clock_yofs, TASKBAR_CLOCKSIZE, clock_height, 0, timestr); AxWin4_DrawText(gpTaskbar_Window, clock_start_x, TASKBAR_BORDER, TASKBAR_CLOCKSIZE, active_height, 0, timestr); + //AxWin4_DrawText(gpTaskbar_Window, clock_start_x, TASKBAR_BORDER, TASKBAR_CLOCKSIZE, 16, 0, timestr); }