macStatsGraphViewController.h 962 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. /**
  2. * PANDA 3D SOFTWARE
  3. * Copyright (c) Carnegie Mellon University. All rights reserved.
  4. *
  5. * All use of this software is subject to the terms of the revised BSD
  6. * license. You should have received a copy of this license along
  7. * with this source code in a file named "LICENSE."
  8. *
  9. * @file macStatsGraphViewController.h
  10. * @author rdb
  11. * @date 2023-08-28
  12. */
  13. #ifndef MACSTATSGRAPHVIEWCONTROLLER_H
  14. #define MACSTATSGRAPHVIEWCONTROLLER_H
  15. #include "macStatsGraphView.h"
  16. #import <Cocoa/Cocoa.h>
  17. class MacStatsGraph;
  18. @interface MacStatsGraphViewController : NSViewController<NSToolbarDelegate> {
  19. @protected
  20. MacStatsGraph *_graph;
  21. }
  22. - (id)initWithGraph:(MacStatsGraph *)graph;
  23. - (MacStatsGraphView *)graphView;
  24. - (BOOL)backToolbarItemVisible;
  25. - (void)setBackToolbarItemVisible:(BOOL)show;
  26. @end
  27. @interface MacStatsScrollableGraphViewController : MacStatsGraphViewController
  28. - (MacStatsGraphView *)graphView;
  29. - (NSClipView *)clipView;
  30. @end
  31. #endif