Flu_Enumerations.H 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. // $Id: Flu_Enumerations.h,v 1.16 2004/04/03 17:35:41 jbryan Exp $
  2. /***************************************************************
  3. * FLU - FLTK Utility Widgets
  4. * Copyright (C) 2002 Ohio Supercomputer Center, Ohio State University
  5. *
  6. * This file and its content is protected by a software license.
  7. * You should have received a copy of this license with this file.
  8. * If not, please contact the Ohio Supercomputer Center immediately:
  9. * Attn: Jason Bryan Re: FLU 1224 Kinnear Rd, Columbus, Ohio 43212
  10. *
  11. ***************************************************************/
  12. #ifndef _FLU_ENUMERATIONS_H
  13. #define _FLU_ENUMERATIONS_H
  14. #include "FLU/flu_export.h"
  15. /* these enums are all global to conform to the fltk standard */
  16. /*! Selection modes for FLU widgets that select stuff.
  17. Used by:
  18. Flu_Tree_Browser
  19. */
  20. enum {
  21. FLU_NO_SELECT,
  22. FLU_SINGLE_SELECT,
  23. FLU_MULTI_SELECT
  24. };
  25. /*! Data insertion modes for FLU widgets that insert stuff.
  26. Used by:
  27. Flu_Tree_Browser
  28. */
  29. enum {
  30. FLU_INSERT_FRONT,
  31. FLU_INSERT_BACK,
  32. FLU_INSERT_SORTED,
  33. FLU_INSERT_SORTED_REVERSE
  34. };
  35. /*! Selection drag modes for FLU widgets that select stuff (used while the mouse is being dragged).
  36. Used by:
  37. Flu_Tree_Browser
  38. */
  39. enum {
  40. FLU_DRAG_IGNORE,
  41. FLU_DRAG_TO_SELECT,
  42. FLU_DRAG_TO_MOVE
  43. };
  44. /*! Callback reasons for FLU widgets that select stuff.
  45. Used by:
  46. Flu_Tree_Browser
  47. */
  48. enum {
  49. FLU_HILIGHTED,
  50. FLU_UNHILIGHTED,
  51. FLU_SELECTED,
  52. FLU_UNSELECTED,
  53. FLU_OPENED,
  54. FLU_CLOSED,
  55. FLU_DOUBLE_CLICK,
  56. FLU_WIDGET_CALLBACK,
  57. FLU_MOVED_NODE,
  58. FLU_NEW_NODE,
  59. FLU_NOTHING
  60. };
  61. #endif