public void Release() { ClickStatus = CLICK_STATUS.RELEASING; if (OnReleaseEvent != null) { OnReleaseEvent(); } }
public void Drag() { ClickStatus = CLICK_STATUS.DRAGGING; if (OnDragEvent != null) { OnDragEvent(); } }
public void Click() { ClickStatus = CLICK_STATUS.CLICKING; if (OnClickEvent != null) { OnClickEvent(); } }
public void OnClick(View v) { CLICK_STATUS status = MustGoBack ? CLICK_STATUS.GO_BACK : CLICK_STATUS.OPEN_MENU; //if (Enabled) { if (MustGoBack) { _layout.CloseDrawers(); } else { _layout.OpenDrawer(GravityCompat.Start); } _callback(status); //} }
public void Hover() { ClickStatus = CLICK_STATUS.HOVERING; }
public ClickContainer(MOUSE_BUTTON mb) { MouseButton = mb; ClickStatus = CLICK_STATUS.HOVERING; }