| .. | .. | 
|---|
| 2437 | 2437 |          }); | 
|---|
| 2438 | 2438 |          presetpanel.add(shadowShader); | 
|---|
| 2439 | 2439 |           | 
|---|
 | 2440 | +        cLabel para0 = GetLabel("icons/shadericons/parallax0.png", !Globals.NIMBUSLAF);  | 
|---|
 | 2441 | +        para0.setToolTipText("No parallax");  | 
|---|
 | 2442 | +        para0.addMouseListener(new MouseAdapter()  | 
|---|
 | 2443 | +        {  | 
|---|
 | 2444 | +            public void mouseClicked(MouseEvent e)  | 
|---|
 | 2445 | +            {  | 
|---|
 | 2446 | +                parallaxField.setFloat(0.25);  | 
|---|
 | 2447 | +  | 
|---|
 | 2448 | +                materialtouched = true;  | 
|---|
 | 2449 | +                applySelf();  | 
|---|
 | 2450 | +            }  | 
|---|
 | 2451 | +        });  | 
|---|
 | 2452 | +        presetpanel.add(para0);  | 
|---|
 | 2453 | +          | 
|---|
 | 2454 | +        cLabel para1 = GetLabel("icons/shadericons/parallax1.png", !Globals.NIMBUSLAF);  | 
|---|
 | 2455 | +        para1.setToolTipText("With parallax");  | 
|---|
 | 2456 | +        para1.addMouseListener(new MouseAdapter()  | 
|---|
 | 2457 | +        {  | 
|---|
 | 2458 | +            public void mouseClicked(MouseEvent e)  | 
|---|
 | 2459 | +            {  | 
|---|
 | 2460 | +                parallaxField.setFloat(0.255);  | 
|---|
 | 2461 | +  | 
|---|
 | 2462 | +                materialtouched = true;  | 
|---|
 | 2463 | +                applySelf();  | 
|---|
 | 2464 | +            }  | 
|---|
 | 2465 | +        });  | 
|---|
 | 2466 | +        presetpanel.add(para1);  | 
|---|
 | 2467 | +          | 
|---|
 | 2468 | +        cLabel para2 = GetLabel("icons/shadericons/parallax2.png", !Globals.NIMBUSLAF);  | 
|---|
 | 2469 | +        para2.setToolTipText("Reset parallax");  | 
|---|
 | 2470 | +        para2.addMouseListener(new MouseAdapter()  | 
|---|
 | 2471 | +        {  | 
|---|
 | 2472 | +            public void mouseClicked(MouseEvent e)  | 
|---|
 | 2473 | +            {  | 
|---|
 | 2474 | +                parallaxField.setFloat(0.265);  | 
|---|
 | 2475 | +  | 
|---|
 | 2476 | +                materialtouched = true;  | 
|---|
 | 2477 | +                applySelf();  | 
|---|
 | 2478 | +            }  | 
|---|
 | 2479 | +        });  | 
|---|
 | 2480 | +        presetpanel.add(para2);  | 
|---|
 | 2481 | +          | 
|---|
| 2440 | 2482 |          cGridBag panel = new cGridBag().setVertical(true); | 
|---|
| 2441 | 2483 |           | 
|---|
| 2442 | 2484 |          presetpanel.preferredWidth = 1; | 
|---|