GraphWindows.c File Reference

#include "GraphWindows.h"
#include "win_mem_alloc.h"

Include dependency graph for GraphWindows.c:

Go to the source code of this file.

Functions

LPGW GetGraphWinScilab (void)
GW InitGWStruct (void)

Variables

GW graphwin


Function Documentation

LPGW GetGraphWinScilab ( void   ) 

Definition at line 10 of file GraphWindows.c.

References graphwin.

00011 {
00012         return &graphwin;
00013 }

GW InitGWStruct ( void   ) 

Definition at line 15 of file GraphWindows.c.

References tagGW::ButtonHeight, FALSE, tagGW::graphtotop, tagGW::hInstance, tagGW::hPopMenu, tagGW::hPrevInstance, tagGW::locked, tagGW::lpr, tagGW::lptw, NULL, tagGW::Origin, tagGW::resized, tagGW::Size, tagGW::szMenuName, tagGW::Title, tagGW::xmax, and tagGW::ymax.

Referenced by Console_Main(), InitWindowGraphDll(), and Windows_Main().

00016 {
00017         GW GWStruct;
00018 
00019         GWStruct.lpr=NULL;
00020         GWStruct.hInstance=NULL;
00021         GWStruct.hPrevInstance=NULL;
00022         GWStruct.Title=NULL;
00023         GWStruct.xmax=0;
00024         GWStruct.ymax=0;
00025         GWStruct.lptw=NULL;
00026 
00027         GWStruct.Origin.x=0;
00028         GWStruct.Origin.y=0;
00029 
00030         GWStruct.Size.x=0;
00031         GWStruct.Size.y=0;
00032 
00033         GWStruct.hPopMenu=NULL;
00034         GWStruct.resized=FALSE;
00035         GWStruct.graphtotop=FALSE;
00036         GWStruct.locked=FALSE;
00037         GWStruct.ButtonHeight=0;
00038         GWStruct.szMenuName=NULL;
00039         
00040         return GWStruct;
00041 }

Here is the caller graph for this function:


Variable Documentation

GW graphwin

We need to provide a hdc for each graphic operation but hdc can be changed to be set to a window a printer a metafile etc... Thus hdc is kept as a global variable which will be set to what we need : see Xcall.c

Definition at line 8 of file GraphWindows.c.


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