comparison src/scrollbar.h @ 272:c5d627a313b1 r21-0b34

Import from CVS: tag r21-0b34
author cvs
date Mon, 13 Aug 2007 10:28:48 +0200
parents 376386a54a3c
children 74fd4e045ea6
comparison
equal deleted inserted replaced
271:c7b7086b0a39 272:c5d627a313b1
45 void *scrollbar_data; 45 void *scrollbar_data;
46 }; 46 };
47 47
48 #define SCROLLBAR_INSTANCE_FRAME(inst) (inst->mirror->frame) 48 #define SCROLLBAR_INSTANCE_FRAME(inst) (inst->mirror->frame)
49 49
50 extern void init_frame_scrollbars (struct frame *f); 50 void init_frame_scrollbars (struct frame *f);
51 extern void init_device_scrollbars (struct device *d); 51 void init_device_scrollbars (struct device *d);
52 extern void init_global_scrollbars (struct device *d); 52 void init_global_scrollbars (struct device *d);
53 extern void free_frame_scrollbars (struct frame *f); 53 void free_frame_scrollbars (struct frame *f);
54 extern void release_window_mirror_scrollbars (struct window_mirror *mir); 54 void release_window_mirror_scrollbars (struct window_mirror *mir);
55 extern void update_window_scrollbars (struct window *w, 55 void update_window_scrollbars (struct window *w,
56 struct window_mirror *mirror, 56 struct window_mirror *mirror,
57 int active, int horiz_only); 57 int active, int horiz_only);
58 #ifdef MEMORY_USAGE_STATS 58 #ifdef MEMORY_USAGE_STATS
59 extern int compute_scrollbar_instance_usage (struct device *d, 59 int compute_scrollbar_instance_usage (struct device *d,
60 struct scrollbar_instance *inst, 60 struct scrollbar_instance *inst,
61 struct overhead_stats *ovstats); 61 struct overhead_stats *ovstats);
62 #endif 62 #endif
63 63
64 extern Lisp_Object Vscrollbar_width, Vscrollbar_height; 64 extern Lisp_Object Vscrollbar_width, Vscrollbar_height;
65 65
66 extern Lisp_Object Qscrollbar_line_up; 66 extern Lisp_Object Qscrollbar_line_up;