Exemplo n.º 1
0
//* 
//* Init All Resources
//* 
void a_init_all(){
  //-- Init
  ui_init();                        //-- Init Event Handler
  ag_init();                        //-- Init Graphic Framebuffer
  ag_loadsmallfont("fonts/small");  //-- Init Small Font
  ag_loadbigfont("fonts/big");      //-- Init Big Font
}
Exemplo n.º 2
0
//* 
//* Init All Resources
//* 
void a_init_all(){
  //-- Init Input Event Handler
  ui_init();
  LOGS("Input Initialized\n");
  
  //-- Init Graphic Framebuffer
  ag_init();
  LOGS("Graph Initialized\n");
}
Exemplo n.º 3
0
/**
 * Various initializations.
 *
 * @param arg_ct  the count of program arguments, plus 1.
 * @param arg_vec the program name plus its arguments
 */
LOCAL void
initialize(int arg_ct, char ** arg_vec)
{
    putenv(C(char *, ld_lib_path));

    scribble_init();

    /*
     *  Initialize all the Scheme functions.
     */
    ag_init();
    init_scm();

    last_scm_cmd = NULL;
    processing_state = PROC_STATE_OPTIONS;

    process_ag_opts(arg_ct, arg_vec);
    ag_exit_code = AUTOGEN_EXIT_LOAD_ERROR;

    if (OPT_VALUE_TRACE > TRACE_NOTHING)
        SCM_EVAL_CONST(INIT_SCM_DEBUG_FMT);
}
Exemplo n.º 4
0
//* 
//* Init All Resources
//* 
void a_init_all(){
  //-- Init
  ui_init();                        //-- Init Event Handler
  ag_init();                        //-- Init Graphic Framebuffer
}