source: trunk/src/org/expeditee/gio/gesture/data/ChangeColourGestureData.java

Last change on this file was 1532, checked in by bnemhaus, 4 years ago

New feature: when creating a frameset, if the item being used is linked and you hold shift, it will use the items on the linked frame to populate the zero frame of the new frameset

File size: 801 bytes
Line 
1package org.expeditee.gio.gesture.data;
2
3public class ChangeColourGestureData extends ItemSpecificGestureData {
4
5 private boolean _setTransparent;
6 private boolean _setSecondaryColour;
7
8 public ChangeColourGestureData(boolean setTransparent, boolean setSecondaryColour)
9 {
10 super(false);
11 _setTransparent = setTransparent;
12 _setSecondaryColour = setSecondaryColour;
13 }
14
15 public ChangeColourGestureData(ChangeColourGestureData other)
16 {
17 super(other);
18 _setTransparent = other._setTransparent;
19 _setSecondaryColour = other._setSecondaryColour;
20 }
21
22 public boolean shouldSetTransparent()
23 {
24 return _setTransparent;
25 }
26
27 public boolean shouldSetSecondaryColour()
28 {
29 return _setSecondaryColour;
30 }
31
32 @Override
33 public GestureData clone()
34 {
35 return new ChangeColourGestureData(this);
36 }
37}
Note: See TracBrowser for help on using the repository browser.