21#import "OFKernelEventObserver.h"
27OF_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;
56 uintptr_t _cursorVisible;
63@property (readonly, nonatomic)
bool hasTerminal;
69@property (readonly, nonatomic)
int columns;
75@property (readonly, nonatomic)
int rows;
81@property (readonly, nonatomic)
int colors;
127@property (nonatomic, getter=isBold)
bool bold;
135@property (nonatomic, getter=isItalic)
bool italic;
143@property (nonatomic, getter=isUnderlined)
bool underlined;
151@property (nonatomic, getter=isBlinking)
bool blinking;
159@property (nonatomic, getter=isCursorVisible)
bool cursorVisible;
161#if defined(OF_WII) || defined(OF_NINTENDO_DS) || defined(OF_NINTENDO_3DS) || \
172- (instancetype)init OF_UNAVAILABLE;
198- (void)setCursorColumn: (
unsigned int)column;
206- (void)setCursorPosition: (
OFPoint)position;
214- (void)setRelativeCursorPosition: (
OFPoint)position;
221- (void)setProgressIndicator: (
float)progress;
226- (void)removeProgressIndicator;
void OFLog(OFConstantString *format,...)
Logs the specified printf-style format to OFStdErr.
Definition OFStdIOStream.m:118
OFStdIOStream * OFStdIn
The standard input as an OFStream.
Definition OFStdIOStream.m:104
OFStdIOStream * OFStdOut
The standard output as an OFStream.
Definition OFStdIOStream.m:105
void OFLogV(OFConstantString *format, va_list arguments)
Logs the specified printf-style format to OFStdErr.
Definition OFStdIOStream.m:128
OFStdIOStream * OFStdErr
The standard error as an OFStream.
Definition OFStdIOStream.m:106
A class for storing a color.
Definition OFColor.h:31
A class for storing constant strings using the @"" literal.
Definition OFConstantString.h:42
A class for providing standard input, output and error as OFStream.
Definition OFStdIOStream.h:42
OFColor * foregroundColor
The current foreground color on the underlying terminal.
Definition OFStdIOStream.h:100
OFColor * backgroundColor
The current background color on the underlying terminal.
Definition OFStdIOStream.h:119
A base class for different types of streams.
Definition OFStream.h:280
This protocol is implemented by classes which can be observed for readiness for reading by OFKernelEv...
Definition OFKernelEventObserver.h:84
This protocol is implemented by classes which can be observed for readiness for writing by OFKernelEv...
Definition OFKernelEventObserver.h:98
A point in 2D space.
Definition OFObject.h:251