/[fenfire]/fenfire/org/fenfire/view/lava/Button.java
ViewVC logotype

Diff of /fenfire/org/fenfire/view/lava/Button.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by mudyc, Fri May 16 08:55:21 2003 UTC revision 1.2 by mudyc, Wed May 21 18:07:58 2003 UTC
# Line 36  public class Button { Line 36  public class Button {
36    
37      final private VobScene vs;      final private VobScene vs;
38      final private float scale;      final private float scale;
39      final private TextStyle style;      final static private TextStyle style =  GraphicsAPI.getInstance().
40                                         getTextStyle("sans", 0, 24);
41      final private int into;      final private int into;
42      final private float offset;      final private float offset;
43      private float x,y;      private float x,y;
44    
45      public Button(VobScene v, int into, TextStyle s,      public Button(VobScene v, int into,
46                    float x, float y, float offset) {                    float x, float y, float offset) {
47          vs = v;          vs = v;
         style = s;  
48          scale = style.getScaleByHeight(40);          scale = style.getScaleByHeight(40);
49          this.into = into;          this.into = into;
50          this.x=x; this.y=y;          this.x=x; this.y=y;

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26