//
//  MCanvasScrollView.h
//  GenericCanvas
//
//  Created by Alfredo Kojima on 05/6/17.
//  Copyright 2005 MySQL AB., 2008 Sun Microsystems, Inc.
//

#import <Cocoa/Cocoa.h>

@class MCanvasViewer;

@interface MCanvasScrollView : NSView
{
  NSScroller *_hScroller;
  NSScroller *_vScroller;
  NSView *_hAccessoryView;
  
  MCanvasViewer *_contentView;
}

- (void)setContentCanvas:(MCanvasViewer*)canvas;

- (NSSize)contentSize;

- (NSScroller*)verticalScroller;
- (NSScroller*)horizontalScroller;

- (void)setHAccessory:(NSView*)view;

- (void)reflectContentRect;

@end
