Permalink
Browse files

two minor API cleanups

  • Loading branch information...
tias committed Jun 25, 2012
1 parent 095d7c9 commit bfeaf2eaa9e1792bd6169ba723aa0d285a755d16
Showing with 0 additions and 7 deletions.
  1. +0 −7 src/calibrator.hh
View
@@ -92,10 +92,6 @@ struct XYinfo {
XYinfo(const XYinfo& old) :
swap_xy(old.swap_xy), x(old.x), y(old.y) {}
void do_swap_xy() {
swap_xy = !swap_xy;
}
void do_xf86ScaleAxis(const XYinfo& to, const XYinfo& from) {
x.min = xf86ScaleAxis(x.min, to.x.max, to.x.min, from.x.max, from.x.min);
x.max = xf86ScaleAxis(x.max, to.x.max, to.x.min, from.x.max, from.x.min);
@@ -187,9 +183,6 @@ protected:
/// Apply new calibration, implementation dependent
virtual bool finish_data(const XYinfo new_axys) =0;
/// Compute calibration on 1 axis
void process_axys( int screen_dim, const AxisInfo &previous, std::vector<int> &clicked, AxisInfo &updated );
/// Check whether the given name is a sysfs device name
bool is_sysfs_name(const char* name);

0 comments on commit bfeaf2e

Please sign in to comment.