gui_frame_drag.h 751 B

12345678910111213141516171819202122232425262728293031
  1. /*
  2. * gui_frame_drag.h - GUI, dragging of frame items
  3. *
  4. * Written 2010 by Werner Almesberger
  5. * Copyright 2010 by Werner Almesberger
  6. *
  7. * This program is free software; you can redistribute it and/or modify
  8. * it under the terms of the GNU General Public License as published by
  9. * the Free Software Foundation; either version 2 of the License, or
  10. * (at your option) any later version.
  11. */
  12. #ifndef GUI_FRAME_DRAG_H
  13. #define GUI_FRAME_DRAG_H
  14. #include <gtk/gtk.h>
  15. #include "obj.h"
  16. int is_dragging(void *this);
  17. int is_dragging_anything(void);
  18. void setup_var_drag(struct var *var);
  19. void setup_value_drag(struct value *value);
  20. void setup_frame_drag(struct frame *frame);
  21. void setup_canvas_drag(GtkWidget *canvas);
  22. #endif /* !GUI_FRAME_DRAG_H */