bsnes/higan/phoenix/cocoa/widget/hex-edit.cpp

42 lines
671 B
C++
Raw Normal View History

@implementation CocoaHexEdit : NSScrollView
-(id) initWith:(phoenix::HexEdit&)hexEditReference {
if(self = [super initWithFrame:NSMakeRect(0, 0, 0, 0)]) {
hexEdit = &hexEditReference;
}
return self;
}
@end
namespace phoenix {
void pHexEdit::setColumns(unsigned columns) {
}
void pHexEdit::setLength(unsigned length) {
}
void pHexEdit::setOffset(unsigned offset) {
}
void pHexEdit::setRows(unsigned rows) {
}
void pHexEdit::update() {
}
void pHexEdit::constructor() {
@autoreleasepool {
cocoaView = cocoaHexEdit = [[CocoaHexEdit alloc] initWith:hexEdit];
}
}
void pHexEdit::destructor() {
@autoreleasepool {
[cocoaView release];
}
}
}