Normand Briere
2019-08-28 547c9203ab5d8e4bee36d1cbb453dfa36bbec4ef
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
 
/**
 *
 * @author nbriere
 */
public class cRadio extends javax.swing.JRadioButton
{
    cRadio(String name)
    {
        super(name);
        
        //setBorder(new javax.swing.border.EmptyBorder(0,0,0,0));
        setBorder(new javax.swing.border.EtchedBorder());
    }
    
    Object3D GetObject()
    {
        return object;
    }
    
    void SetObject(Object3D o)
    {
        object = o;
    }
    
    void SetCamera(Camera c, boolean link)
    {
        if (link)
            camera = c;
        else
            camera = (Camera)Grafreed.clone(c);
    }
    
    //byte[] versions[] = new byte[100][];
    //boolean[] user = new boolean[100];
    
    //int versionindex = -1;
    
    // Patch to avoid bug with transparency.
    boolean hadMaterial;
    
    Object3D object;
    Camera camera;
    cButton layout;
}