21 #import "OFKernelEventObserver.h" 27 OF_ASSUME_NONNULL_BEGIN
42 #if !defined(OF_WINDOWS) && !defined(OF_AMIGAOS) && !defined(OF_WII_U) 46 #if defined(OF_AMIGAOS) 49 #elif !defined(OF_WII_U) 54 OFColor *_Nullable _foregroundColor, *_Nullable _backgroundColor;
55 bool _bold, _italic, _underlined, _blinking;
62 @property (readonly, nonatomic)
bool hasTerminal;
68 @property (readonly, nonatomic)
int columns;
74 @property (readonly, nonatomic)
int rows;
80 @property (readonly, nonatomic)
int colors;
99 @property OF_NULLABLE_PROPERTY (retain, nonatomic)
OFColor *foregroundColor;
118 @property OF_NULLABLE_PROPERTY (retain, nonatomic)
OFColor *backgroundColor;
126 @property (nonatomic, getter=isBold)
bool bold;
134 @property (nonatomic, getter=isItalic)
bool italic;
142 @property (nonatomic, getter=isUnderlined)
bool underlined;
150 @property (nonatomic, getter=isBlinking)
bool blinking;
152 #if defined(OF_WII) || defined(OF_NINTENDO_DS) || defined(OF_NINTENDO_3DS) || \ 160 + (void)setUpConsole;
163 - (instancetype)init OF_UNAVAILABLE;
189 - (void)setCursorColumn: (
unsigned int)column;
197 - (void)setCursorPosition: (
OFPoint)position;
205 - (void)setRelativeCursorPosition: (
OFPoint)position;
250 OF_ASSUME_NONNULL_END
void OFLogV(OFConstantString *format, va_list arguments)
Logs the specified printf-style format to OFStdErr.
Definition: OFStdIOStream.m:125
This protocol is implemented by classes which can be observed for readiness for reading by OFKernelEv...
A class for storing a color.
Definition: OFColor.h:29
A class for storing constant strings using the @"" literal.
Definition: OFConstantString.h:41
OFStdIOStream * OFStdIn
The standard input as an OFStream.
Definition: OFStdIOStream.m:101
OFStdIOStream * OFStdOut
The standard output as an OFStream.
Definition: OFStdIOStream.m:102
A base class for different types of streams.
Definition: OFStream.h:278
OFStdIOStream * OFStdErr
The standard error as an OFStream.
Definition: OFStdIOStream.m:103
A class for providing standard input, output and error as OFStream.
Definition: OFStdIOStream.h:41
This protocol is implemented by classes which can be observed for readiness for writing by OFKernelEv...
void OFLog(OFConstantString *format,...)
Logs the specified printf-style format to OFStdErr.
Definition: OFStdIOStream.m:115
A point in 2D space.
Definition: OFObject.h:161