2013-03-19 08:48:50 +00:00
|
|
|
@interface CocoaHexEdit : NSScrollView {
|
|
|
|
@public
|
|
|
|
phoenix::HexEdit *hexEdit;
|
|
|
|
}
|
|
|
|
-(id) initWith :(phoenix::HexEdit&)hexEdit;
|
|
|
|
@end
|
|
|
|
|
2013-03-15 13:11:33 +00:00
|
|
|
namespace phoenix {
|
|
|
|
|
|
|
|
struct pHexEdit : public pWidget {
|
|
|
|
HexEdit &hexEdit;
|
2013-03-19 08:48:50 +00:00
|
|
|
CocoaHexEdit *cocoaHexEdit;
|
2013-03-15 13:11:33 +00:00
|
|
|
|
|
|
|
void setColumns(unsigned columns);
|
|
|
|
void setLength(unsigned length);
|
|
|
|
void setOffset(unsigned offset);
|
|
|
|
void setRows(unsigned rows);
|
|
|
|
void update();
|
|
|
|
|
|
|
|
pHexEdit(HexEdit &hexEdit) : pWidget(hexEdit), hexEdit(hexEdit) {}
|
|
|
|
void constructor();
|
2013-03-19 08:48:50 +00:00
|
|
|
void destructor();
|
2013-03-15 13:11:33 +00:00
|
|
|
};
|
|
|
|
|
|
|
|
}
|