Subversion Repositories Kolibri OS

Rev

Rev 7172 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7172 Rev 7520
Line 72... Line 72...
72
}
72
}
Line 73... Line 73...
73
 
73
 
74
 
74
 
-
 
75
int con_init_console_dll(void)
-
 
76
{
-
 
77
    return con_init_console_dll_param(-1, -1, -1, -1, con_caption); 
-
 
78
}
-
 
79
 
-
 
80
 
-
 
81
int con_init_console_dll_param(dword wnd_width, dword wnd_height,
-
 
82
	dword scr_width, dword scr_height, const char* title)
-
 
83
/*	work as con_init_console_dll, but call con_init with params
75
int con_init_console_dll(void)
84
*/
Line 76... Line 85...
76
{
85
{
Line 77... Line 86...
77
	struct import * hDll;
86
	struct import * hDll;
78
 
87
 
79
  	if (__console_initdll_status == 1) return 0;
88
  	if (__console_initdll_status == 1) return 0;
80
    
89
    
81
    if((hDll = (struct import *)_ksys_cofflib_load(con_dllname)) == 0){
90
	if((hDll = (struct import *)_ksys_cofflib_load(con_dllname)) == 0){
Line 82... Line 91...
82
                debug_out_str("can't load lib\n");
91
                debug_out_str("can't load lib\n");
Line 83... Line 92...
83
                return 1;
92
                return 1;
Line 84... Line 93...
84
    }
93
    	}
85
    con_lib_link(hDll, con_imports);
94
    	con_lib_link(hDll, con_imports);