示例#1
0
 /* Start & Update */
 void Start()
 {
     mainGUI            = this.GetComponent <GUIScript>();
     this.CurrentCursor = CURSOR.STANDARD;
     //    UpdateManager.OnUpdate += DoUpdate;
     UpdateManager.OnMouseUpdate += DoUpdate;
 }
示例#2
0
 /* Methods */
 private void SetCursor()
 {
     /* Check Cursor */
     if (MouseEvents.State.Hold)
     {
         this.CurrentCursor = CURSOR.CLICK;
     }
     else
     {
         CURSOR underMouse = CheckWhatIsUnderCursor();
         this.CurrentCursor = underMouse;
     }
 }
示例#3
0
文件: BtreeInt_h.cs 项目: BclEx/GpuEx
            internal MemPage[] Pages = new MemPage[BTCURSOR_MAX_DEPTH]; // Pages from root to current page
            internal void memset()
            {
                Next        = Prev = null;
                KeyInfo     = null;
                RootID      = 0;
                CachedRowID = 0;
                Info        = new CellInfo();
                WrFlag      = false;
                AtLast      = 0;
                ValidNKey   = false;
                State       = 0;
                KeyLength   = 0;
                Key         = null;
                SkipNext    = 0;
#if !OMIT_INCRBLOB
                IsIncrblobHandle = false;
                Overflows        = null;
#endif
                ID = 0;
            }
示例#4
0
        public MemPage[] apPage = new MemPage[BTCURSOR_MAX_DEPTH]; // Pages from root to current page

        public void Clear()
        {
            pNext       = null;
            pPrev       = null;
            pKeyInfo    = null;
            pgnoRoot    = 0;
            cachedRowid = 0;
            info        = new CellInfo();
            wrFlag      = 0;
            atLast      = 0;
            validNKey   = false;
            eState      = 0;
            pKey        = null;
            nKey        = 0;
            skipNext    = 0;
#if !SQLITE_OMIT_INCRBLOB
            isIncrblobHandle = false;
            aOverflow        = null;
#endif
            iPage = 0;
        }
示例#5
0
        public bool isIncrblobHandle; // True if this cursor is an incr. io handle

        #endif

        #region Methods

        public void Clear()
        {
            pNext = null;
            pPrev = null;
            pKeyInfo = null;
            pgnoRoot = 0;
            cachedRowid = 0;
            info = new CellInfo();
            wrFlag = 0;
            atLast = 0;
            validNKey = false;
            eState = 0;
            pKey = null;
            nKey = 0;
            skipNext = 0;
            #if !SQLITE_OMIT_INCRBLOB
            isIncrblobHandle = false;
            aOverflow = null;
            #endif
            iPage = 0;
        }
示例#6
0
文件: Read.cs 项目: Neo4Net/Neo4Net
 public abstract void NodeIndexSeekWithFreshIndexReader(CURSOR cursor, IndexReader indexReader, params IndexQuery.ExactPredicate[] predicates);
示例#7
0
            internal MemPage[] Pages = new MemPage[BTCURSOR_MAX_DEPTH]; // Pages from root to current page
            internal void memset()
            {
                Next = Prev = null;
                KeyInfo = null;
                RootID = 0;
                CachedRowID = 0;
                Info = new CellInfo();
                WrFlag = false;
                AtLast = 0;
                ValidNKey = false;
                State = 0;
                KeyLength = 0;
                Key = null;
                SkipNext = 0;
#if !OMIT_INCRBLOB
                IsIncrblobHandle = false;
                Overflows = null;
#endif
                ID = 0;
            }
示例#8
0
 /* Start & Update */
 void Start()
 {
     mainGUI = this.GetComponent<GUIScript>();
     this.CurrentCursor = CURSOR.STANDARD;
 //    UpdateManager.OnUpdate += DoUpdate;
     UpdateManager.OnMouseUpdate += DoUpdate;
 }
示例#9
0
 /* Methods */
 private void SetCursor()
 {
     /* Check Cursor */
     if (MouseEvents.State.Hold)
     {
         this.CurrentCursor = CURSOR.CLICK;
     }
     else
     {
         CURSOR underMouse = CheckWhatIsUnderCursor();
         this.CurrentCursor = underMouse;
     }
 }