| 1 |
@interface CocoaHexEdit : NSScrollView { |
| 2 |
@public |
| 3 |
phoenix::HexEdit* hexEdit; |
| 4 |
} |
| 5 |
-(id) initWith:(phoenix::HexEdit&)hexEdit; |
| 6 |
@end |
| 7 |
|
| 8 |
namespace phoenix { |
| 9 |
|
| 10 |
struct pHexEdit : public pWidget { |
| 11 |
HexEdit& hexEdit; |
| 12 |
CocoaHexEdit* cocoaHexEdit = nullptr; |
| 13 |
|
| 14 |
void setColumns(unsigned columns); |
| 15 |
void setLength(unsigned length); |
| 16 |
void setOffset(unsigned offset); |
| 17 |
void setRows(unsigned rows); |
| 18 |
void update(); |
| 19 |
|
| 20 |
pHexEdit(HexEdit& hexEdit) : pWidget(hexEdit), hexEdit(hexEdit) {} |
| 21 |
void constructor(); |
| 22 |
void destructor(); |
| 23 |
}; |
| 24 |
|
| 25 |
} |