pict.c File Reference

#include "frontier.h"
#include "standard.h"
#include "bitmaps.h"
#include "file.h"
#include "quickdraw.h"
#include "memory.h"
#include "mouse.h"
#include "ops.h"
#include "resources.h"
#include "scrollbar.h"
#include "strings.h"
#include "frontierwindows.h"
#include "zoom.h"
#include "shell.h"
#include "process.h"
#include "pict.h"
#include "timedate.h"
#include "byteorder.h"

Include dependency graph for pict.c:

Go to the source code of this file.

Data Structures

struct  tydiskpictrecord
struct  tyOLD42diskpictrecord

Defines

#define pictstartrealdata   512L

Typedefs

typedef tydiskpictrecordptrdiskpictrecord
typedef tydiskpictrecord ** hdldiskpictrecord
typedef tyOLD42diskpictrecordptrOLD42diskpictrecord
typedef tyOLD42diskpictrecord ** hdlOLD42diskpictrecord

Functions

boolean pictgetframerect (hdlpictrecord hpict, Rect *rframe)
boolean pictpack (hdlpictrecord hpict, Handle *hpacked)
boolean pictunpack (Handle hpacked, long *ixload, hdlpictrecord *hpict)
boolean pictnewrecord (void)
boolean pictdisposerecord (hdlpictrecord hpict)
void pictresetscrollbars (void)
boolean pictscroll (tydirection dir, boolean flpage, long ctscroll)
static boolean picttextparse (Ptr textbuf, short ctbytes, bigstring bs)
void pictupdatepatcher (void)
void pictdepatcher (void)
void pictupdate (void)
void pictidle (void)
void pictdirty (void)
void pictscheduleupdate (short updateseconds)
void pictsetbitmapupdate (boolean flbitmap)
void pictsetevaluate (boolean flevaluate)
void pictgetnewwindowrect (hdlpictrecord hpict, Rect *rwindow)

Variables

WindowPtr pictwindow = nil
hdlwindowinfo pictwindowinfo = nil
hdlpictrecord pictdata = nil


Define Documentation

#define pictstartrealdata   512L
 

Definition at line 50 of file pict.c.


Typedef Documentation

typedef struct tydiskpictrecord ** hdldiskpictrecord
 

typedef struct tyOLD42diskpictrecord ** hdlOLD42diskpictrecord
 

typedef struct tydiskpictrecord * ptrdiskpictrecord
 

typedef struct tyOLD42diskpictrecord * ptrOLD42diskpictrecord
 


Function Documentation

void pictdepatcher void   ) 
 

Definition at line 735 of file pict.c.

References getport().

Referenced by pictprint(), and pictupdate().

Here is the call graph for this function:

void pictdirty void   ) 
 

Definition at line 831 of file pict.c.

References typictrecord::fldirty, pictdata, and timenow().

Referenced by pictresetpicture(), pictscheduleupdate(), pictsetbitmapupdate(), and pictsetevaluate().

Here is the call graph for this function:

boolean pictdisposerecord hdlpictrecord  hpict  ) 
 

Definition at line 329 of file pict.c.

References disposehandle().

Referenced by pictclose(), pictdisposevariable(), pictverbmemoryunpack(), pictverbnew(), and pictverbpack().

Here is the call graph for this function:

boolean pictgetframerect hdlpictrecord  hpict,
Rect rframe
 

Definition at line 128 of file pict.c.

References nil.

Referenced by pictgetcontentsize(), pictgetnewwindowrect(), pictprint(), pictresetscrollbars(), and pictupdate().

void pictgetnewwindowrect hdlpictrecord  hpict,
Rect rwindow
 

Definition at line 873 of file pict.c.

References centerrectondesktop(), config, getscrollbarwidth(), idpictconfig, pictgetframerect(), and shellgetconfig().

Referenced by pictedit().

Here is the call graph for this function:

void pictidle void   ) 
 

Definition at line 816 of file pict.c.

References pictdata, pictupdate(), and typictrecord::updateticks.

Referenced by pictstart().

Here is the call graph for this function:

