1. -- 
  2. -- Copyright (c) 2012 Kevin Wellwood 
  3. -- All rights reserved. 
  4. -- 
  5. -- This source code is distributed under the Modified BSD License. For terms and 
  6. -- conditions, see license.txt. 
  7. -- 
  8.  
  9. package Widgets.Containers.Game_Screens.Menus.Config is 
  10.  
  11.     -- The config screen represents Keen's configuration menu, accessible from 
  12.     -- the main menu. 
  13.     type Config_Screen is new Menu_Screen with private; 
  14.  
  15.     -- Creates a new configuration menu screen. 
  16.     function Create_Config_Screen( view : not null access Game_Views.Game_View'Class; 
  17.                                    id   : String ) return A_Game_Screen; 
  18.  
  19. private 
  20.  
  21.     type Config_Screen is new Menu_Screen with null record; 
  22.  
  23.     procedure Construct( this : access Config_Screen; 
  24.                          view : not null access Game_Views.Game_View'Class; 
  25.                          id   : String ); 
  26.  
  27.     -- Focuses the top menu item on activation. 
  28.     procedure Activate( this : access Config_Screen ) ; 
  29.  
  30. end Widgets.Containers.Game_Screens.Menus.Config;