Logo ROOT   6.30.04
Reference Guide
 All Namespaces Files Pages
Buttons.h
Go to the documentation of this file.
1 /* @(#)root/base:$Id$ */
2 
3 /*************************************************************************
4  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers. *
5  * All rights reserved. *
6  * *
7  * For the licensing terms see $ROOTSYS/LICENSE. *
8  * For the list of contributors see $ROOTSYS/README/CREDITS. *
9  *************************************************************************/
10 
11 #ifndef ROOT_Buttons
12 #define ROOT_Buttons
13 
14 
15 enum EEventType {
16  kNoEvent = 0,
17  kButton1Down = 1, kButton2Down = 2, kButton3Down = 3, kKeyDown = 4,
18  kWheelUp = 5, kWheelDown = 6, kButton1Shift = 7, kButton1ShiftMotion = 8,
19  kButton1Up = 11, kButton2Up = 12, kButton3Up = 13, kKeyUp = 14,
20  kButton1Motion = 21, kButton2Motion = 22, kButton3Motion = 23, kKeyPress = 24,
21  kArrowKeyPress = 25, kArrowKeyRelease = 26,
22  kButton1Locate = 41, kButton2Locate = 42, kButton3Locate = 43, kESC = 27,
23  kMouseMotion = 51, kMouseEnter = 52, kMouseLeave = 53,
24  kButton1Double = 61, kButton2Double = 62, kButton3Double = 63
25 };
26 
27 enum EEditMode {
28  kPolyLine = 1, kSPolyLine = 2, kPolyGone = 3,
29  kSPolyGone = 4, kBox = 5, kDelete = 6,
30  kPad = 7, kText = 8, kEditor = 9,
31  kExit = 10, kPave = 11, kPaveLabel = 12,
32  kPaveText = 13, kPavesText = 14, kEllipse = 15,
33  kArc = 16, kLine = 17, kArrow = 18,
34  kGraph = 19, kMarker = 20, kPolyMarker= 21,
35  kPolyLine3D= 22, kWbox = 23, kGaxis = 24,
36  kF1 = 25, kF2 = 26, kF3 = 27,
37  kDiamond = 28, kPolyMarker3D = 29, kButton = 101,
38  kCutG =100, kCurlyLine =200, kCurlyArc = 201
39 };
40 
41 #endif