boolean pictnewrecord void   ) 
 

Definition at line 308 of file pict.c.

References longsizeof, newclearhandle(), pictdata, typictrecord::timecreated, and timenow().

Referenced by pictverbnew().

Here is the call graph for this function:

boolean pictpack hdlpictrecord  hpict,
Handle hpacked
 

Definition at line 147 of file pict.c.

References clearbytes(), enlargehandle(), gethandlesize(), longsizeof, newfilledhandle(), nil, pushhandle(), and recttodiskrect().

Referenced by pictverbmemorypack(), and pictverbpack().

Here is the call graph for this function:

void pictresetscrollbars void   ) 
 

Definition at line 413 of file pict.c.

References tyscrollinfo::cur, max, tyscrollinfo::max, min, tyscrollinfo::min, tyscrollinfo::pag, pictdata, pictgetframerect(), and pictwindowinfo.

Referenced by pictresetpicture(), and pictstart().

Here is the call graph for this function:

void pictscheduleupdate short  updateseconds  ) 
 

Definition at line 845 of file pict.c.

References pictdirty().

Referenced by pictverbscheduleupdate().

Here is the call graph for this function:

boolean pictscroll tydirection  dir,
boolean  flpage,
long  ctscroll
 

Definition at line 461 of file pict.c.

References down, left, max, min, pictwindow, pictwindowinfo, right, scrollrect(), shellupdatenow(), and up.

Referenced by pictstart().

Here is the call graph for this function:

void pictsetbitmapupdate boolean  flbitmap  ) 
 

Definition at line 853 of file pict.c.

References pictdirty().

Here is the call graph for this function:

void pictsetevaluate boolean  flevaluate  ) 
 

Definition at line 861 of file pict.c.

References pictdirty(), pictwindow, windowinval(), and windowsetchanges().

Referenced by pictverbevaluator().

Here is the call graph for this function:

static boolean picttextparse Ptr  textbuf,
short  ctbytes,
bigstring  bs
[static]
 

Definition at line 559 of file pict.c.

References bigstring, copystring(), deletestring(), getstringlist(), langrunstringnoerror(), moveleft(), picterrorstring, pictstringlist, setstringlength, and stringlength.

Here is the call graph for this function:

boolean pictunpack Handle  hpacked,
long ixload,
hdlpictrecord hpict
 

Definition at line 204 of file pict.c.

References assert, BIGSTRING, diskrecttorect(), disposehandle(), loadfromhandle(), loadfromhandletohandle(), longsizeof, newclearhandle(), recttodiskrect(), and shellerrormessage().

Referenced by pictverbinmemory(), and pictverbmemoryunpack().

Here is the call graph for this function:

void pictupdate void   ) 
 

Definition at line 751 of file pict.c.

References closebitmap(), DrawPicture(), eraserect(), intersectrect(), max, nil, offsetrect(), openbitmap(), pictdata, pictdepatcher(), pictgetframerect(), pictupdatepatcher(), pictwindow, pictwindowinfo, popclip(), pushclip(), and rframe.

Referenced by pictidle(), and pictstart().

Here is the call graph for this function:

void pictupdatepatcher void   ) 
 

Definition at line 677 of file pict.c.

References getport(), iscolorport(), nil, and procs.

Referenced by pictprint(), and pictupdate().

Here is the call graph for this function:


Variable Documentation

hdlpictrecord pictdata = nil
 

Definition at line 117 of file pict.c.

Referenced by pictdirty(), pictidle(), pictnewrecord(), pictresetscrollbars(), pictupdate(), and pictverbnew().

WindowPtr pictwindow = nil
 

Definition at line 113 of file pict.c.

Referenced by pictresetpicture(), pictscroll(), pictsetevaluate(), pictstart(), and pictupdate().

hdlwindowinfo pictwindowinfo = nil
 

Definition at line 115 of file pict.c.

Referenced by pictfunctionvalue(), pictresetpicture(), pictresetscrollbars(), pictscroll(), pictstart(), and pictupdate().


Generated on Fri Jun 9 22:26:05 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6