scrollbar.c File Reference

#include "frontier.h"
#include "standard.h"
#include "frontierconfig.h"
#include "memory.h"
#include "shell.rsrc.h"
#include "scrollbar.h"
#include "quickdraw.h"
#include "threads.h"

Include dependency graph for scrollbar.c:

Go to the source code of this file.

Functions

static boolean scrollbarpushclip (hdlscrollbar hscrollbar)
void validscrollbar (hdlscrollbar hscrollbar)
boolean pointinscrollbar (Point pt, hdlscrollbar hscrollbar)
void enablescrollbar (hdlscrollbar hscrollbar)
void disablescrollbar (hdlscrollbar hscrollbar)
void getscrollbarinfo (hdlscrollbar hscrollbar, tyscrollinfo *scrollinfo)
long getscrollbarcurrent (hdlscrollbar hscrollbar)
void showscrollbar (hdlscrollbar hscrollbar)
void hidescrollbar (hdlscrollbar hscrollbar)
void drawscrollbar (hdlscrollbar hscrollbar)
void displayscrollbar (hdlscrollbar hscrollbar)
void setscrollbarinfo (hdlscrollbar hscrollbar, const tyscrollinfo *scrollinfo)
void setscrollbarcurrent (hdlscrollbar hscrollbar, long current)
short getscrollbarwidth (void)
boolean newscrollbar (WindowPtr w, boolean flvert, hdlscrollbar *hscrollbar)
void disposescrollbar (hdlscrollbar hscrollbar)
void setscrollbarrect (hdlscrollbar hscrollbar, Rect r)
void scrollbarflushright (Rect r, hdlscrollbar hscrollbar)
void scrollbarflushbottom (Rect r, hdlscrollbar hscrollbar)
boolean initscrollbars (void)

Variables

static boolean flmacproportionalthumbs = false


Function Documentation

void disablescrollbar hdlscrollbar  hscrollbar  ) 
 

Definition at line 152 of file scrollbar.c.

void displayscrollbar hdlscrollbar  hscrollbar  ) 
 

Definition at line 334 of file scrollbar.c.

void disposescrollbar hdlscrollbar  hscrollbar  ) 
 

Definition at line 517 of file scrollbar.c.

void drawscrollbar hdlscrollbar  hscrollbar  ) 
 

Definition at line 300 of file scrollbar.c.

void enablescrollbar hdlscrollbar  hscrollbar  ) 
 

Definition at line 132 of file scrollbar.c.

long getscrollbarcurrent hdlscrollbar  hscrollbar  ) 
 

Definition at line 220 of file scrollbar.c.

void getscrollbarinfo hdlscrollbar  hscrollbar,
tyscrollinfo scrollinfo
 

Definition at line 181 of file scrollbar.c.

References clearbytes(), h, and nil.

Here is the call graph for this function:

short getscrollbarwidth void   ) 
 

Definition at line 460 of file scrollbar.c.

void hidescrollbar hdlscrollbar  hscrollbar  ) 
 

Definition at line 254 of file scrollbar.c.

boolean initscrollbars void   ) 
 

Definition at line 687 of file scrollbar.c.

References flmacproportionalthumbs, and noErr.

Referenced by shellinit().

boolean newscrollbar WindowPtr  w,
boolean  flvert,
hdlscrollbar hscrollbar
 

Definition at line 474 of file scrollbar.c.

boolean pointinscrollbar Point  pt,
hdlscrollbar  hscrollbar
 

Definition at line 108 of file scrollbar.c.

void scrollbarflushbottom Rect  r,
hdlscrollbar  hscrollbar
 

Definition at line 589 of file scrollbar.c.

void scrollbarflushright Rect  r,
hdlscrollbar  hscrollbar
 

Definition at line 570 of file scrollbar.c.

static boolean scrollbarpushclip hdlscrollbar  hscrollbar  )  [static]
 

Definition at line 48 of file scrollbar.c.

References r, and superpushclip().

Referenced by appdefaultscroll(), disablescrollbar(), drawscrollbar(), enablescrollbar(), handlescrollbar(), hidescrollbar(), setscrollbarcurrent(), and showscrollbar().

Here is the call graph for this function:

void setscrollbarcurrent hdlscrollbar  hscrollbar,
long  current
 

Definition at line 431 of file scrollbar.c.

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

Here is the call graph for this function:

void setscrollbarinfo hdlscrollbar  hscrollbar,
const tyscrollinfo scrollinfo
 

Definition at line 363 of file scrollbar.c.

References tyscrollinfo::cur, displayscrollbar(), flmacproportionalthumbs, getscrollbarinfo(), grabthreadglobals(), h, infinity, tyscrollinfo::max, min, tyscrollinfo::min, nil, pushemptyclip(), releasethreadglobals(), and TRUE.

Here is the call graph for this function:

void setscrollbarrect hdlscrollbar  hscrollbar,
Rect  r
 

Definition at line 554 of file scrollbar.c.

void showscrollbar hdlscrollbar  hscrollbar  ) 
 

Definition at line 230 of file scrollbar.c.

void validscrollbar hdlscrollbar  hscrollbar  ) 
 

Definition at line 81 of file scrollbar.c.


Variable Documentation

boolean flmacproportionalthumbs = false [static]
 

Definition at line 46 of file scrollbar.c.

Referenced by initscrollbars(), and setscrollbarinfo().


Generated on Sat Jun 10 06:13:50 2006 for frontierkernel 10.1.10a by  doxygen 1.4.6