Debian Codegraph @

phoenix/cocoa/widget/hex-edit.cpp

raw
1 @implementation CocoaHexEdit : NSScrollView
2
3 -(id) initWith:(phoenix::HexEdit&)hexEditReference {
4 if(self = [super initWithFrame:NSMakeRect(0, 0, 0, 0)]) {
5 hexEdit = &hexEditReference;
6 }
7 return self;
8 }
9
10 @end
11
12 namespace phoenix {
13
14 void pHexEdit::setColumns(unsigned columns) {
15 }
16
17 void pHexEdit::setLength(unsigned length) {
18 }
19
20 void pHexEdit::setOffset(unsigned offset) {
21 }
22
23 void pHexEdit::setRows(unsigned rows) {
24 }
25
26 void pHexEdit::update() {
27 }
28
29 void pHexEdit::constructor() {
30 @autoreleasepool {
31 cocoaView = cocoaHexEdit = [[CocoaHexEdit alloc] initWith:hexEdit];
32 }
33 }
34
35 void pHexEdit::destructor() {
36 @autoreleasepool {
37 [cocoaView release];
38 }
39 }
40
41 }