mirror of https://github.com/bsnes-emu/bsnes.git
27 lines
563 B
C++
Executable File
27 lines
563 B
C++
Executable File
#if defined(Hiro_VerticalSlider)
|
|
|
|
@interface CocoaVerticalSlider : NSSlider {
|
|
@public
|
|
hiro::mVerticalSlider* verticalSlider;
|
|
}
|
|
-(id) initWith:(hiro::mVerticalSlider&)verticalSlider;
|
|
-(IBAction) activate:(id)sender;
|
|
@end
|
|
|
|
namespace hiro {
|
|
|
|
struct pVerticalSlider : pWidget {
|
|
Declare(VerticalSlider, Widget)
|
|
|
|
auto minimumSize() const -> Size override;
|
|
auto setGeometry(Geometry geometry) -> void override;
|
|
auto setLength(uint length) -> void;
|
|
auto setPosition(uint position) -> void;
|
|
|
|
CocoaVerticalSlider* cocoaVerticalSlider = nullptr;
|
|
};
|
|
|
|
}
|
|
|
|
#endif
|