appletscrollbar.h File Reference

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

Go to the source code of this file.

Functions

void invalscrollbar (hdlscrollbar)
void validscrollbar (hdlscrollbar)
boolean pointinscrollbar (Point, hdlscrollbar)
void activatescrollbar (hdlscrollbar, boolean)
short getscrollbarcurrent (hdlscrollbar)
void showscrollbar (hdlscrollbar)
void hidescrollbar (hdlscrollbar)
void drawscrollbar (hdlscrollbar)
void displayscrollbar (hdlscrollbar)
void setscrollbarminmax (hdlscrollbar, short, short)
void setscrollbarcurrent (hdlscrollbar, short)
short getscrollbarwidth (void)
boolean newscrollbar (WindowPtr, boolean, hdlscrollbar *)
void disposescrollbar (hdlscrollbar)
void getscrollbarrect (hdlscrollbar, Rect *)
void setscrollbarrect (hdlscrollbar, Rect)
void scrollbarflushright (Rect, hdlscrollbar)
void scrollbarflushbottom (Rect, hdlscrollbar)
boolean findscrollbar (Point, WindowPtr, hdlscrollbar *, short *)
boolean scrollbarhit (hdlscrollbar, short, boolean *, boolean *)
void resetappscrollbars (hdlappwindow)
void resizeappscrollbars (hdlappwindow)
void showappscrollbars (hdlappwindow)
void updateappscrollbars (hdlappwindow)
void activateappscrollbars (hdlappwindow, boolean)
tydirection scrolldirection (boolean, boolean)
void handlescrollbar (boolean, hdlscrollbar, short, Point)
boolean scrollappwindow (tydirection, boolean, short)
boolean scrolltoappwindow (void)
void enablescrollbar (hdlscrollbar)
void disablescrollbar (hdlscrollbar)
boolean scrollbarenabled (hdlscrollbar)
void getscrollbarinfo (hdlscrollbar, short *, short *, short *)
void setscrollbarinfo (hdlscrollbar, short, short, short)
void installscroll (void)
boolean appdefaultscroll (tydirection, boolean, short)
boolean appdefaultresetscroll (void)


Function Documentation

void activateappscrollbars hdlappwindow  ,
boolean 
 

Definition at line 569 of file appletscrollbar.c.

References activatescrollbar(), app, tyappletrecord::horizscroll, and tyappletrecord::vertscroll.

Referenced by handleactivate(), and jugglervisit().

Here is the call graph for this function:

void activatescrollbar hdlscrollbar  ,
boolean 
 

Definition at line 119 of file appletscrollbar.c.

References disablescrollbar(), enablescrollbar(), and h.

Referenced by activateappscrollbars().

Here is the call graph for this function:

boolean appdefaultresetscroll void   ) 
 

Definition at line 683 of file appletscrollbar.c.

References app, apppostcallback(), appprecallback(), tyappletrecord::appwindow, disablescrollbar(), enablescrollbar(), tyappletrecord::getcontentsizecallback, getscrollbarinfo(), and setscrollbarinfo().

Referenced by installscroll().

Here is the call graph for this function:

boolean appdefaultscroll tydirection  ,
boolean  ,
short 
 

Definition at line 756 of file appletscrollbar.c.

References app, tyappletrecord::appwindow, ct, down, getfontheight(), getscrollbarinfo(), left, max, min, optionkeydown(), popclip(), r, right, scrollbarenabled(), scrollbarpushclip(), scrolltoappwindow(), and up.

Referenced by installscroll().

Here is the call graph for this function:

void disablescrollbar hdlscrollbar   ) 
 

Definition at line 152 of file scrollbar.c.

References h, nil, popclip(), scrollbarpushclip(), and validscrollbar().

Here is the call graph for this function:

void displayscrollbar hdlscrollbar   ) 
 

Definition at line 334 of file scrollbar.c.

References disablescrollbar(), drawscrollbar(), enablescrollbar(), getscrollbarinfo(), h, tyscrollinfo::max, tyscrollinfo::min, and nil.

