1.优化进度条,有差2个像素
This commit is contained in:
		
							parent
							
								
									90f03df218
								
							
						
					
					
						commit
						6c774f7b63
					
				| 
						 | 
				
			
			@ -78,7 +78,7 @@
 | 
			
		|||
#define LEFTFRAME_ROTATE270 3
 | 
			
		||||
#define RIGHTFRAME_ROTATE270 3
 | 
			
		||||
#define BAR_X_ROTATE270 36
 | 
			
		||||
#define BAR_Y_ROTATE270 46
 | 
			
		||||
#define BAR_Y_ROTATE270 45
 | 
			
		||||
#define BAR_W_ROTATE270 10  //Progressive bar and drawing by CPU. The x-offset is movable
 | 
			
		||||
#define BAR_H_ROTATE270 8
 | 
			
		||||
#define STRING1_X_ROTATE270 36
 | 
			
		||||
| 
						 | 
				
			
			@ -951,7 +951,7 @@ void nvt_display_draw(UINT32 u32Id)
 | 
			
		|||
        //printf("g_uiPinPongIdx:%lu g_uiXBarStep:%lu g_uiBarWtmp:%lu tmp:%lu\r\n", g_uiPinPongIdx,g_uiXBarStep,g_uiBarWtmp, (g_uiStr6_h - g_uiBarW));
 | 
			
		||||
        g_uiXBarStep++;
 | 
			
		||||
        g_uiBarWtmp = g_uiXBarStep*g_uiBarW;
 | 
			
		||||
        if(g_uiBarWtmp > g_uiStr6_h)
 | 
			
		||||
        if((g_uiBarWtmp > g_uiStr6_h) || (g_uiXBarStep >= g_uiTotalBarNum))
 | 
			
		||||
        {
 | 
			
		||||
            g_uiBarWtmp = g_uiStr6_h;
 | 
			
		||||
        }
 | 
			
		||||
| 
						 | 
				
			
			@ -1312,7 +1312,7 @@ void nvt_display_config(UINT32 config_id, UINT32 vlaue)
 | 
			
		|||
        g_uiTotalBarNum = vlaue*2; //wrtie partition + read back partition
 | 
			
		||||
        g_uiBarW = g_uiStr6_h/(vlaue*2);
 | 
			
		||||
        g_uiBarH = g_uiStr6_w;
 | 
			
		||||
        //printf("g_uiBarW:%lu\r\n", g_uiBarW);
 | 
			
		||||
        //printf("g_uiBarW:%lu g_uiBarH:%lu\r\n", g_uiBarW, g_uiBarH);
 | 
			
		||||
        break;
 | 
			
		||||
    }
 | 
			
		||||
}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in New Issue
	
	Block a user