WinConsole.h

Go to the documentation of this file.
00001 /* Allan CORNET */
00002 /* INRIA 2005 */
00003 #ifndef __WINCONSOLE_H__
00004 #define __WINCONSOLE_H__
00005 
00006 #define  _WIN32_WINNT 0x0500 
00007 
00008 #include <windows.h>
00009 #include <stdio.h>
00010 #include <stdlib.h>
00011 #include <string.h>
00012 #include <stdarg.h>
00013 #include <windows.h>
00014 #include <Winuser.h>
00015 
00016 #define NameConsole "Console"
00017 
00018 void RenameConsole(void);
00019 void CreateScilabConsole(BOOL ShowBanner);
00020 void CloseScilabConsole(void);
00021 
00022 void UpdateConsoleColors(void);
00023 void SaveConsoleColors(void);
00024 void RestoreConsoleColors(void);
00025 
00026 void SetWindowMode(BOOL ON);
00027 BOOL IsWindowInterface();
00028 
00029 /* Retourne un numéro valide pour nommer les fenetres associées à ce process */
00030 int FindFreeScilexNumber(void);
00031 
00032 void HideScilex(void);
00033 void ShowScilex(void);
00034 void SwitchConsole(void);
00035 int GetConsoleState(void); /* Show 1 or Hide 0 */
00036 void SetConsoleState(int state);
00037 #endif /* __WINCONSOLE_H__ */

Generated on Sun Mar 4 15:03:54 2007 for Scilab [trunk] by  doxygen 1.5.1