windoidWDEF.c File Reference

#include <Quickdraw.h>
#include <Windows.h>
#include <Fonts.h>
#include <Memory.h>
#include <ToolUtils.h>
#include <Types.h>
#include <OSUtils.h>
#include <Events.h>
#include <StdLib.h>
#include <SANE.h>

Include dependency graph for windoidWDEF.c:

Go to the source code of this file.

Data Structures

struct  tywindrects

Defines

#define kDragHeight   15

Typedefs

typedef tywindrectstyptrwindrects
typedef tywindrects ** tyhdlwindrects
typedef Recttyptrrect

Functions

void drawtitle (WindowPtr w, Rect r)
void filltitlebar (WindowPeek peekptr, short varcode, short flhilited)
void tracestrucrgn (WindowPeek peekptr, Rect r)
void docalc (WindowPeek peekptr)
void dodraw (WindowPeek peekptr, short varcode, long param)
void calcgrow (WindowPtr w, Rect *r)
long dohit (WindowPeek peekptr, short varcode, long param)
void dogrow (short varcode, long param)
void dodrawgrowicon (WindowPeek peekptr, short varcode)
void donew (WindowPeek peekptr)
void dodispose (WindowPeek peekptr)
pascal long winddef (short varcode, WindowPeek peekptr, short message, long param)
pascal long main (short varcode, WindowPeek peekptr, short message, long param)
static short odd (short i)
static void localtoglobalrect (Rect *r)
static void globaltolocalrect (Rect *r)


Define Documentation

#define kDragHeight   15
 

Definition at line 70 of file windoidWDEF.c.

Referenced by docalc(), and dogrow().


Typedef Documentation

typedef struct tywindrects ** tyhdlwindrects
 

typedef Rect* typtrrect
 

Definition at line 81 of file windoidWDEF.c.

typedef struct tywindrects * typtrwindrects
 


Function Documentation

static void calcgrow WindowPtr  w,
Rect r
 

Definition at line 541 of file windoidWDEF.c.

References currentport, and localtoglobalrect().

Referenced by dodrawgrowicon(), and dohit().

Here is the call graph for this function:

static void docalc WindowPeek  peekptr  ) 
 

Definition at line 443 of file windoidWDEF.c.

References HLock, HUnlock, kDragHeight, r, and tracestrucrgn().

Referenced by dodraw(), dohit(), donew(), and main().

Here is the call graph for this function:

static void dodispose WindowPeek  peekptr  ) 
 

Definition at line 688 of file windoidWDEF.c.

Referenced by main().

static void dodraw WindowPeek  peekptr,
short  varcode,
long  param
 

Definition at line 490 of file windoidWDEF.c.

References docalc(), drawtitle(), filltitlebar(), HLock, HUnlock, LoWord, and r.

Referenced by main().

Here is the call graph for this function:

static void dodrawgrowicon WindowPeek  peekptr,
short  varcode
 

Definition at line 634 of file windoidWDEF.c.

References calcgrow(), globaltolocalrect(), and r.

Referenced by main().

Here is the call graph for this function:

static void dogrow short  varcode,
long  param
 

Definition at line 604 of file windoidWDEF.c.

References kDragHeight, and r.

Referenced by main().

static long dohit WindowPeek  peekptr,
short  varcode,
long  param
 

Definition at line 567 of file windoidWDEF.c.

References calcgrow(), docalc(), HiWord, LoWord, pt, and r.

Referenced by main().

Here is the call graph for this function:

static void donew WindowPeek  peekptr  ) 
 

Definition at line 675 of file windoidWDEF.c.

References docalc(), and NewHandle.

Referenced by main().

Here is the call graph for this function:

static void drawtitle WindowPtr  w,
Rect  r
 

Definition at line 261 of file windoidWDEF.c.

References tyFontInfo::ascent, currentport, tyFontInfo::descent, geneva, HLock, and HUnlock.

Referenced by dodraw().

static void filltitlebar WindowPeek  peekptr,
short  varcode,
short  flhilited
 

Definition at line 340 of file windoidWDEF.c.

References HLock, HUnlock, odd, and r.

Referenced by dodraw().

static void globaltolocalrect Rect r  )  [static]
 

Definition at line 228 of file windoidWDEF.c.

References r.

Referenced by dodrawgrowicon().

static void localtoglobalrect Rect r  )  [static]
 

Definition at line 195 of file windoidWDEF.c.

References r.

pascal long main short  varcode,
WindowPeek  peekptr,
short  message,
long  param
 

Definition at line 139 of file windoidWDEF.c.

References docalc(), dodispose(), dodraw(), dodrawgrowicon(), dogrow(), dohit(), and donew().

Here is the call graph for this function:

static short odd short  i  )  [static]
 

Definition at line 188 of file windoidWDEF.c.

static void tracestrucrgn WindowPeek  peekptr,
Rect  r
 

Definition at line 396 of file windoidWDEF.c.

References DisposeRgn, and NewRgn.

Referenced by docalc().

pascal long winddef short  varcode,
WindowPeek  peekptr,
short  message,
long  param
 


Generated on Wed Jun 14 04:24:24 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6