Files
bsnes/hiro/cocoa/widget/hex-edit.hpp
byuu 903d1e4012 v107.8
* GB: integrated SameBoy v0.12.1 by Lior Halphon
* SFC: added HG51B169 (Cx4) math tables into bsnes binary
2019-07-17 21:11:46 +09:00

32 lines
632 B
C++
Executable File

#if defined(Hiro_HexEdit)
@interface CocoaHexEdit : NSScrollView {
@public
phoenix::HexEdit* hexEdit;
}
-(id) initWith:(phoenix::HexEdit&)hexEdit;
@end
namespace hiro {
struct pHexEdit : public pWidget {
HexEdit& hexEdit;
CocoaHexEdit* cocoaHexEdit = nullptr;
void setBackgroundColor(Color color);
void setColumns(unsigned columns);
void setForegroundColor(Color color);
void setLength(unsigned length);
void setOffset(unsigned offset);
void setRows(unsigned rows);
void update();
pHexEdit(HexEdit& hexEdit) : pWidget(hexEdit), hexEdit(hexEdit) {}
void constructor();
void destructor();
};
}
#endif