bsnes/phoenix/cocoa/widget/console.hpp

23 lines
408 B
C++

@interface CocoaConsole : NSScrollView {
@public
phoenix::Console* console;
}
-(id) initWith:(phoenix::Console&)console;
@end
namespace phoenix {
struct pConsole : public pWidget {
Console& console;
CocoaConsole* cocoaConsole = nullptr;
void print(string text);
void reset();
pConsole(Console& console) : pWidget(console), console(console) {}
void constructor();
void destructor();
};
}