Newlibc: Added con_set_title wrapper
git-svn-id: svn://kolibrios.org@9354 a494cfbc-eb01-0410-851d-a64ba20cac60
This commit is contained in:
parent
b34f9856cb
commit
2a13666707
@ -12,6 +12,7 @@ public _con_cls
|
|||||||
public _con_write_string@8
|
public _con_write_string@8
|
||||||
public _con_getch2@0
|
public _con_getch2@0
|
||||||
public _con_gets
|
public _con_gets
|
||||||
|
public con_set_title as '_con_set_title_ptr'
|
||||||
|
|
||||||
section '.text' align 16
|
section '.text' align 16
|
||||||
|
|
||||||
@ -272,7 +273,8 @@ import console, \
|
|||||||
con_set_cursor_pos, 'con_set_cursor_pos',\
|
con_set_cursor_pos, 'con_set_cursor_pos',\
|
||||||
con_write_string, 'con_write_string',\
|
con_write_string, 'con_write_string',\
|
||||||
con_get_flags, 'con_get_flags', \
|
con_get_flags, 'con_get_flags', \
|
||||||
con_set_flags, 'con_set_flags'
|
con_set_flags, 'con_set_flags', \
|
||||||
|
con_set_title, 'con_set_title'
|
||||||
|
|
||||||
s_libdir:
|
s_libdir:
|
||||||
db '/sys/lib/'
|
db '/sys/lib/'
|
||||||
|
@ -15,6 +15,8 @@ void __stdcall con_write_string(const char* string, unsigned length);
|
|||||||
short __stdcall con_getch2(void);
|
short __stdcall con_getch2(void);
|
||||||
char* __stdcall con_gets(char*, unsigned);
|
char* __stdcall con_gets(char*, unsigned);
|
||||||
|
|
||||||
|
extern void __stdcall (*con_set_title_ptr)(char*);
|
||||||
|
|
||||||
int __gui_mode;
|
int __gui_mode;
|
||||||
|
|
||||||
void con_init_opt(unsigned w_w, unsigned w_h, unsigned s_w, unsigned s_h, const char* t){
|
void con_init_opt(unsigned w_w, unsigned w_h, unsigned s_w, unsigned s_h, const char* t){
|
||||||
@ -80,6 +82,7 @@ void __fini_conio()
|
|||||||
con_exit(0);
|
con_exit(0);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void con_set_title(char *title)
|
||||||
|
{
|
||||||
|
con_set_title_ptr(title);
|
||||||
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user