public override void init() { mTimeStartPos = mTimeStart.getPosition(); mTimeEndPos = mTimeRoot.getPosition(); mMin.setDockingPosition(DOCKING_POSITION.DP_LEFT); mMin.setDockingPosition(DOCKING_POSITION.DP_RIGHT); }
public override void init() { // 得到所有的位置 mBackgroundStartPos = mBackgroundStart.getPosition(); mBackgroundEndPos = mBackgroundEnd.getPosition(); mLabelAndSoundStartPos = mLabelAndSoundStart.getPosition(); mLabelAndSoundEndPos = mLabelAndSoundEnd.getPosition(); mLayout.setScriptControlHide(true); }
public void init() { mOriginPosition = mProp.getPosition(); mOriginScale = mProp.getScale(); mOriginPropDepth = mProp.getDepth(); mOriginBackgroundDepth = mBackground.getDepth(); mOriginLabelDepth = mLabel.getDepth(); mOriginIconDepth = mIcon.getDepth(); }
public void init() { mOriginPosition = mTrack.getPosition(); mOriginScale = mTrack.getScale(); mOriginTrackDepth = mTrack.getDepth(); mOriginCheckedDepth = mChecked.getDepth(); mOriginLabelDepth = mLabel.getDepth(); mOriginTextureDepth = mTexture.getDepth(); }
public override void init() { mTrackStartPos = mTrackStart.getPosition(); mTrackEndPos = mTrackRoot.getPosition(); mBackgroundSize = mBackgroundRoot.getWindowSize(); mPlayerBackgroundSize = mPlayerBackground.getWindowSize(); int count = mLapDividedPos.Length; for (int i = 0; i < count; ++i) { mLapDividedPos[i] = mLapDivided[i].getPosition(); } }
public override void init() { mLayout.setScriptControlHide(true); int trackCount = mTrackList.Count; for (int i = 0; i < trackCount; ++i) { mTrackList[i].init(); } trackCount = mTrackList.Count; for (int i = 0; i < trackCount; ++i) { mTrackList[i].setControlValueOffset((float)i / trackCount); } mTrackRootStartPos = mTrackRootStart.getPosition(); mTrackRootEndPos = mTrackRoot.getPosition(); }