settings_ui.h File Reference

Option configuration console. More...

Go to the source code of this file.

Functions

 FILE_LICENCE (GPL2_OR_LATER)
int settings_ui (struct settings *settings) __nonnull


Detailed Description

Option configuration console.

Definition in file settings_ui.h.


Function Documentation

FILE_LICENCE ( GPL2_OR_LATER   ) 

int settings_ui ( struct settings settings  ) 

Definition at line 410 of file settings_ui.c.

References COLOR_BLACK, COLOR_BLUE, COLOR_CYAN, COLOR_RED, color_set, COLOR_WHITE, CPAIR_ALERT, CPAIR_EDIT, CPAIR_NORMAL, CPAIR_SELECT, endwin(), erase(), init_pair(), initscr(), main_loop(), NULL, and start_color.

Referenced by config_exec().

00410                                               {
00411         int rc;
00412 
00413         initscr();
00414         start_color();
00415         init_pair ( CPAIR_NORMAL, COLOR_WHITE, COLOR_BLUE );
00416         init_pair ( CPAIR_SELECT, COLOR_WHITE, COLOR_RED );
00417         init_pair ( CPAIR_EDIT, COLOR_BLACK, COLOR_CYAN );
00418         init_pair ( CPAIR_ALERT, COLOR_WHITE, COLOR_RED );
00419         color_set ( CPAIR_NORMAL, NULL );
00420         erase();
00421         
00422         rc = main_loop ( settings );
00423 
00424         endwin();
00425 
00426         return rc;
00427 }


Generated on Tue Apr 6 20:01:52 2010 for gPXE by  doxygen 1.5.7.1