mirror of
				https://github.com/acidanthera/audk.git
				synced 2025-10-31 11:13:53 +01:00 
			
		
		
		
	Update the arrow position.
Use the parameter” LEFT_SKIPPED_COLUMNS” to adjust the position from the beginning of the line to the beginning of the menu string. The arrow position and the beginning of the menu string are fixed in one block space. git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@11327 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
		
							parent
							
								
									1b71e7f1ad
								
							
						
					
					
						commit
						b6ca1fd813
					
				| @ -62,7 +62,7 @@ extern UINT8  SetupBrowserStrings[]; | |||||||
| 
 | 
 | ||||||
| #define FRONT_PAGE_HEADER_HEIGHT      6 | #define FRONT_PAGE_HEADER_HEIGHT      6 | ||||||
| #define NONE_FRONT_PAGE_HEADER_HEIGHT 3 | #define NONE_FRONT_PAGE_HEADER_HEIGHT 3 | ||||||
| #define LEFT_SKIPPED_COLUMNS          1 | #define LEFT_SKIPPED_COLUMNS          3 | ||||||
| #define FOOTER_HEIGHT                 4 | #define FOOTER_HEIGHT                 4 | ||||||
| #define STATUS_BAR_HEIGHT             1 | #define STATUS_BAR_HEIGHT             1 | ||||||
| #define SCROLL_ARROW_HEIGHT           1 | #define SCROLL_ARROW_HEIGHT           1 | ||||||
|  | |||||||
| @ -1793,12 +1793,14 @@ UiDisplayMenu ( | |||||||
|           Width       = GetWidth (Statement, MenuOption->Handle); |           Width       = GetWidth (Statement, MenuOption->Handle); | ||||||
|           OriginalRow = Row; |           OriginalRow = Row; | ||||||
| 
 | 
 | ||||||
|           if (Statement->Operand == EFI_IFR_REF_OP && ((gClassOfVfr & FORMSET_CLASS_PLATFORM_SETUP) == FORMSET_CLASS_PLATFORM_SETUP)) { |           if (Statement->Operand == EFI_IFR_REF_OP &&  | ||||||
|  |             ((gClassOfVfr & FORMSET_CLASS_PLATFORM_SETUP) == FORMSET_CLASS_PLATFORM_SETUP) && | ||||||
|  |             MenuOption->Col > 2) { | ||||||
|             //
 |             //
 | ||||||
|             // Print Arrow for Goto button.
 |             // Print Arrow for Goto button.
 | ||||||
|             //
 |             //
 | ||||||
|             PrintAt ( |             PrintAt ( | ||||||
|               MenuOption->Col - LEFT_SKIPPED_COLUMNS, |               MenuOption->Col - 2, | ||||||
|               Row, |               Row, | ||||||
|               L"%c", |               L"%c", | ||||||
|               GEOMETRICSHAPE_RIGHT_TRIANGLE |               GEOMETRICSHAPE_RIGHT_TRIANGLE | ||||||
|  | |||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user