Back to home page

EIC code displayed by LXR

 
 

    


File indexing completed on 2025-01-18 10:11:12

0001 /* @(#)root/base:$Id$ */
0002 
0003 /*************************************************************************
0004  * Copyright (C) 1995-2000, Rene Brun and Fons Rademakers.               *
0005  * All rights reserved.                                                  *
0006  *                                                                       *
0007  * For the licensing terms see $ROOTSYS/LICENSE.                         *
0008  * For the list of contributors see $ROOTSYS/README/CREDITS.             *
0009  *************************************************************************/
0010 
0011 #ifndef ROOT_Buttons
0012 #define ROOT_Buttons
0013 
0014 
0015 enum EEventType {
0016    kNoEvent       =  0,
0017    kButton1Down   =  1, kButton2Down   =  2, kButton3Down   =  3, kKeyDown  =  4,
0018    kWheelUp       =  5, kWheelDown     =  6, kButton1Shift  =  7, kButton1ShiftMotion  =  8,
0019    kButton1Up     = 11, kButton2Up     = 12, kButton3Up     = 13, kKeyUp    = 14,
0020    kButton1Motion = 21, kButton2Motion = 22, kButton3Motion = 23, kKeyPress = 24,
0021    kArrowKeyPress = 25, kArrowKeyRelease = 26,
0022    kButton1Locate = 41, kButton2Locate = 42, kButton3Locate = 43, kESC      = 27,
0023    kMouseMotion   = 51, kMouseEnter    = 52, kMouseLeave    = 53,
0024    kButton1Double = 61, kButton2Double = 62, kButton3Double = 63
0025 };
0026 
0027 enum EEditMode {
0028    kPolyLine  = 1,  kSPolyLine = 2,  kPolyGone  = 3,
0029    kSPolyGone = 4,  kBox       = 5,  kDelete    = 6,
0030    kPad       = 7,  kText      = 8,  kEditor    = 9,
0031    kExit      = 10, kPave      = 11, kPaveLabel = 12,
0032    kPaveText  = 13, kPavesText = 14, kEllipse   = 15,
0033    kArc       = 16, kLine      = 17, kArrow     = 18,
0034    kGraph     = 19, kMarker    = 20, kPolyMarker= 21,
0035    kPolyLine3D= 22, kWbox      = 23, kGaxis     = 24,
0036    kF1        = 25, kF2        = 26, kF3        = 27,
0037    kDiamond   = 28, kPolyMarker3D = 29, kButton = 101,
0038    kCutG      =100, kCurlyLine =200, kCurlyArc  = 201
0039 };
0040 
0041 #endif