Piano / inc / view /

piano-callbacks.h

  1. /*
  2. * Copyright (c) 2014 Samsung Electronics Co., Ltd All Rights Reserved
  3. *
  4. * Licensed under the Apache License, Version 2.0 (the License);
  5. * you may not use this file except in compliance with the License.
  6. * You may obtain a copy of the License at
  7. *
  8. * http://www.apache.org/licenses/LICENSE-2.0
  9. *
  10. * Unless required by applicable law or agreed to in writing, software
  11. * distributed under the License is distributed on an "AS IS" BASIS,
  12. * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
  13. * See the License for the specific language governing permissions and
  14. * limitations under the License.
  15. */
  16.  
  17. #ifndef __DEF_PIANO_CALLBACKS_H__
  18. #define __DEF_PIANO_CALLBACKS_H__
  19.  
  20. #include <Evas.h>
  21.  
  22. void piano_note_touch_down_cb(void *data, Evas *e, Evas_Object *button, void *event_info);
  23. void piano_note_touch_up_cb(void *data, Evas *e, Evas_Object *button, void *event_info);
  24. void piano_note_mouse_down_cb(void *data, Evas *e, Evas_Object *button, void *event_info);
  25. void piano_note_mouse_up_cb(void *data, Evas *e, Evas_Object *button, void *event_info);
  26. void piano_note_mouse_out_cb(void *data, Evas *e, Evas_Object *button, void *event_info);
  27. void piano_note_mouse_in_cb(void *data, Evas *e, Evas_Object *button, void *event_info);
  28. void piano_note_mouse_move_cb(void *data, Evas *e, Evas_Object *button, void *event_info);
  29. Eina_Bool piano_note_timer_cb(void *data);
  30.  
  31. #endif /* __DEF_PIANO_CALLBACKS_H__ */