#include "graphicSession.h"Include dependency graph for graphicSession.c:

Go to the source code of this file.
Functions | |
| int | openGraphicSession (void) |
| int | closeGraphicSession (void) |
| BOOL | isGraphicSessionOpened (void) |
Variables | |
| static BOOL | isSessionOpened = FALSE |
| int closeGraphicSession | ( | void | ) |
Specify that the graphic session is not used any longer.
Definition at line 29 of file graphicSession.c.
References FALSE, and isSessionOpened.
Referenced by sci_xend(), and scig_toPs().
00030 { 00031 if ( isSessionOpened ) 00032 { 00033 isSessionOpened = FALSE ; 00034 return 0 ; 00035 } 00036 else 00037 { 00038 return 1 ; 00039 } 00040 return -1 ; 00041 }
Here is the caller graph for this function:

| BOOL isGraphicSessionOpened | ( | void | ) |
Use to know if a graphic is opened.
Definition at line 43 of file graphicSession.c.
References isSessionOpened.
Referenced by sciDrawObj(), and scig_toPs().
00044 { 00045 return isSessionOpened ; 00046 }
Here is the caller graph for this function:

| int openGraphicSession | ( | void | ) |
Specify that a graphic session has been opened.
Definition at line 15 of file graphicSession.c.
References isSessionOpened, and TRUE.
Referenced by sci_xinit(), and scig_toPs().
00016 { 00017 if ( !isSessionOpened ) 00018 { 00019 isSessionOpened = TRUE ; 00020 return 0 ; 00021 } 00022 else 00023 { 00024 return 1 ; 00025 } 00026 return -1 ; 00027 }
Here is the caller graph for this function:

BOOL isSessionOpened = FALSE [static] |
Definition at line 12 of file graphicSession.c.
Referenced by closeGraphicSession(), isGraphicSessionOpened(), and openGraphicSession().
1.5.1