picofuse-objc

DRMDisplay.h
Go to the documentation of this file.
1 
5 #pragma once
6 #include <Graphics/NXDisplay.h>
7 #include "NXDeviceManager.h"
8 
23 @interface DRMDisplay : NXDisplay <NXDisplayDevice>
24 
29 + (DRMDisplay *)display;
30 
34 + (DRMDisplay *)displayWithDevice:(NXString *)device;
35 
42 + (DRMDisplay *)displayWithDevice:(NXString *)device rotation:(uint16_t)rotation;
43 
47 - (id)initWithDevice:(NXString *)device;
48 
53 - (id)initWithDevice:(NXString *)device rotation:(uint16_t)rotation;
54 
55 @end
Defines the NXDisplay class, what every display shares, and NXApplication&#39;s methods for attaching one...
Defines NXDeviceManager, which makes the devices a program&#39;s built for, as they&#39;re described in JSON...
DRMDisplay * display()
Returns a display on the first DRM device, /dev/dri/card0, or nil if there&#39;s none, it can&#39;t be used, or it isn&#39;t Linux.
A whole screen on Linux, through a DRM device, such as a Raspberry Pi&#39;s display, with nothing else...
Definition: DRMDisplay.h:23
A string of UTF-8 text.
Definition: NXString.h:53
A display, which the application redraws when it has changed, while it&#39;s attached with -[NXApplicatio...
Definition: NXDisplay.h:56
struct objc_object * id
A pointer to an instance of a class.
Definition: runtime.h:18