Normand Briere
2019-04-28 f1c718cce66e5651a0dae91375db6ebfaded1a92
GroupEditor.java
....@@ -438,10 +438,16 @@
438438 oe.aConstraints.gridx = 0;
439439
440440 oe.toolbarPanel.add(liveCB = new cCheckBox("Live", Globals.isLIVE()), oe.aConstraints);
441
+ liveCB.setToolTipText("Enabled animation");
441442 liveCB.addItemListener(this);
442443
443444 oe.aConstraints.gridx += 1;
445
+ oe.toolbarPanel.add(fastCB = new cCheckBox("Fast", CameraPane.FAST), oe.aConstraints);
446
+ fastCB.setToolTipText("Fast mode");
447
+ fastCB.addItemListener(this);
448
+ oe.aConstraints.gridx += 1;
444449 oe.toolbarPanel.add(supportCB = new cCheckBox("Support", CameraPane.SUPPORT), oe.aConstraints);
450
+ supportCB.setToolTipText("Enabled rigging");
445451 supportCB.addItemListener(this);
446452
447453 // oe.aConstraints.gridx += 1;
....@@ -450,21 +456,26 @@
450456
451457 oe.aConstraints.gridx += 1;
452458 oe.toolbarPanel.add(crowdCB = new cCheckBox("Crowd", Globals.CROWD), oe.aConstraints);
459
+ crowdCB.setToolTipText("Used for crowds");
453460 crowdCB.addItemListener(this);
454461
455462 oe.aConstraints.gridx += 1;
456463 oe.toolbarPanel.add(smoothCB = new cCheckBox("Inertia", CameraPane.INERTIA), oe.aConstraints);
464
+ smoothCB.setToolTipText("Snapping delay");
457465 smoothCB.addItemListener(this);
458466
459467 oe.aConstraints.gridx += 1;
460
- oe.toolbarPanel.add(fastCB = new cCheckBox("Fast", CameraPane.FAST), oe.aConstraints);
461
- fastCB.addItemListener(this);
462
- oe.aConstraints.gridx += 1;
463468 oe.toolbarPanel.add(slowCB = new cCheckBox("Slow", CameraPane.SLOWPOSE), oe.aConstraints);
469
+ slowCB.setToolTipText("Smooth interpolation");
464470 slowCB.addItemListener(this);
465471 oe.aConstraints.gridx += 1;
466
- oe.toolbarPanel.add(boxCB = new cCheckBox("Box", CameraPane.FAST), oe.aConstraints);
472
+ oe.toolbarPanel.add(boxCB = new cCheckBox("Box", CameraPane.BOXMODE), oe.aConstraints);
473
+ boxCB.setToolTipText("Display bounding boxes");
467474 boxCB.addItemListener(this);
475
+ oe.aConstraints.gridx += 1;
476
+ oe.toolbarPanel.add(zoomBoxCB = new cCheckBox("Zoom", CameraPane.ZOOMBOXMODE), oe.aConstraints);
477
+ zoomBoxCB.setToolTipText("Display bounding boxes when moving the wheel");
478
+ zoomBoxCB.addItemListener(this);
468479
469480 // oe.aConstraints.gridx += 1;
470481 // oe.toolbarPanel.add(speakerMocapCB = new cCheckBox("Mocap", CameraPane.SPEAKERMOCAP), oe.aConstraints);
....@@ -491,19 +502,22 @@
491502 // debugCB.addItemListener(this);
492503
493504 oe.aConstraints.gridx += 1;
494
- oe.toolbarPanel.add(oeilCB = new cCheckBox("O", CameraPane.OEIL), oe.aConstraints);
505
+ oe.toolbarPanel.add(oeilCB = new cCheckBox("Eye", CameraPane.OEIL), oe.aConstraints);
495506 oeilCB.addItemListener(this);
496507
497508 oe.aConstraints.gridx += 1;
498
- oe.toolbarPanel.add(lookAtCB = new cCheckBox("T", CameraPane.LOOKAT), oe.aConstraints);
509
+ oe.toolbarPanel.add(lookAtCB = new cCheckBox("Target", CameraPane.LOOKAT), oe.aConstraints);
510
+ lookAtCB.setToolTipText("Look-at target");
499511 lookAtCB.addItemListener(this);
500512
501513 oe.aConstraints.gridx += 1;
502514 oe.toolbarPanel.add(trackCB = new cCheckBox(":", CameraPane.TRACK), oe.aConstraints);
515
+ trackCB.setToolTipText("Enable tracking");
503516 trackCB.addItemListener(this);
504517
505518 oe.aConstraints.gridx += 1;
506519 oe.toolbarPanel.add(screenfitButton = new cButton("@ ")); //, oe.aConstraints);
520
+ screenfitButton.setToolTipText("Screen fit");
507521 screenfitButton.addActionListener(this);
508522 oe.aConstraints.gridx += 1;
509523 // oe.toolbarPanel.add(screenfitpointButton = new cButton(" @+ ")); //, oe.aConstraints);
....@@ -511,6 +525,7 @@
511525 // oe.aConstraints.gridx += 1;
512526 oe.toolbarPanel.add(snapobjectButton = new cButton(" O+ ")); //, oe.aConstraints);
513527 snapobjectButton.addActionListener(this);
528
+ snapobjectButton.setToolTipText("Snap Object");
514529 oe.aConstraints.gridx += 1;
515530
516531 //aConstraints.gridx = 0;
....@@ -519,6 +534,7 @@
519534 oe.aConstraints.gridwidth = 1;
520535
521536 oe.toolbarPanel.add(flashSelectionButton = new cButton(" ? ")); //, oe.aConstraints);
537
+ flashSelectionButton.setToolTipText("Show selection");
522538 flashSelectionButton.addActionListener(this);
523539
524540 oe.toolbarPanel.add(new cButton(" ", false));
....@@ -529,21 +545,28 @@
529545
530546 //
531547 oe.toolbarPanel.add(twoButton = new cButton(" |+| ")); //, oe.aConstraints);
548
+ twoButton.setToolTipText("Show center view only");
532549 twoButton.addActionListener(this);
533550 oe.toolbarPanel.add(fourButton = new cButton("+|| ")); //, oe.aConstraints);
534551 fourButton.addActionListener(this);
552
+ fourButton.setToolTipText("Show left panel only");
535553 oe.toolbarPanel.add(sixButton = new cButton("+|+| ")); //, oe.aConstraints);
554
+ sixButton.setToolTipText("2-column layout left");
536555 sixButton.addActionListener(this);
537556 oe.toolbarPanel.add(threeButton = new cButton(" |+|+")); //, oe.aConstraints);
557
+ threeButton.setToolTipText("2-column layout right");
538558 threeButton.addActionListener(this);
539559 oe.toolbarPanel.add(sevenButton = new cButton("+|+|+")); //, oe.aConstraints);
560
+ sevenButton.setToolTipText("3-column layout");
540561 sevenButton.addActionListener(this);
541562 //
542563
543
- oe.toolbarPanel.add(rootButton = new cButton(" o o o E ")); //, oe.aConstraints);
564
+ oe.toolbarPanel.add(rootButton = new cButton(" o o o ")); //, oe.aConstraints);
565
+ rootButton.setToolTipText("Edit object in new tab");
544566 rootButton.addActionListener(this);
545567 oe.aConstraints.gridx += 1;
546568 oe.toolbarPanel.add(closeButton = new cButton(" X ")); //, oe.aConstraints);
569
+ closeButton.setToolTipText("Close tab");
547570 closeButton.addActionListener(this);
548571 //oe.treePanel.add(clearButton = new cButton("X"), oe.aConstraints);
549572 //clearButton.addActionListener(this);
....@@ -676,6 +699,7 @@
676699 JCheckBox fastCB;
677700 JCheckBox slowCB;
678701 JCheckBox boxCB;
702
+ JCheckBox zoomBoxCB;
679703 JCheckBox trackCB;
680704 JCheckBox smoothfocusCB;
681705 // JCheckBox speakerMocapCB;
....@@ -756,6 +780,10 @@
756780 cameraView.repaint();
757781 // refreshContents();
758782 }
783
+ else if(e.getSource() == zoomBoxCB)
784
+ {
785
+ cameraView.ToggleZoomBoxMode();
786
+ }
759787 else if(e.getSource() == smoothfocusCB)
760788 {
761789 cameraView.ToggleSmoothFocus();