TextWindows.c File Reference

#include "TextWindows.h"
#include "win_mem_alloc.h"

Include dependency graph for TextWindows.c:

Go to the source code of this file.

Functions

LPTW GetTextWinScilab (void)
TW InitTWStruct (void)

Variables

TW textwin


Function Documentation

LPTW GetTextWinScilab ( void   ) 

Definition at line 10 of file TextWindows.c.

References textwin.

00011 {
00012         return &textwin;
00013 }

TW InitTWStruct ( void   ) 

Definition at line 15 of file TextWindows.c.

References tagTW::Attr, tagTW::AttrBuffer, tagTW::bFocus, tagTW::bGetCh, tagTW::bSysColors, tagTW::ButtonHeight, tagTW::CaretHeight, tagTW::CharAscent, tagTW::CharSize, tagTW::ClientSize, tagTW::CursorFlag, tagTW::CursorPos, FALSE, tagTW::fontname, tagTW::fontsize, tagTW::hbrBackground, tagTW::hfont, tagTW::hIcon, tagTW::hInstance, tagTW::hPopMenu, tagTW::hPrevInstance, tagTW::hWndParent, tagTW::hWndText, tagTW::KeyBuf, tagTW::KeyBufIn, tagTW::KeyBufOut, tagTW::KeyBufSize, tagTW::lpmw, tagTW::lpr, tagTW::MarkBegin, tagTW::MarkEnd, tagTW::Marking, tagTW::nCmdShow, NULL, tagTW::Origin, tagTW::ScreenBuffer, tagTW::ScreenSize, tagTW::ScrollMax, tagTW::ScrollPos, tagTW::Size, and tagTW::Title.

Referenced by Console_Main(), and Windows_Main().

00016 {
00017         TW TWStruct;
00018 
00019         TWStruct.lpr=NULL;
00020         TWStruct.hInstance=NULL;
00021         TWStruct.hPrevInstance=NULL;
00022         TWStruct.Title=NULL;
00023         TWStruct.lpmw=NULL;
00024 
00025         TWStruct.ScreenSize.x=0;
00026         TWStruct.ScreenSize.y=0;
00027 
00028         TWStruct.KeyBufSize=0;
00029         TWStruct.nCmdShow=0;
00030         TWStruct.hIcon=NULL;
00031         TWStruct.hPopMenu=NULL;
00032         TWStruct.hWndText=NULL;
00033         TWStruct.hWndParent=NULL;
00034 
00035         TWStruct.Origin.x=0;
00036         TWStruct.Origin.y=0;
00037 
00038         TWStruct.Size.x=0;
00039         TWStruct.Size.y=0;
00040 
00041         TWStruct.ScreenBuffer=NULL;
00042         TWStruct.AttrBuffer=NULL;
00043         TWStruct.KeyBuf=NULL;
00044         TWStruct.KeyBufIn=NULL;
00045         TWStruct.KeyBufOut=NULL;
00046         TWStruct.Attr=0;
00047         TWStruct.bFocus=FALSE;
00048         TWStruct.bGetCh=FALSE;
00049         TWStruct.bSysColors=FALSE;
00050         TWStruct.hbrBackground=NULL;
00051         wsprintf(TWStruct.fontname,"Lucida Console");
00052         TWStruct.fontsize=11;
00053         TWStruct.hfont=NULL;
00054         TWStruct.CharAscent=0;
00055         TWStruct.ButtonHeight=0;
00056         TWStruct.CaretHeight=0;
00057         TWStruct.CursorFlag=0;
00058 
00059         TWStruct.CursorPos.x=0;
00060         TWStruct.CursorPos.y=0;
00061 
00062         TWStruct.ClientSize.x=0;
00063         TWStruct.ClientSize.y=0;
00064 
00065         TWStruct.CharSize.x=0;
00066         TWStruct.CharSize.y=0;
00067 
00068         TWStruct.ScrollPos.x=0;
00069         TWStruct.ScrollPos.y=0;
00070 
00071         TWStruct.ScrollMax.x=0;
00072         TWStruct.ScrollMax.y=0;
00073 
00074         TWStruct.MarkBegin.x=0;
00075         TWStruct.MarkBegin.y=0;
00076 
00077         TWStruct.MarkEnd.x=0;
00078         TWStruct.MarkEnd.y=0;
00079 
00080         TWStruct.Marking=FALSE;
00081 
00082         return TWStruct;
00083 }

Here is the caller graph for this function:


Variable Documentation

TW textwin

keeps information for the current graphic window

Definition at line 8 of file TextWindows.c.


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