========================================================================== */
@interface EmacsScroller : NSScroller
- {
- struct window *window;
- struct frame *frame;
- NSResponder *prevResponder;
+{
+ struct window *window;
+ struct frame *frame;
+ NSResponder *prevResponder;
- /* offset to the bottom of knob of last mouse down */
- CGFloat last_mouse_offset;
- float min_portion;
- int pixel_length;
- enum scroll_bar_part last_hit_part;
+ /* offset to the bottom of knob of last mouse down */
+ CGFloat last_mouse_offset;
+ float min_portion;
+ int pixel_length;
+ enum scroll_bar_part last_hit_part;
- BOOL condemned;
+ BOOL condemned;
- BOOL horizontal;
+ BOOL horizontal;
- /* optimize against excessive positioning calls generated by emacs */
- int em_position;
- int em_portion;
- int em_whole;
- }
+ /* optimize against excessive positioning calls generated by emacs */
+ int em_position;
+ int em_portion;
+ int em_whole;
+}
- (void) mark;
- (instancetype) initFrame: (NSRect )r window: (Lisp_Object)win;