appletpopup.h File Reference

#include <appletdefs.h>

Include dependency graph for appletpopup.h:

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

Go to the source code of this file.

Data Structures

struct  typopuprecord


#define appletpopupinclude
#define popuparrowwidth   16
#define popupdrawinset   5


typedef boolean(* popupcallback )(void)
typedef boolean(* popupdrawcontentscallback )(Rect)


boolean initpopuprecord (typopuprecord *)
boolean pushpopupitem (typopuprecord *, bigstring bs, boolean)
void drawpopup (typopuprecord *)
boolean popupclick (typopuprecord *)
boolean adjustpopupcursor (typopuprecord *)
void idealpopupsize (typopuprecord *, short *, short *)

Define Documentation

#define appletpopupinclude

Definition at line 8 of file appletpopup.h.

#define popuparrowwidth   16

Definition at line 18 of file appletpopup.h.

#define popupdrawinset   5

Definition at line 20 of file appletpopup.h.

Typedef Documentation

typedef boolean(* popupcallback)(void)

Definition at line 23 of file appletpopup.h.

typedef boolean(* popupdrawcontentscallback)(Rect)

Definition at line 25 of file appletpopup.h.

Function Documentation

boolean adjustpopupcursor typopuprecord  ) 

Definition at line 379 of file appletpopup.c.

References cursorispopup, tymouserecord::localpt, mousestatus, and setcursortype().

Here is the call graph for this function:

void drawpopup typopuprecord  ) 

Definition at line 148 of file appletpopup.c.

References bigstring, copystring(), tyFontInfo::descent, displaypopupicon(), ellipsize(), emptyrect(), globalfontinfo, nil, plotsmallicon(), popbackcolor(), popstyle(), popuparrowwidth, popupdrawinset, pushbackcolor(), pushstyle(), r, whitecolor, widthsmallicon, and zerorect().

Here is the call graph for this function:

void idealpopupsize typopuprecord ,
short ,

Definition at line 95 of file appletpopup.c.

References tyFontInfo::ascent, bigstring, countmenuitems(), tyFontInfo::descent, getmenuitem(), globalfontinfo, h, i, and pushstyle().

Here is the call graph for this function:

boolean initpopuprecord typopuprecord  ) 

Definition at line 29 of file appletpopup.c.

References clearbytes(), defaultpopupfontnum, defaultpopupfontsize, defaultpopupfontstyle, and longsizeof.

Here is the call graph for this function:

boolean popupclick typopuprecord  ) 

Definition at line 276 of file appletpopup.c.

References arrowtracker(), cursorisarrow, geneva, HiWord, tymouserecord::localpt, LoWord, mousestatus, popstyle(), pt, pushstyle(), setcursortype(), trackericonnum, and uncheckallmenuitems().

Here is the call graph for this function:

boolean pushpopupitem typopuprecord ,
bigstring  bs,

Definition at line 49 of file appletpopup.c.

References bigstring, chspace, equalstrings(), isemptystring, and setstringwithchar.

Here is the call graph for this function:

Generated on Wed May 31 21:40:23 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6