#import "AqDrawerTableView.h"
#import "DWColor.h"
#import "NSEventExtensions.h"
#import "NSObjectExtensions.h"


@implementation AqDrawerTableView

/* Awake */

    - (void) awakeFromNib; {
        firstColumn = [[self tableColumns] objectAtIndex: 0];
        white 	  = [DWColor whiteColor];
        alternate = [DWColor alternateSelectedControlColor];
        secondary = [DWColor secondarySelectedControlColor];
    }
    

/* Events */

    - (void) mouseDown: (NSEvent*) event; {
        /*if (![controller doMouseDown: event])
            [super mouseDown: event];*/
        
        //NSLog(@"mouseDown(AqDrawerTableView): %@ controller: ", event, controller);
        if (![[AqDrawerController instance] doMouseDown: event])
            [super mouseDown: event];
    }
    
    - (void) mouseUp: (NSEvent*) event; {
        if (![[AqDrawerController instance] doMouseUp: event])
            [super mouseUp: event];
    }
    
    
/* Live Resize */

    /*
    - (void) viewDidEndLiveResize; {
        [super viewDidEndLiveResize];
        [self setNeedsDisplay: YES];
    }
    */

@end