Main_Image_Start_Address(0);
Main_Image_Width(LCD_XSIZE_TFT);
Main_Window_Start_XY(0,0);
Canvas_Image_Start_address(0);
Canvas_image_width(LCD_XSIZE_TFT);
Active_Window_XY(0,0);
Active_Window_WH(LCD_XSIZE_TFT,LCD_YSIZE_TFT);
Display_RGB_Gray();
DelayMS(1000);
while(1)
{
LT768_DrawSquare_Fill(0,0,LCD_XSIZE_TFT-1,LCD_YSIZE_TFT-1,White);
LT768_DrawSquare_Fill((LCD_XSIZE_TFT-300)/2,(LCD_YSIZE_TFT-100)/2,(LCD_XSIZE_TFT-300)/2+300,(LCD_YSIZE_TFT-100)/2+100,Blue);
DelayMS(1000);
LT768_DrawSquare_Fill(0,0,LCD_XSIZE_TFT-1,LCD_YSIZE_TFT-1,Red);
DelayMS(1000);
LT768_DrawSquare_Fill(0,0,LCD_XSIZE_TFT-1,LCD_YSIZE_TFT-1,Green);
DelayMS(1000);
LT768_DrawSquare_Fill(0,0,LCD_XSIZE_TFT-1,LCD_YSIZE_TFT-1,Blue);
DelayMS(1000);