appmouse.h 979 B

12345678910111213141516171819202122232425
  1. /*************************************************************************
  2. * Copyright (c) 2011 AT&T Intellectual Property
  3. * All rights reserved. This program and the accompanying materials
  4. * are made available under the terms of the Eclipse Public License v1.0
  5. * which accompanies this distribution, and is available at
  6. * https://www.eclipse.org/legal/epl-v10.html
  7. *
  8. * Contributors: Details at https://graphviz.org
  9. *************************************************************************/
  10. #pragma once
  11. #include "smyrnadefs.h"
  12. extern void appmouse_left_click_down(ViewInfo* v,int x,int y);
  13. void appmouse_up(ViewInfo *v, int x, int y);
  14. void appmouse_drag(ViewInfo *v, int x, int y);
  15. extern void appmouse_right_click_down(ViewInfo* v,int x,int y);
  16. extern void appmouse_middle_click_down(ViewInfo* v,int x,int y);
  17. extern void appmouse_move(ViewInfo* v,int x,int y);
  18. extern void appmouse_key_release(ViewInfo* v);
  19. extern void appmouse_key_press(ViewInfo* v,int key);