long time;
if (manager.getBookmarksCount('CONCERT')<1) {
manager.moveToX("F:РM_POPUP_BOOKMARKS.Marker", -14);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark1", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark2", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark3", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark4", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark5", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark6", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark7", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark8", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark9", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark10", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark11", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark12", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark13", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark14", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark15", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark16", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark17", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark18", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark19", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark20", -9);
}
if (manager.getBookmarksCount('CONCERT')==1) {
time = manager.getBookmarkTime('CONCERT', 1);
time = time / 1000000000L * 1245 / 6208 + 337;
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark1", (int)time);
time = manager.currentBookmarkTime('CONCERT');
time = time / 1000000000L * 1245 / 6208 + 332;
manager.moveToX("F:РM_POPUP_BOOKMARKS.Marker", (int)time);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark2", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark3", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark4", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark5", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark6", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark7", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark8", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark9", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark10", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark11", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark12", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark13", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark14", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark15", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark16", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark17", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark18", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark19", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark20", -9);
}
if (manager.getBookmarksCount('CONCERT')==2) {
time = manager.getBookmarkTime('CONCERT', 1);
time = time / 1000000000L * 1245 / 6208 + 337;
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark1", (int)time);
time = manager.getBookmarkTime('CONCERT', 2);
time = time / 1000000000L * 1245 / 6208 + 337;
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark2", (int)time);
time = manager.currentBookmarkTime('CONCERT');
time = time / 1000000000L * 1245 / 6208 + 332;
manager.moveToX("F:РM_POPUP_BOOKMARKS.Marker", (int)time);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark3", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark4", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark5", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark6", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark7", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark8", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark9", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark10", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark11", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark12", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark13", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark14", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark15", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark16", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark17", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark18", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark19", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark20", -9);
}
if (manager.getBookmarksCount('CONCERT')==3) {
time = manager.getBookmarkTime('CONCERT', 1);
time = time / 1000000000L * 1245 / 6208 + 337;
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark1", (int)time);
time = manager.getBookmarkTime('CONCERT', 2);
time = time / 1000000000L * 1245 / 6208 + 337;
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark2", (int)time);
time = manager.getBookmarkTime('CONCERT', 3);
time = time / 1000000000L * 1245 / 6208 + 337;
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark3", (int)time);
time = manager.currentBookmarkTime('CONCERT');
time = time / 1000000000L * 1245 / 6208 + 332;
manager.moveToX("F:РM_POPUP_BOOKMARKS.Marker", (int)time);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark4", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark5", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark6", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark7", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark8", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark9", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark10", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark11", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark12", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark13", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark14", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark15", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark16", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark17", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark18", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark19", -9);
manager.moveToX("F:РM_POPUP_BOOKMARKS.bookmark20", -9);
.....
[свернуть]