Here is the call graph for this function:

void disposescrollbar hdlscrollbar   ) 
 

Definition at line 517 of file scrollbar.c.

References DisposeHandle, h, and nil.

void drawscrollbar hdlscrollbar   ) 
 

Definition at line 300 of file scrollbar.c.

References grabthreadglobals(), h, nil, popclip(), releasethreadglobals(), scrollbarpushclip(), and validscrollbar().

Here is the call graph for this function:

void enablescrollbar hdlscrollbar   ) 
 

Definition at line 132 of file scrollbar.c.

References disablescrollbar(), h, nil, popclip(), scrollbarpushclip(), and validscrollbar().

Here is the call graph for this function:

boolean findscrollbar Point  ,
WindowPtr  ,
hdlscrollbar ,
short
 

Definition at line 416 of file appletscrollbar.c.

References nil, and pt.

short getscrollbarcurrent hdlscrollbar   ) 
 

Definition at line 220 of file scrollbar.c.

References tyscrollinfo::cur, and getscrollbarinfo().

Here is the call graph for this function:

void getscrollbarinfo hdlscrollbar  ,
short ,
short ,
short
 

Definition at line 138 of file appletscrollbar.c.

References h, and nil.

void getscrollbarrect hdlscrollbar  ,
Rect
 

Definition at line 354 of file appletscrollbar.c.

References h, nil, and zerorect().

Here is the call graph for this function:

short getscrollbarwidth void   ) 
 

Definition at line 460 of file scrollbar.c.

References config, and tyconfigrecord::flwindoidscrollbars.

void handlescrollbar boolean  ,
hdlscrollbar  ,
short  ,
Point 
 

Definition at line 644 of file appletscrollbar.c.

References apphorizscrollUPP, appvertscrollUPP, getscrollbarcurrent(), invalscrollbar(), nil, popclip(), pt, scrollbarpushclip(), and scrolltoappwindow().

Referenced by handlecontent().

Here is the call graph for this function:

void hidescrollbar hdlscrollbar   ) 
 

Definition at line 254 of file scrollbar.c.

References FALSE, grabthreadglobals(), h, invalrect(), nil, popclip(), releasethreadglobals(), and scrollbarpushclip().

Here is the call graph for this function:

void installscroll void   ) 
 

Definition at line 938 of file appletscrollbar.c.

References app, appdefaultresetscroll(), appdefaultscroll(), tyappletrecord::horizscroll, nil, tyappletrecord::resetscrollcallback, tyappletrecord::scrollcallback, and tyappletrecord::vertscroll.

Referenced by checknilcallbacks().

Here is the call graph for this function:

void invalscrollbar hdlscrollbar   ) 
 

Definition at line 52 of file appletscrollbar.c.

References h, invalrect(), and nil.

Referenced by adjustaftergrow(), handlescrollbar(), and zoomappwindow().

Here is the call graph for this function:

boolean newscrollbar WindowPtr  ,
boolean  ,
hdlscrollbar
 

Definition at line 474 of file scrollbar.c.

References config, tyconfigrecord::flwindoidscrollbars, h, idhorizbar, idhorizbaroid, idvertbar, idvertbaroid, NewHandle, nil, and NULL.

boolean pointinscrollbar Point  ,
hdlscrollbar 
 

Definition at line 108 of file scrollbar.c.

References h, nil, pointinrect(), and pt.

Here is the call graph for this function:

void resetappscrollbars hdlappwindow   ) 
 

Definition at line 922 of file appletscrollbar.c.

References app, apppostcallback(), appprecallback(), tyappletrecord::appwindow, tyappletrecord::resetscrollcallback, and setappwindow().

Referenced by adjustaftergrow(), moveappwindow(), newappwindow(), prepareandshowwindow(), and resetdirtyscrollbarsvisit().

Here is the call graph for this function:

void resizeappscrollbars hdlappwindow   ) 
 

