OpenRemote (OpenRemote is an open community in the Home Automation or Domotics space. We promote open standards, open collaboration, and open implementations in the field.
)
Commit by handyw :: r2955 /branches/feature/ORBoss_2_0_Alpha6-colorpicker/iPhone_Console_2_0_0_Alpha2/Classes/ (4 files): (link)
Appended support for picking color while moving in ColorPickerView.
ColorPickerView sends command every specified intervals while finger moving in it. This specified interval is macro variable named MIN_VALID_MOVE_DISTANCE in file ColorPickerView.h and the default value is 2 pixels.
NOTE: 1) ColorPickerView won't send command at the end of moving action, but at end of touching action. 2) Finger can move on ColorPickerView to send color command and Screens can be switched while sliding over ColorPickerView.