mirror of https://github.com/bsnes-emu/bsnes.git
27 lines
664 B
C++
27 lines
664 B
C++
@interface CocoaVerticalSlider : NSSlider {
|
|
@public
|
|
phoenix::VerticalSlider* verticalSlider;
|
|
}
|
|
-(id) initWith:(phoenix::VerticalSlider&)verticalSlider;
|
|
-(IBAction) activate:(id)sender;
|
|
@end
|
|
|
|
namespace phoenix {
|
|
|
|
struct pVerticalSlider : public pWidget {
|
|
VerticalSlider& verticalSlider;
|
|
CocoaVerticalSlider* cocoaVerticalSlider = nullptr;
|
|
|
|
Size minimumSize();
|
|
unsigned position();
|
|
void setGeometry(Geometry geometry);
|
|
void setLength(unsigned length);
|
|
void setPosition(unsigned position);
|
|
|
|
pVerticalSlider(VerticalSlider& verticalSlider) : pWidget(verticalSlider), verticalSlider(verticalSlider) {}
|
|
void constructor();
|
|
void destructor();
|
|
};
|
|
|
|
}
|