gui_frame.h 956 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. /*
  2. * gui_frame.h - GUI, frame window
  3. *
  4. * Written 2009, 2010, 2012, 2015 by Werner Almesberger
  5. * Copyright 2009, 2010, 2012, 2015 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_H
  13. #define GUI_FRAME_H
  14. #include <gtk/gtk.h>
  15. #include "obj.h"
  16. enum sidebar {
  17. sidebar_var, /* show variables */
  18. sidebar_code, /* show code */
  19. sidebar_pkg, /* show packages */
  20. sidebar_last = sidebar_pkg
  21. };
  22. extern enum sidebar sidebar;
  23. void reselect_var(struct var *var);
  24. void make_popups(void);
  25. void select_frame(struct frame *frame);
  26. void gui_frame_select_inst(struct inst *inst);
  27. void gui_frame_deselect_inst(struct inst *inst);
  28. void build_frames(GtkWidget *vbox, int warp_width);
  29. #endif /* !GUI_FRAME_H */