.. | .. |
---|
41 | 41 | super.SetupUI2(oe); // Shows composite UI !! |
---|
42 | 42 | //super.SetupName(oe); |
---|
43 | 43 | |
---|
44 | | - oe.aConstraints.weighty = 0; |
---|
45 | | - |
---|
46 | | - oe.aConstraints.gridwidth = 1; |
---|
47 | | - oe.aConstraints.fill = GridBagConstraints.HORIZONTAL; |
---|
48 | | - oe.aConstraints.gridwidth = 1; |
---|
49 | | - oe.aConstraints.anchor = GridBagConstraints.WEST; |
---|
50 | | - oe.ctrlPanel.add(cleardepth = new JCheckBox("Clear Depth", attribute.cleardepth), oe.aConstraints, oe.ctrlPanel.getComponentCount() - 2); |
---|
51 | | - oe.aConstraints.gridx += 1; |
---|
| 44 | +// oe.aConstraints.weighty = 0; |
---|
| 45 | +// |
---|
| 46 | +// oe.aConstraints.gridwidth = 1; |
---|
| 47 | +// oe.aConstraints.fill = GridBagConstraints.HORIZONTAL; |
---|
| 48 | +// oe.aConstraints.gridwidth = 1; |
---|
| 49 | +// oe.aConstraints.anchor = GridBagConstraints.WEST; |
---|
| 50 | + oe.ctrlPanel.add(cleardepth = new JCheckBox("Clear Depth", attribute.cleardepth)); //, oe.aConstraints, oe.ctrlPanel.getComponentCount() - 2); |
---|
| 51 | + |
---|
| 52 | + oe.ctrlPanel.Return(); |
---|
| 53 | +// oe.aConstraints.gridx += 1; |
---|
52 | 54 | // oe.ctrlPanel.add(passtest = new JCheckBox("Write depth", attribute.passtest), oe.aConstraints, oe.ctrlPanel.getComponentCount() - 2); |
---|
53 | 55 | // oe.aConstraints.gridx += 1; |
---|
54 | | - oe.ctrlPanel.add(passtest = new JCheckBox("Pass Test", attribute.passtest), oe.aConstraints, oe.ctrlPanel.getComponentCount() - 2); |
---|
55 | | - oe.aConstraints.gridx += 1; |
---|
56 | | - oe.ctrlPanel.add(backfacecull = new JCheckBox("Backface Cull", attribute.backfacecull), oe.aConstraints, oe.ctrlPanel.getComponentCount() - 2); |
---|
57 | | - oe.aConstraints.gridx += 1; |
---|
| 56 | + oe.ctrlPanel.add(passtest = new JCheckBox("Pass Test", attribute.passtest)); //, oe.aConstraints, oe.ctrlPanel.getComponentCount() - 2); |
---|
| 57 | + oe.ctrlPanel.Return(); |
---|
| 58 | +// oe.aConstraints.gridx += 1; |
---|
| 59 | + oe.ctrlPanel.add(backfacecull = new JCheckBox("Backface Cull", attribute.backfacecull)); //, oe.aConstraints, oe.ctrlPanel.getComponentCount() - 2); |
---|
| 60 | + oe.ctrlPanel.Return(); |
---|
| 61 | +// oe.aConstraints.gridx += 1; |
---|
58 | 62 | |
---|
59 | 63 | cleardepth.addItemListener(this); |
---|
60 | 64 | passtest.addItemListener(this); |
---|