Revision: 17188
          http://sourceforge.net/p/edk2/code/17188
Author:   ydong10
Date:     2015-04-20 04:25:45 +0000 (Mon, 20 Apr 2015)
Log Message:
-----------
Update the logic: After check the environment, calculate the new parameter and 
update it.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <[email protected]>
Reviewed-by: Liming Gao <[email protected]>

Modified Paths:
--------------
    trunk/edk2/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
    trunk/edk2/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.h

Modified: trunk/edk2/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c    
2015-04-17 07:40:44 UTC (rev 17187)
+++ trunk/edk2/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.c    
2015-04-20 04:25:45 UTC (rev 17188)
@@ -1901,6 +1901,11 @@
     }
     *SkipValue     = 0;
   }
+
+  //
+  // First enter to show the menu, update highlight info.
+  //
+  UpdateHighlightMenuInfo (*HighlightMenu, *TopOfScreen, *SkipValue);
 }
 
 /**

Modified: trunk/edk2/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.h
===================================================================
--- trunk/edk2/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.h    
2015-04-17 07:40:44 UTC (rev 17187)
+++ trunk/edk2/MdeModulePkg/Universal/DisplayEngineDxe/FormDisplay.h    
2015-04-20 04:25:45 UTC (rev 17188)
@@ -633,4 +633,19 @@
   IN  VOID         *Context
   );
 
+/**
+  Record the highlight menu and top of screen menu info.
+
+  @param  Highlight               The menu opton which is highlight.
+  @param  TopOfScreen             The menu opton which is at the top of the 
form.
+  @param  SkipValue               The skip line info for the top of screen 
menu.
+
+**/
+VOID
+UpdateHighlightMenuInfo (
+  IN  LIST_ENTRY                      *Highlight,
+  IN  LIST_ENTRY                      *TopOfScreen,
+  IN  UINTN                           SkipValue
+  );
+
 #endif


------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
edk2-commits mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/edk2-commits

Reply via email to