File: Flu_Enumerations.h

package info (click to toggle)
drawxtl 5.4%2Bdfsg-5
  • links: PTS, VCS
  • area: main
  • in suites: squeeze
  • size: 10,004 kB
  • ctags: 1,988
  • sloc: cpp: 34,558; ansic: 2,271; makefile: 190; sh: 55
file content (71 lines) | stat: -rw-r--r-- 1,583 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
// $Id: Flu_Enumerations.h 672 2007-09-02 15:47:45Z Larry $

/***************************************************************
 *                FLU - FLTK Utility Widgets 
 *  Copyright (C) 2002 Ohio Supercomputer Center, Ohio State University
 *
 * This file and its content is protected by a software license.
 * You should have received a copy of this license with this file.
 * If not, please contact the Ohio Supercomputer Center immediately:
 * Attn: Jason Bryan Re: FLU 1224 Kinnear Rd, Columbus, Ohio 43212
 * 
 ***************************************************************/


#ifndef _FLU_ENUMERATIONS_H
#define _FLU_ENUMERATIONS_H

#include "flu_export.h"

/* these enums are all global to conform to the fltk standard */

/*! Selection modes for FLU widgets that select stuff.
  Used by:
  Flu_Tree_Browser
*/
enum {
  FLU_NO_SELECT,
  FLU_SINGLE_SELECT,
  FLU_MULTI_SELECT
};

/*! Data insertion modes for FLU widgets that insert stuff.
  Used by:
  Flu_Tree_Browser
*/
enum {
  FLU_INSERT_FRONT,
  FLU_INSERT_BACK,
  FLU_INSERT_SORTED,
  FLU_INSERT_SORTED_REVERSE
};

/*! Selection drag modes for FLU widgets that select stuff (used while the mouse is being dragged).
  Used by:
  Flu_Tree_Browser
*/
enum {
  FLU_DRAG_IGNORE,
  FLU_DRAG_TO_SELECT,
  FLU_DRAG_TO_MOVE
};

/*! Callback reasons for FLU widgets that select stuff.
  Used by:
  Flu_Tree_Browser
*/
enum {
  FLU_HILIGHTED,
  FLU_UNHILIGHTED,
  FLU_SELECTED,
  FLU_UNSELECTED,
  FLU_OPENED,
  FLU_CLOSED,
  FLU_DOUBLE_CLICK,
  FLU_WIDGET_CALLBACK,
  FLU_MOVED_NODE,
  FLU_NEW_NODE,
  FLU_NOTHING
};

#endif