Simple RGB LED controller for Mac OS X
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

AppDelegate.h 1.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // AppDelegate.h
  3. // CaseLights
  4. //
  5. // Created by Thomas Buck on 21.12.15.
  6. // Copyright © 2015 xythobuz. All rights reserved.
  7. //
  8. #import <Cocoa/Cocoa.h>
  9. #import "EZAudio.h"
  10. #import "SystemInfoKit/SystemInfoKit.h"
  11. @class Serial;
  12. @interface AppDelegate : NSObject <NSApplicationDelegate, EZMicrophoneDelegate>
  13. @property (weak) IBOutlet NSMenu *statusMenu;
  14. @property (weak) IBOutlet NSApplication *application;
  15. @property (weak) IBOutlet NSMenu *menuColors;
  16. @property (weak) IBOutlet NSMenu *menuAnimations;
  17. @property (weak) IBOutlet NSMenu *menuVisualizations;
  18. @property (weak) IBOutlet NSMenuItem *menuItemDisplays;
  19. @property (weak) IBOutlet NSMenu *menuDisplays;
  20. @property (weak) IBOutlet NSMenuItem *menuItemAudio;
  21. @property (weak) IBOutlet NSMenu *menuAudio;
  22. @property (weak) IBOutlet NSMenu *menuPorts;
  23. @property (weak) IBOutlet NSMenuItem *buttonOff;
  24. @property (weak) IBOutlet NSMenuItem *brightnessItem;
  25. @property (weak) IBOutlet NSSlider *brightnessSlider;
  26. @property (weak) IBOutlet NSMenuItem *brightnessLabel;
  27. @property (weak) IBOutlet NSMenuItem *buttonLights;
  28. @property (strong) NSMenuItem *menuItemColor;
  29. - (void)clearDisplayUI;
  30. - (void)updateDisplayUI:(NSArray *)displayIDs;
  31. @end