25 #ifndef __SYNFIG_INPUTDEVICE_H
26 #define __SYNFIG_INPUTDEVICE_H
31 #include <synfig/color.h>
32 #include <synfig/vector.h>
33 #include <synfig/distance.h>
34 #include <synfig/string.h>
95 typedef etl::handle<InputDevice>
Handle;
100 synfig::String state_;
101 synfig::Color outline_color_;
102 synfig::Color fill_color_;
103 synfig::Distance bline_width_;
104 synfig::Real opacity_;
105 synfig::Color::BlendMethod blend_method_;
107 std::vector<AxisUse> axes_;
108 std::vector<DeviceKey> keys_;
110 DeviceSettings* device_settings;
116 const synfig::String&
get_id()
const {
return id_; }
117 const synfig::String&
get_state()
const {
return state_; }
125 const std::vector<AxisUse> &
get_axes()
const {
return axes_; }
126 const std::vector<DeviceKey> &
get_keys()
const {
return keys_; }
136 void set_axes(
const std::vector<AxisUse>& x) { axes_=x; }
137 void set_keys(
const std::vector<DeviceKey>& x) { keys_=x; }