Aller à la documentation de ce fichier.00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00032 #ifndef __MLV_WINDOW_H__
00033 #define __MLV_WINDOW_H__
00034
00035 #ifdef __cplusplus
00036 extern "C" {
00037 #endif
00038
00078 void MLV_create_window(
00079 const char* window_name, const char* icone_name,
00080 unsigned int width, unsigned int height
00081 );
00082
00083
00103 void MLV_create_window_with_default_font(
00104 const char* window_name, const char* icone_name,
00105 unsigned int width, unsigned int height,
00106 const char* path_to_font, unsigned int size_font
00107 );
00108
00124 void MLV_change_default_font( const char* path_to_font, unsigned int size_font );
00125
00141 void MLV_create_full_screen_window(
00142 const char* window_name, const char* icone_name,
00143 unsigned int width, unsigned int height
00144 );
00145
00153 void MLV_enable_full_screen();
00154
00158 void MLV_disable_full_screen();
00159
00165 int MLV_is_full_screen();
00166
00180 void MLV_change_window_size( unsigned int width, unsigned int height );
00181
00188 void MLV_change_window_caption(
00189 const char* window_name, const char* icone_name
00190 );
00191
00198 void MLV_get_window_size( unsigned int* width, unsigned int* height );
00199
00203 int MLV_get_window_height( );
00204
00208 int MLV_get_window_width( );
00209
00225 void MLV_free_window();
00226
00234 void MLV_actualise_window();
00235
00250 void MLV_execute_at_exit( void (*function)(void*), void* data );
00251
00252 #ifdef __cplusplus
00253 }
00254 #endif
00255
00256 #endif