13
0
livetrax/libs/surfaces/mackie/mackie_surface.h

32 lines
802 B
C++

#ifndef mackie_surface_mackie_h
#define mackie_surface_mackie_h
/*
Generated by scripts/generate-surface.rb
*/
#include "surface.h"
namespace Mackie
{
class MackieButtonHandler;
class MackieSurface : public Surface
{
public:
MackieSurface (uint32_t max_strips) : Surface (max_strips, 8) {}
virtual void handle_button (MackieButtonHandler & mbh, ButtonState bs, Button & button);
virtual void init_controls();
virtual void init_strips();
virtual bool has_timecode_display() const { return true; }
virtual void display_timecode (SurfacePort &, MackieMidiBuilder &, const std::string & timecode, const std::string & timecode_last);
virtual float scrub_scaling_factor() { return 100.0; }
virtual float scaled_delta (const ControlState & state, float current_speed);
};
}
#endif