appletdialogs.h File Reference

#include "appletdefs.h"

Include dependency graph for appletdialogs.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define appletdialogsinclude

Functions

DialogPtr newmodaldialog (short, short)
void boldenbutton (DialogPtr, short)
short runmodaldialog (void)
void parsedialogstring (bigstring)
void setdialogtext (DialogPtr, short, bigstring)
void getdialogtext (DialogPtr, short, bigstring)
void selectdialogtext (DialogPtr, short)
void disabledialogitem (DialogPtr, short)
void enabledialogitem (DialogPtr, short)
void dialoggetobjectrect (DialogPtr, short, Rect *)
boolean alertdialog (bigstring)
boolean confirmdialog (bigstring)
boolean askdialog (bigstring, bigstring)
boolean yesnodialog (bigstring)
short threewaydialog (bigstring, bigstring, bigstring, bigstring)
short savedialog (bigstring)
boolean oserror (OSErr)

Variables

boolean fldialogsenabled
bigstring bsalertstring


Define Documentation

#define appletdialogsinclude
 

Definition at line 7 of file appletdialogs.h.


Function Documentation

boolean alertdialog bigstring   ) 
 

Definition at line 1822 of file dialogs.c.

References alertdialogid, alertmsgitem, alertokitem, bsalertstring, copystring(), DebugStr(), disposemodaldialog(), fldialogsenabled, newmodaldialog(), nil, optionkeydown(), parsedialogstring(), runmodaldialog(), setdialogtext(), and sysbeep.

Here is the call graph for this function:

boolean askdialog bigstring  ,
bigstring 
 

Definition at line 1530 of file dialogs.c.

References askansweritem, askcancelitem, askdialogid, askokitem, disposemodaldialog(), emptystring, getdialogtext(), newmodaldialog(), nil, runmodaldialog(), selectdialogtext(), and setdialogtext().

Here is the call graph for this function:

void boldenbutton DialogPtr  ,
short 
 

Definition at line 91 of file dialogs.c.

References insetrect(), popmacport(), popport(), pushmacport(), and pushport().

Here is the call graph for this function:

boolean confirmdialog bigstring   ) 
 

Definition at line 175 of file appletcard.c.

References confirmdialogid, confirmmsgitem, confirmokitem, newmodaldialog(), nil, parsedialogstring(), runmodaldialog(), and setdialogtext().

Here is the call graph for this function:

void dialoggetobjectrect DialogPtr  ,
short  ,
Rect
 

Definition at line 688 of file dialogs.c.

void disabledialogitem DialogPtr  ,
short 
 

Definition at line 173 of file dialogs.c.

References dialogitemtypeiscontrol(), and grayrect().

Here is the call graph for this function:

void enabledialogitem DialogPtr  ,
short 
 

Definition at line 195 of file dialogs.c.

References dialogitemtypeiscontrol().

Here is the call graph for this function:

void getdialogtext DialogPtr  ,
short  ,
bigstring 
 

Definition at line 503 of file dialogs.c.

DialogPtr newmodaldialog short  ,
short 
 

Definition at line 323 of file dialogs.c.

References arrowcursor(), boldenbutton(), bounds, centerwindow(), cometofront(), DebugStr(), dialoghasedititems(), nil, positiondialogwindow(), quickdrawglobal, RestoreA5, setdefaultitem(), SetUpCurA5, shellactivate(), shellwritescrap(), and textscraptype.

Here is the call graph for this function:

boolean oserror OSErr   ) 
 

Definition at line 396 of file error.c.

References alertdialog(), bigstring, copystring(), getsystemerrorstring(), isemptystring, lasterror, nil, noErr, parseparamstring(), pushint(), setparseparams(), shellerrormessage(), and STR_Mac_OS_Error.

Here is the call graph for this function:

void parsedialogstring bigstring   ) 
 

Definition at line 101 of file appletdialogs.c.

References i, and stringlength.

short runmodaldialog void   ) 
 

Definition at line 481 of file appletdialogs.c.

References modaldialogcallbackUPP.

short savedialog bigstring   ) 
 

Definition at line 1341 of file dialogs.c.

References bigstring, copystring(), disposemodaldialog(), newmodaldialog(), nil, pushstring(), runmodaldialog(), savecancelitem, savedialogid, savemsgitem, savenoitem, saveyesitem, and setdialogtext().

Here is the call graph for this function:

void selectdialogtext DialogPtr  ,
short 
 

Definition at line 593 of file dialogs.c.

References infinity, noErr, and selection.

void setdialogtext DialogPtr  ,
short  ,
bigstring 
 

Definition at line 553 of file dialogs.c.

References dialogscanspecialchars(), dialogselectall(), noErr, and X0_p2cstrcpy().

Here is the call graph for this function:

short threewaydialog bigstring  ,
bigstring  ,
bigstring  ,
bigstring 
 

Definition at line 1615 of file dialogs.c.

References dialogsetbuttonstring(), disposemodaldialog(), leftbuttonitem, messageitem, midbuttonitem, newmodaldialog(), nil, parsedialogstring(), rightbuttonitem, runmodaldialog(), setdialogtext(), threewaycancelitem, threewaydialogid, threewaymsgitem, threewaynoitem, and threewayyesitem.

Here is the call graph for this function:

boolean yesnodialog bigstring   ) 
 

Definition at line 181 of file appletcard.c.

References dialogsetbuttonstring(), newmodaldialog(), nil, parsedialogstring(), runmodaldialog(), setdialogtext(), yesnocancelitem, yesnodialogid, yesnomsgitem, and yesnookitem.

Here is the call graph for this function:


Variable Documentation

bigstring bsalertstring
 

Definition at line 38 of file appletcard.c.

boolean fldialogsenabled
 

Definition at line 37 of file appletcard.c.


Generated on Wed May 31 20:35:15 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6