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.

Screenshot.h 564B

1234567891011121314151617181920212223
  1. //
  2. // Screenshot.h
  3. // CaseLights
  4. //
  5. // Created by Thomas Buck on 27.12.15.
  6. // Copyright © 2015 xythobuz. All rights reserved.
  7. //
  8. #import <Foundation/Foundation.h>
  9. @interface Screenshot : NSThread
  10. // Register and de-register the callback for configuration changes
  11. + (void)init:(AppDelegate *)appDelegate;
  12. + (void)close:(AppDelegate *)appDelegate;
  13. // List available displays. Returns an array of numbers.
  14. + (NSArray *)listDisplays;
  15. + (NSString *)displayNameFromDisplayID:(NSNumber *)displayID;
  16. + (NSBitmapImageRep *)screenshot:(NSNumber *)displayID;
  17. @end