TerminateGui.c File Reference

#include "TerminateGui.h"
#include "xscion.h"
#include "fromjava.h"

Include dependency graph for TerminateGui.c:

Go to the source code of this file.

Functions

static int CloseConsoleGUI (void)
BOOL TerminateGUI (void)


Function Documentation

static int CloseConsoleGUI ( void   )  [static]

Definition at line 41 of file TerminateGui.c.

References GetTextWinScilab(), TextClose(), and TextMessage().

Referenced by TerminateGUI().

00042 {
00043 #ifdef _MSC_VER
00044         LPTW lptw=GetTextWinScilab();
00045         TextClose (lptw);
00046         TextMessage ();         /* process messages */
00047 #else
00048 
00049 #endif
00050         return 0;
00051 }

Here is the call graph for this function:

Here is the caller graph for this function:

BOOL TerminateGUI ( void   ) 

Definition at line 20 of file TerminateGui.c.

References C2F, CloseConsoleGUI(), i, IsFromC(), IsFromJava(), IsWindowInterface(), RestoreConsoleColors(), TRUE, and xscion().

Referenced by ExitScilab().

00021 {
00022 #ifdef _MSC_VER
00023         if ( IsWindowInterface() ) 
00024         {
00025                 CloseConsoleGUI();
00026         }
00027         else
00028         {
00029                 if ( !IsFromC() && !IsFromJava() )  RestoreConsoleColors();
00030         }
00031 #else
00032         {
00033                 int i = 0 ;
00034                 C2F (xscion) (&i);
00035                 if (i != 0) CloseConsoleGUI();
00036         }
00037 #endif
00038         return TRUE;
00039 }

Here is the call graph for this function:

Here is the caller graph for this function:


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