shellbuttons.h File Reference

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

Go to the source code of this file.

Defines

#define shellbuttonsinclude
#define maxbuttons   16
#define boldbuttonstyle   bold
#define minbuttonwidth   45
#define pixelsbetweenbuttons   8
#define buttontextinset   3
#define buttonfont   geneva
#define buttonsize   9
#define linepattern   black
#define buttontopinset   5
#define buttonbottominset   6

Functions

void shellgetbuttonrect (short, Rect *)
void shelldrawbutton (short, boolean)
void shelldrawbuttons (void)
void shellbuttonhit (Point)
void shellgetbuttonsrect (hdlwindowinfo, Rect *)
void shellinvalbuttons (void)
boolean shellgetbuttonstring (short, bigstring)
void shellbuttongetoptimalwidth (short *)
void shellbuttonadjustcursor (Point)


Define Documentation

#define boldbuttonstyle   bold
 

Definition at line 34 of file shellbuttons.h.

Referenced by getbuttonwidth().

#define buttonbottominset   6
 

Definition at line 69 of file shellbuttons.h.

Referenced by shellgetbuttonrect().

#define buttonfont   geneva
 

Definition at line 62 of file shellbuttons.h.

Referenced by getbuttonwidth(), and shelldrawbutton().

#define buttonsize   9
 

Definition at line 63 of file shellbuttons.h.

Referenced by getbuttonwidth(), and shelldrawbutton().

#define buttontextinset   3
 

Definition at line 43 of file shellbuttons.h.

#define buttontopinset   5
 

Definition at line 67 of file shellbuttons.h.

Referenced by shellgetbuttonrect().

#define linepattern   black
 

Definition at line 65 of file shellbuttons.h.

#define maxbuttons   16
 

Definition at line 32 of file shellbuttons.h.

#define minbuttonwidth   45
 

Definition at line 36 of file shellbuttons.h.

#define pixelsbetweenbuttons   8
 

Definition at line 38 of file shellbuttons.h.

Referenced by shellbuttongetoptimalwidth(), and shellgetbuttonrect().

#define shellbuttonsinclude
 

Definition at line 28 of file shellbuttons.h.


Function Documentation

void shellbuttonadjustcursor Point   ) 
 

Definition at line 733 of file shellbuttons.c.

References cursorisarrow, and setcursortype().

Referenced by shelladjustcursor().

Here is the call graph for this function:

void shellbuttongetoptimalwidth short  ) 
 

Definition at line 701 of file shellbuttons.c.

References countbuttons(), ct, getbuttonwidth(), pixelsbetweenbuttons, and shellrefreshbuttonstatus().

Referenced by scriptgetoutinesize().

Here is the call graph for this function:

void shellbuttonhit Point   ) 
 

Definition at line 592 of file shellbuttons.c.

References buttonenabled(), tyshellglobals::buttonroutine, buttontracker(), ct, i, mousebuttonnumber, mousetrack(), ouch(), pointinrect(), pt, shellgetbuttonlist(), shellgetbuttonlistcount(), shellgetbuttonrect(), shellglobals, shellrefreshbuttonstatus(), and shellwindowinfo.

Referenced by shellhandlemouse().

Here is the call graph for this function:

void shelldrawbutton short  ,
boolean 
 

Definition at line 403 of file shellbuttons.c.

References bigstring, buttondisplayed(), buttonenabled(), buttonfont, buttonsize, centerbuttonstring(), closebitmap(), copystring(), drawbuttonbackground(), dropshadowrect(), eraseandframerect(), flbuttonbitmap, getbuttonstyle(), h, newtexthandle(), nil, offsetrect(), openbitmap(), opgetliststring(), popbackcolor(), popstyle(), pushbackcolor(), pushstyle(), shellgetbuttonlist(), shellgetbuttonrect(), shellwindow, and shellwindowinfo.

Referenced by buttontracker(), and shelldrawbuttons().

Here is the call graph for this function:

void shelldrawbuttons void   ) 
 

Definition at line 519 of file shellbuttons.c.

References closebitmap(), drawbuttonbackground(), flbuttonbitmap, i, movepento(), nil, opcountlistitems(), openbitmap(), pendrawline(), r, shelldrawbutton(), shellgetbuttonlist(), shellrefreshbuttonstatus(), shellwindow, and shellwindowinfo.

Referenced by scriptinvalbuttonsvisit(), shellactivatewindow(), and shellupdatewindow().

Here is the call graph for this function:

void shellgetbuttonrect short  ,
Rect
 

Definition at line 266 of file shellbuttons.c.

References buttonbottominset, buttondisplayed(), buttontopinset, countbuttons(), countdisplayedbefore(), ct, getbuttonwidth(), max, pixelsbetweenbuttons, r, shellgetbuttonlist(), shellwindowinfo, and zerorect().

Referenced by shellbuttonhit(), and shelldrawbutton().

Here is the call graph for this function:

void shellgetbuttonsrect hdlwindowinfo  ,
Rect
 

Definition at line 646 of file shellbuttons.c.

References r, and shellgetwindowrect().

Referenced by shellresetwindowrects().

Here is the call graph for this function:

boolean shellgetbuttonstring short  ,
bigstring 
 

Definition at line 689 of file shellbuttons.c.

References nil, opgetliststring(), shellgetbuttonlist(), and shellwindowinfo.

Referenced by scriptnewprocess().

Here is the call graph for this function:

void shellinvalbuttons void   ) 
 

Definition at line 666 of file shellbuttons.c.

References tywindowinfo::buttonsenabled, invalwindowrect(), shellrefreshbuttonstatus(), shellwindow, and shellwindowinfo.

Referenced by opverblinkcode(), scriptdirtyhook(), and scriptinvalbuttonsvisit().

Here is the call graph for this function:


Generated on Tue Jun 13 00:43:34 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6