appletwindowmenu.c File Reference

#include "appletinternal.h"
#include "appletmain.h"
#include "appletmenu.h"
#include "appletmenuops.h"
#include "appletwindowmenu.h"

Include dependency graph for appletwindowmenu.c:

Go to the source code of this file.

Typedefs

typedef boolean(* tyvisitroutine )(WindowPtr)

Functions

static boolean visitmacwindows (tyvisitroutine visitproc)
static boolean countvisit (WindowPtr w)
static short countmacwindows (void)
static boolean fillwindowarrayvisit (WindowPtr w)
void adjustwindowmenu (void)
void selectwindowmenu (short iditem)
void initwindowmenu (void)

Variables

MenuHandle hdlwindowmenu
static WindowPtr ** windowarray = nil
static short ixwindowarray
static short firstwindowmenuslot = 1


Typedef Documentation

typedef boolean(* tyvisitroutine)(WindowPtr)
 

Definition at line 24 of file appletwindowmenu.c.


Function Documentation

void adjustwindowmenu void   ) 
 

Definition at line 69 of file appletwindowmenu.c.

References alllower(), bigstring, copystring(), countmacwindows(), countmenuitems(), deletemenuitem(), disposehandle(), fillwindowarrayvisit(), firstwindowmenuslot, hdlwindowmenu, i, ixwindowarray, longsizeof, newclearhandle(), nil, stringlessthan(), visitmacwindows(), and windowarray.

Referenced by adjustmenus().

Here is the call graph for this function:

static short countmacwindows void   )  [static]
 

Definition at line 51 of file appletwindowmenu.c.

References countvisit(), ixwindowarray, and visitmacwindows().

Referenced by adjustwindowmenu().

Here is the call graph for this function:

static boolean countvisit WindowPtr  w  )  [static]
 

Definition at line 43 of file appletwindowmenu.c.

References ixwindowarray.

Referenced by countmacwindows().

static boolean fillwindowarrayvisit WindowPtr  w  )  [static]
 

Definition at line 61 of file appletwindowmenu.c.

References ixwindowarray.

Referenced by adjustwindowmenu().

void initwindowmenu void   ) 
 

Definition at line 171 of file appletwindowmenu.c.

References app, countmenuitems(), firstwindowmenuslot, tyappletrecord::haswindowmenu, hdlwindowmenu, installmenu(), and windowmenu.

Referenced by initmenus().

Here is the call graph for this function:

void selectwindowmenu short  iditem  ) 
 

Definition at line 164 of file appletwindowmenu.c.

References firstwindowmenuslot, nil, and windowarray.

Referenced by handlemenu().

static boolean visitmacwindows tyvisitroutine  visitproc  )  [static]
 

Definition at line 27 of file appletwindowmenu.c.

References nil.

Referenced by adjustwindowmenu(), and countmacwindows().


Variable Documentation

short firstwindowmenuslot = 1 [static]
 

Definition at line 20 of file appletwindowmenu.c.

Referenced by adjustwindowmenu(), initwindowmenu(), and selectwindowmenu().

MenuHandle hdlwindowmenu
 

Definition at line 14 of file appletwindowmenu.c.

Referenced by adjustwindowmenu(), and initwindowmenu().

short ixwindowarray [static]
 

Definition at line 18 of file appletwindowmenu.c.

Referenced by adjustwindowmenu(), countmacwindows(), countvisit(), and fillwindowarrayvisit().

WindowPtr** windowarray = nil [static]
 

Definition at line 16 of file appletwindowmenu.c.

Referenced by adjustwindowmenu(), and selectwindowmenu().


Generated on Wed May 31 21:45:00 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6