Definition at line 481 of file appletscrollbar.c.

References app, appsetmessagerect(), getscrollbarwidth(), tyappletrecord::hasmessagearea, tyappletrecord::horizscroll, invalrect(), r, scrollbarflushbottom(), scrollbarflushright(), and tyappletrecord::vertscroll.

Referenced by adjustaftergrow(), moveappwindow(), and newappwindow().

Here is the call graph for this function:

boolean scrollappwindow tydirection  ,
boolean  ,
short 
 

Definition at line 894 of file appletscrollbar.c.

References app, apppostcallback(), appprecallback(), fl, and tyappletrecord::scrollcallback.

Referenced by apphorizscroll(), appvertscroll(), and scrollwindowverb().

Here is the call graph for this function:

boolean scrollbarenabled hdlscrollbar   ) 
 

Definition at line 113 of file appletscrollbar.c.

Referenced by appdefaultscroll().

void scrollbarflushbottom Rect  ,
hdlscrollbar 
 

Definition at line 589 of file scrollbar.c.

References getscrollbarwidth(), h, and nil.

Here is the call graph for this function:

void scrollbarflushright Rect  ,
hdlscrollbar 
 

Definition at line 570 of file scrollbar.c.

References getscrollbarwidth(), h, and nil.

Here is the call graph for this function:

boolean scrollbarhit hdlscrollbar  ,
short  ,
boolean ,
boolean
 

Definition at line 424 of file appletscrollbar.c.

References getscrollbarinfo(), h, and nil.

Here is the call graph for this function:

tydirection scrolldirection boolean  ,
boolean 
 

Definition at line 581 of file appletscrollbar.c.

References down, left, right, and up.

boolean scrolltoappwindow void   ) 
 

Definition at line 908 of file appletscrollbar.c.

References app, apppostcallback(), appprecallback(), fl, and tyappletrecord::scrolltocallback.

Referenced by appdefaultscroll(), and handlescrollbar().

Here is the call graph for this function:

void setscrollbarcurrent hdlscrollbar  ,
short 
 

Definition at line 299 of file appletscrollbar.c.

References h, nil, popclip(), and scrollbarpushclip().

Here is the call graph for this function:

void setscrollbarinfo hdlscrollbar  ,
short  ,
short  ,
short 
 

Definition at line 242 of file appletscrollbar.c.

References displayscrollbar(), getscrollbarinfo(), h, nil, popclip(), and pushemptyclip().

Here is the call graph for this function:

void setscrollbarminmax hdlscrollbar  ,
short  ,
short 
 

Definition at line 282 of file appletscrollbar.c.

References getscrollbarinfo(), h, nil, and setscrollbarinfo().

Here is the call graph for this function:

void setscrollbarrect hdlscrollbar  ,
Rect 
 

Definition at line 554 of file scrollbar.c.

References h, and nil.

void showappscrollbars hdlappwindow   ) 
 

Definition at line 537 of file appletscrollbar.c.

References app, tyappletrecord::horizscroll, showscrollbar(), and tyappletrecord::vertscroll.

Referenced by newappwindow(), and prepareandshowwindow().

Here is the call graph for this function:

void showscrollbar hdlscrollbar   ) 
 

Definition at line 230 of file scrollbar.c.

References grabthreadglobals(), h, nil, popclip(), releasethreadglobals(), scrollbarpushclip(), and TRUE.

Here is the call graph for this function:

void updateappscrollbars hdlappwindow   ) 
 

Definition at line 549 of file appletscrollbar.c.

References app, drawscrollbar(), tyappletrecord::horizscroll, showscrollbar(), and tyappletrecord::vertscroll.

Referenced by updateappwindow().

Here is the call graph for this function:

void validscrollbar hdlscrollbar   ) 
 

Definition at line 81 of file scrollbar.c.

References assert, h, nil, and validrect().

Here is the call graph for this function:


Generated on Wed May 31 21:44:01 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6