Usermode/AxWin4 - Fix bitmap upscale
[tpg/acess2.git] / Usermode / Applications / axwin4_src / UI / taskbar.c
index 3f63268..f6261d4 100644 (file)
@@ -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);
        }
        

UCC git Repository :: git.ucc.asn.au